66 virtual const char*
type()
const override;
90 virtual void tick()
override;
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 void tick() override
This gives the thread of control to the component. The component is ticked once each simulation from ...
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 const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
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)
virtual void registerTaskMsgCallbacks() override
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
virtual ~DtRetreatController() override
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.
Definition: localObject.h:98