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

List of all members.

Public Member Functions

 MyActuatorComponent (const DtString &name, DtVrfObject *object, DtSimManager *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry=0)
virtual ~MyActuatorComponent ()
virtual bool init ()
 Calls createPSR() to create our process state repository.
virtual DtString type () const
 Returns a string identifies the class type of component.
virtual void tick ()
 Calculate new kinematic state.

Static Public Member Functions

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

Constructor & Destructor Documentation

MyActuatorComponent::MyActuatorComponent ( const DtString name,
DtVrfObject object,
DtSimManager simManager,
DtComponentDescriptor compDescriptor,
DtReaderWriterRegistry parentRegistry = 0 
)

Member Function Documentation

virtual bool MyActuatorComponent::init ( ) [virtual]

Calls createPSR() to create our process state repository.

Reimplemented from DtAutomotiveActuatorComponent.

virtual DtString MyActuatorComponent::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.

Returns:
DtAutomotiveActuatorType

Reimplemented from DtAutomotiveActuatorComponent.

virtual void MyActuatorComponent::tick ( ) [virtual]

Calculate new kinematic state.

Reimplemented from DtAutomotiveActuatorComponent.

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

(const DtString&,DtVrfObject*,DtSimManager*,

Parameters:
nameReader writer name of this component.
ownerThe DtVrfObject that owns this component
simManagerThe simulation manager (provides access to terrain, message interface, simulation clock).
descThe component descriptor used to initialize this component.
parentRegistryPointer to the parent reader writer registry (the containing object that reads/writes this object).
(const DtString&,DtVrfObject*,DtSimManager*, DtComponentDescriptor*,DtReaderWriterRegistry* parentRegistry)

Returns:
New instance of this class.

Reimplemented from DtAutomotiveActuatorComponent.


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)