44 DtImplementAsMoveIntoFormation = 0,
45 DtImplementAsMoveAlongRoute
46 } DtSubtaskImplementation;
60 virtual const char*
type()
const;
70 static void moveToLocationTaskCallback(
DtSimMessage * msg,
void * usr);
74 static void taskCompleteReportCallback(
DtSimMessage * msg,
void * usr);
96 virtual bool createPSR();
115 DtSubtaskImplementation chooseSubtaskImplementation(
116 const DtVector& geocDestination)
const;
124 virtual void moveIntoFormation(
const DtVector& geocDestination);
131 void moveAlongRoute(
const DtVector& geocDestination);
140 virtual bool calcRouteStartingPoint(
const DtVector& geocEndPoint,
145 virtual DtString generateWorkingRouteName()
const;
149 virtual bool publishFormationRoutes()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtAggregateMoveToLocationPSR * myProcessState
Container for state data associated with this component.
Definition: disaggregatedMoveToLocationController.h:169
virtual void registerTaskMsgCallbacks()
DtSubtaskImplementation
Definition: disaggregatedMoveToLocationController.h:42
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtVrfAggregateStateRepository * myAggregateStateRepository
Pointer to aggregate's state repository, cached in this class for convenience.
Definition: disaggregatedMoveToLocationController.h:165
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component.
virtual bool init()
Calls setRadio()
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
bool myToggleGeneratedName
Flag used to toggle between 2 generated route names (<object name>="">_L1 and <object name>="">_L2)...
Definition: disaggregatedMoveToLocationController.h:174
File: simMsg.h.
Definition: simMessage.h:35
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Contains the declaration of class DtAggregateMoveToLocationPSR, the process state repository used by ...
Definition: aggregateMoveToLocationPSR.h:25
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtAggregateMoveToLocationController is a task controller responsible for executing DtMoveToLocationTa...
Definition: disaggregatedMoveToLocationController.h:38
Definition: vrfAggregateStateRepository.h:22