In file /home/blah/darwin2k/src/dyno/mechanism/dyno.h:

class dynoObject

base class for objects that interact with a dynamicSystem, such as dynoInfluences, dynoConstraints, dynoTimers, and dynoComponents.

Inheritance:


Public Fields

[more]dynamicSystem* ds
the dynamicSystem to which the object belongs
[more]int active
indicates whether the object is active
[more]int stateSize
the number of doubles required for any state variables that must be saved or restored.

Public Methods

[more]inline dynoObject(void)
constructor.
[more]inline virtual int getState(double* state)
copies stateSize doubles into 'state'
[more]inline virtual int setState(const double* state)
copies state info from the stateSize doubles in 'state'
[more]inline virtual int reset(void)
resets any state for a simulation restart


Inherited from synObject:

Public Fields

ostatic int staticClassID
oint objectID
oint verboseLevel

Public Methods

ovirtual const char* className(void) const
ovirtual synObject* copy(void) const
ovirtual int isOfType(int typeNum, int derivedOk)
ostatic int setStaticClassID(void)
ovirtual 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.
odynamicSystem* ds
the dynamicSystem to which the object belongs

oint active
indicates whether the object is active

oint 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.

oinline dynoObject(void)
constructor.

oinline virtual int getState(double* state)
copies stateSize doubles into 'state'

oinline virtual int setState(const double* state)
copies state info from the stateSize doubles in 'state'

oinline 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++.