42 virtual const char*
type()
const override;
45 virtual bool init()
override;
55 virtual void tick()
override;
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void tick() override
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
DtTimeKeeperDescriptor * myDescriptor
Definition: timeKeeperCmpt.h:64
virtual bool init() override
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
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)
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
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:583
Contains the DtSimComponent class declaration.
virtual ~DtTimeKeeperComponent() override
DtTimeKeeperPSR * myProcessState
Definition: timeKeeperCmpt.h:68
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
Definition: timeKeeperPSR.h:19
A locally simulated VRF object.
Definition: localObject.h:98