41 virtual const char*
type()
const;
virtual void tick()
This gives the thread of control to the component.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtSimManager * simManager()
Gets the sim manager.
Definition: simComponent.h:408
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
Definition: timeKeeperCmpt.h:23
const char TimeKeeperComponentType[]
Definition: timeKeeperCmpt.h:21
Definition: timeKeeperDescriptor.h:16
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
DtTimeKeeperDescriptor * myDescriptor
Definition: timeKeeperCmpt.h:63
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
DtTimeKeeperComponent(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=0)
virtual const char * type() const
Returns a string identifies the class type of component.
DtTimeKeeperComponent & operator=(const DtTimeKeeperComponent &orig)
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtTimeKeeperPSR * myProcessState
Definition: timeKeeperCmpt.h:67
virtual ~DtTimeKeeperComponent()
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
Definition: timeKeeperPSR.h:23