In file /home/blah/darwin2k/src/dyno/mechanism/dyno.h:base class for objects that interact with a dynamicSystem, such as dynoInfluences, dynoConstraints, dynoTimers, and dynoComponents.
Inheritance:
Public Fields
-
dynamicSystem* ds
- the dynamicSystem to which the object belongs
-
int active
- indicates whether the object is active
-
int stateSize
- the number of doubles required for any state variables that must be saved or restored.
Public Methods
-
inline dynoObject(void)
- constructor.
-
inline virtual int getState(double* state)
- copies stateSize doubles into 'state'
-
inline virtual int setState(const double* state)
- copies state info from the stateSize doubles in 'state'
-
inline virtual int reset(void)
- resets any state for a simulation restart
Public Fields
-
static int staticClassID
-
int objectID
-
int verboseLevel
Public Methods
-
virtual const char* className(void) const
-
virtual synObject* copy(void) const
-
virtual int isOfType(int typeNum, int derivedOk)
-
static int setStaticClassID(void)
-
virtual int classID(void) const
Documentation
base class for objects that interact with a dynamicSystem, such as
dynoInfluences, dynoConstraints, dynoTimers, and dynoComponents.
A dynamicSystem must be supplied to the constructor, and the dynoObject
will be automatically deleted by the dynamicSystem when the dynamicSystem
is deleted. To enforce this, the destructor is a protected method, so
dynoObjects cannot be created except by the new operator.
- dynamicSystem* ds
- the dynamicSystem to which the object belongs
- int active
- indicates whether the object is active
- int stateSize
- the number of doubles required for any state variables that must
be saved or restored. Normally, this is 0. dynoObjects should
not change their stateSize after being added to the dynamicSystem.
- inline dynoObject(void)
- constructor.
- inline virtual int getState(double* state)
- copies stateSize doubles into 'state'
- inline virtual int setState(const double* state)
- copies state info from the stateSize doubles in 'state'
- inline virtual int reset(void)
- resets any state for a simulation restart
- Direct child classes:
- dynoLimiter
dynoInfluence
constraint
dynoTimer
dynoComponent
- Friends:
- dynamicSystem
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.