66 virtual const char*
type()
const;
static void userTaskCallback(DtSimMessage *msg, void *usr)
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void processUserTask(DtSimMessage *msg)
virtual double fuelLeft() const
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
DtSimManager * simManager()
Gets the sim manager.
Definition: simComponent.h:408
DtRetreatController & operator=(const DtRetreatController &orig)
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
virtual ~DtRetreatController()
Definition: readerWriterRegistry.h:39
Definition: retreatCtrl.h:47
const char TestRetreatControllerType[]
Definition: retreatCtrl.h:45
static void retreatTaskCallback(DtSimMessage *msg, void *usr)
DtRetreatController(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=0)
bool myHoldGround
Definition: retreatCtrl.h:106
virtual void registerTaskMsgCallbacks()
DtReal myCurrentHeading
Definition: retreatCtrl.h:104
File: simMsg.h.
Definition: simMessage.h:35
virtual void processRetreatTask(DtSimMessage *msg)
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
virtual const char * type() const
Returns a string identifies the class type of component.
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
virtual double getHeading()
DtGroundAutoControllerComponent is a base controller that holds capabilitites common to all automotiv...
Definition: groundAutoControllerComponent.h:33
virtual void tick()
This gives the thread of control to the component.