66 virtual const char*
type()
const;
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
static void userTaskCallback(DtSimMessage *msg, void *usr)
virtual void processUserTask(DtSimMessage *msg)
virtual double fuelLeft() const
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:49
virtual ~DtRetreatController()
Definition: readerWriterRegistry.h:39
Definition: retreatCtrl.h:47
const char TestRetreatControllerType[]
Definition: retreatCtrl.h:45
static void retreatTaskCallback(DtSimMessage *msg, void *usr)
bool myHoldGround
Definition: retreatCtrl.h:106
virtual void registerTaskMsgCallbacks()
DtReal myCurrentHeading
Definition: retreatCtrl.h:104
File: simMsg.h.
Definition: simMessage.h:35
DtRetreatController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=0)
virtual void processRetreatTask(DtSimMessage *msg)
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
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:574
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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:34
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
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...