42 virtual const char*
type()
const;
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
Definition: timeKeeperCmpt.h:24
const char TimeKeeperComponentType[]
Definition: timeKeeperCmpt.h:22
Definition: timeKeeperDescriptor.h:16
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
DtTimeKeeperDescriptor * myDescriptor
Definition: timeKeeperCmpt.h:64
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
DtTimeKeeperComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=0)
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtTimeKeeperComponent & operator=(const DtTimeKeeperComponent &orig)
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
VRF4API_METHOD const DtSimulationServices * simManager() const
This is the deprecated API that can be used as a reference to migrate 4.X code to 5...
Definition: simComponent.h:566
Contains the DtSimComponent class declaration.
DtTimeKeeperPSR * myProcessState
Definition: timeKeeperCmpt.h:68
virtual ~DtTimeKeeperComponent()
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
Definition: timeKeeperPSR.h:19
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86