15 #include <vlutil/vlConfig.h>
77 virtual const char*
type()
const;
111 virtual bool createPSR();
125 static void taskCompleteReportCallback(
DtSimMessage * msg,
void * usr);
134 static void formationChangedCallback(
const DtFormationState& formationState,
152 virtual void processFormationChanged(
const DtFormationState& formationState);
164 virtual void processRouteChanged();
173 virtual int sendTaskToSubordinate(
const DtSimTask& task,
174 const DtUUID& subordinate);
183 const DtUUID& subordinate)
const;
188 virtual void beginFollowInFormation(
const DtUUID& routeName,
189 const bool startAtClosestPoint,
const bool traverseForward);
203 virtual int findClosestSegmentIndex(
DtVector testPoint, std::vector<DtVector> testRoute,
204 DtPoint& closestSegmentLoc,
double& distanceToSegment,
int indexSegmentFloor = 0);
214 virtual bool createLeaderOffsetRoute(
215 const std::vector<DtVector>& localPoints,
216 const double rightOffset,
const double forwardOffset,
221 virtual bool isPlatformCapable(
const DtUUID& platform)
const;
226 const DtUUID& leaderRoute,
227 const double formationWidth,
const double formationLength);
231 virtual int taskFollower(
const DtUUID& subEntity,
const DtUUID& formationLeader,
232 const DtUUID& unitRouteUUID,
const double leaderForwardOffset,
233 const bool doReverseRoute,
const double vertexStartIndex);
241 virtual void sendVrfObjectModifyMsg(
const DtUUID&
object, DtList* vertices)
const;
244 virtual void initializeMemberDataFromDescriptor(
254 virtual bool isUnitMovementExhausted();
266 virtual bool publishFormationRoutes()
const;
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
class DtLocalObjectManager:
Definition: localObjectManager.h:151
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()
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:22
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
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
Class DtAggregateMoveAlongDescriptor holds all of the readable/writeable parameters used to configure...
Definition: aggregateMoveAlongDescriptor.h:30
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
virtual bool init() override
Calls setRadio()
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
Definition: coordSystem.h:54
File: simMsg.h.
Definition: simMessage.h:35
DtMoveAlongTask represents a Move Along Route task for an entity to perform. It inherits read/writabl...
Definition: moveAlongTasks.h:46
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
virtual DtSimTaskStatePtr currentTaskState() const
This is a convenience list that will add DtSimObjectReference objects and modify the list as objects ...
Definition: simObjectReferenceList.h:23
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
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
virtual void clearTask() override
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
file aggregateMoveAlongPSR.h
Definition: aggregateMoveAlongPSR.h:33
Definition: vrfAggregateStateRepository.h:21
DtCompatibilityRadio.
Definition: compatibilityRadio.h:30
A DtTaskMsg is a DtRadioMsg with a pointer to a task. The type of the taskMsg is just the type of the...
Definition: taskMessage.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