virtual void processMoveToTask(DtSimMessage *msg)
const DerivedMoveToController & operator=(const DerivedMoveToController &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
Definition: readerWriterRegistry.h:39
DerivedMoveToController()
DtGroundMoveToControllerComponent is a controller that models movement to a waypoint for ground entit...
Definition: groundMoveToControllerComponent.h:37
File: simMsg.h.
Definition: simMessage.h:35
virtual ~DerivedMoveToController()
Definition: derivedMoveToController.h:38
virtual bool decideToGiveUpTask() const
Checks to see if destination is inside an obstruction. If it is, returns true. Otherwise it returns t...
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
DtTime myTimeToGiveUp
Definition: derivedMoveToController.h:93
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 void giveUpTask()
Called when controller is tasked and decideToGiveUp() returns true. Base class implementation calls c...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=NULL)
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
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