VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtTimeKeeperComponent Class Reference
Inheritance diagram for DtTimeKeeperComponent:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTimeKeeperComponent (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=0)
virtual ~DtTimeKeeperComponent ()
 DtTimeKeeperComponent (const DtTimeKeeperComponent &orig)
DtTimeKeeperComponentoperator= (const DtTimeKeeperComponent &orig)
virtual DtString type () const
 Returns a string identifies the class type of component.
virtual bool init ()
 Calls createPorts and createPortGroups Initializes myLastTickSimTime.
virtual bool createPSR ()
virtual void tick ()
 This gives the thread of control to the component.

Static Public Member Functions

static DtSimComponentcreator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)

Protected Attributes

DtTimeKeeperPSRmyProcessState

Constructor & Destructor Documentation

DtTimeKeeperComponent::DtTimeKeeperComponent ( const DtString name,
DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor desc = NULL,
DtReaderWriterRegistry parentRegistry = 0 
)

Member Function Documentation

DtTimeKeeperComponent& DtTimeKeeperComponent::operator= ( const DtTimeKeeperComponent orig)
virtual DtString DtTimeKeeperComponent::type ( ) const [virtual]

Returns a string identifies the class type of component.

Type values are defined in compTypes.h. DtSimComponent creation functions are registered with the DtSimComponentFactory using the type values as the key.

Reimplemented from DtSimComponent.

virtual bool DtTimeKeeperComponent::init ( ) [virtual]

Calls createPorts and createPortGroups Initializes myLastTickSimTime.

Reimplemented from DtSimComponent.

virtual bool DtTimeKeeperComponent::createPSR ( ) [virtual]
virtual void DtTimeKeeperComponent::tick ( ) [virtual]

This gives the thread of control to the component.

The component is ticked once each simulation from by the component list it's on. This base class tick has no functionality.

Reimplemented from DtSimComponent.

static DtSimComponent* DtTimeKeeperComponent::creator ( const DtString name,
DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor desc,
DtReaderWriterRegistry parentRegistry 
) [static]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)