Simbody  3.6
Stage.h File Reference

Go to the source code of this file.

Classes

class  SimTK::Stage
 This class is basically a glorified enumerated type, type-safe and range checked but permitting convenient (if limited) arithmetic. More...
 
class  SimTK::Exception::RealizeTopologyMustBeCalledFirst
 
class  SimTK::Exception::StateAndSystemTopologyVersionsMustMatch
 
class  SimTK::Exception::StageTooLow
 
class  SimTK::Exception::StageIsWrong
 
class  SimTK::Exception::StageTooHigh
 
class  SimTK::Exception::StageOutOfRange
 
class  SimTK::Exception::CacheEntryOutOfDate
 
class  SimTK::Exception::RealizeCheckFailed
 

Namespaces

 SimTK
 This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.
 
 SimTK::Exception
 This sub-namespace of SimTK is used for the exception types that are thrown by our error handing code.
 

Macros

#define SimTK_REALIZECHECK_ALWAYS(cond, stage, subsysIx, subsysName, msg)
 
#define SimTK_REALIZECHECK1_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1)
 
#define SimTK_REALIZECHECK2_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2)
 
#define SimTK_REALIZECHECK3_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2, a3)
 
#define SimTK_REALIZECHECK4_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2, a3, a4)
 
#define SimTK_REALIZECHECK5_ALWAYS(cond, stage, subsysIx, subsysName, msg, a1, a2, a3, a4, a5)
 

Typedefs

typedef long long SimTK::StageVersion
 This is the type to use for Stage version numbers that get incremented whenever a state variable change invalidates a Stage. More...
 
typedef long long SimTK::ValueVersion
 This is the type to use for state variable version numbers that get incremented whenever a state value changes. More...
 

Functions

std::ostream & SimTK::operator<< (std::ostream &o, Stage g)
 

Macro Definition Documentation

◆ SimTK_REALIZECHECK_ALWAYS

#define SimTK_REALIZECHECK_ALWAYS (   cond,
  stage,
  subsysIx,
  subsysName,
  msg 
)
Value:
(stage),(subsysIx),(subsysName),(msg)); \
}while(false)
#define SimTK_THROW4(exc, a1, a2, a3, a4)
Definition: Exception.h:322

◆ SimTK_REALIZECHECK1_ALWAYS

#define SimTK_REALIZECHECK1_ALWAYS (   cond,
  stage,
  subsysIx,
  subsysName,
  msg,
  a1 
)
Value:
(stage),(subsysIx),(subsysName),(msg),(a1)); \
}while(false)
#define SimTK_THROW5(exc, a1, a2, a3, a4, a5)
Definition: Exception.h:324

◆ SimTK_REALIZECHECK2_ALWAYS

#define SimTK_REALIZECHECK2_ALWAYS (   cond,
  stage,
  subsysIx,
  subsysName,
  msg,
  a1,
  a2 
)
Value:
(stage),(subsysIx),(subsysName),(msg),(a1),(a2)); \
}while(false)
#define SimTK_THROW6(exc, a1, a2, a3, a4, a5, a6)
Definition: Exception.h:326

◆ SimTK_REALIZECHECK3_ALWAYS

#define SimTK_REALIZECHECK3_ALWAYS (   cond,
  stage,
  subsysIx,
  subsysName,
  msg,
  a1,
  a2,
  a3 
)
Value:
(stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3)); \
}while(false)
#define SimTK_THROW7(exc, a1, a2, a3, a4, a5, a6, a7)
Definition: Exception.h:328

◆ SimTK_REALIZECHECK4_ALWAYS

#define SimTK_REALIZECHECK4_ALWAYS (   cond,
  stage,
  subsysIx,
  subsysName,
  msg,
  a1,
  a2,
  a3,
  a4 
)
Value:
(stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3),(a4)); \
}while(false)
#define SimTK_THROW8(exc, a1, a2, a3, a4, a5, a6, a7, a8)
Definition: Exception.h:330

◆ SimTK_REALIZECHECK5_ALWAYS

#define SimTK_REALIZECHECK5_ALWAYS (   cond,
  stage,
  subsysIx,
  subsysName,
  msg,
  a1,
  a2,
  a3,
  a4,
  a5 
)
Value:
(stage),(subsysIx),(subsysName),(msg),(a1),(a2),(a3),(a4),(a5)); \
}while(false)
#define SimTK_THROW9(exc, a1, a2, a3, a4, a5, a6, a7, a8, a9)
Definition: Exception.h:332