45 DtImplementAsMoveIntoFormation = 0,
46 DtImplementAsMoveAlongRoute
47 } DtSubtaskImplementation;
61 virtual const char*
type()
const;
71 static void moveToLocationTaskCallback(
DtSimMessage * msg,
void * usr);
75 static void taskCompleteReportCallback(
DtSimMessage * msg,
void * usr);
97 virtual bool createPSR();
116 DtSubtaskImplementation chooseSubtaskImplementation(
117 const DtVector& geocDestination)
const;
125 virtual void moveIntoFormation(
const DtVector& geocDestination);
132 void moveAlongRoute(
const DtVector& geocDestination);
141 virtual bool calcRouteStartingPoint(
const DtVector& geocEndPoint,
146 virtual DtString generateWorkingRouteName()
const;
150 virtual bool publishFormationRoutes()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtAggregateMoveToLocationPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: disaggregatedMoveToLocationController.h:170
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void registerTaskMsgCallbacks()
DtSubtaskImplementation
Definition: disaggregatedMoveToLocationController.h:43
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:22
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtAggregateLocalObjectFacade myAggregateLocalObjectFacade
Definition: disaggregatedMoveToLocationController.h:177
DtVrfAggregateStateRepository * myAggregateStateRepository
Pointer to aggregate's state repository, cached in this class for convenience.
Definition: disaggregatedMoveToLocationController.h:166
Definition: readerWriterRegistry.h:39
virtual bool init() override
Calls setRadio()
bool myToggleGeneratedName
Flag used to toggle between 2 generated route names (<object name>="">_L1 and <object name>="">_L2)...
Definition: disaggregatedMoveToLocationController.h:175
File: simMsg.h.
Definition: simMessage.h:35
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
Contains the declaration of class DtAggregateMoveToLocationPSR, the process state repository used by ...
Definition: aggregateMoveToLocationPSR.h:26
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
virtual void clearTask() override
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
DtAggregateMoveToLocationController is a task controller responsible for executing DtMoveToLocationTa...
Definition: disaggregatedMoveToLocationController.h:39
Definition: vrfAggregateStateRepository.h:21
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