#include <Stage.h>
Constants look like Stage::Position, and loops can be written like for(Stage s=StageLowest; s <= Stage::Highest; ++s) ... Stage constants (of type Stage::Num) are implicitly converted to type Stage when necessary.
Public Types | |
enum | Num { EmptyIndex = 0, TopologyIndex = 1, ModelIndex = 2, InstanceIndex = 3, TimeIndex = 4, PositionIndex = 5, VelocityIndex = 6, DynamicsIndex = 7, AccelerationIndex = 8, ReportIndex = 9 } |
Public Member Functions | |
Stage | next () const |
Stage | prev () const |
void | invalidate (Stage tooHigh) |
bool | isInRuntimeRange () const |
Static Public Attributes | |
static const Stage | Empty |
static const Stage | Topology |
static const Stage | Model |
static const Stage | Instance |
static const Stage | Time |
static const Stage | Position |
static const Stage | Velocity |
static const Stage | Dynamics |
static const Stage | Acceleration |
static const Stage | Report |
static const Stage | LowestValid |
static const Stage | HighestValid |
static const int | NValid = ReportIndex-EmptyIndex+1 |
static const Stage | LowestRuntime |
static const Stage | HighestRuntime |
static const int | NRuntime = ReportIndex-ModelIndex+1 |
Friends | |
class | Enumeration< Stage > |
enum Num |
Stage next | ( | ) | const [inline] |
Stage prev | ( | ) | const [inline] |
Referenced by Stage::invalidate().
void invalidate | ( | Stage | tooHigh | ) | [inline] |
References Enumeration::getIndex(), and Stage::prev().
bool isInRuntimeRange | ( | ) | const [inline] |
References Stage::HighestRuntime, and Stage::LowestRuntime.
friend class Enumeration< Stage > [friend] |
Referenced by OLDRungeKuttaMerson::step(), OLDExplicitEuler::step(), and OLDCPodesIntegrator::step().
Referenced by CPodesMultibodySystem::constraint(), OLDCPodesIntegrator::initialize(), and OLDExplicitEuler::step().
const Stage Acceleration [static] |
const Stage LowestValid [static] |
const Stage HighestValid [static] |
Referenced by SimTK::SimTK_DEFINE_UNIQUE_INDEX_TYPE().
const int NValid = ReportIndex-EmptyIndex+1 [static] |
const Stage LowestRuntime [static] |
Referenced by Stage::isInRuntimeRange().
const Stage HighestRuntime [static] |
Referenced by Stage::isInRuntimeRange().
const int NRuntime = ReportIndex-ModelIndex+1 [static] |