49 virtual const char*
type()
const;
62 static void routeChangedCallback(
const DtVrfObject* obj,
void * usr);
63 virtual void processRouteChanged(
const DtVrfObject* obj);
78 virtual bool setupRoute();
86 virtual bool setupDestination();
89 virtual double findDesiredSpeed();
99 static void objectAddedCb(
const DtVrfObject * vrfObject,
void * usr);
117 virtual bool createPSR();
122 virtual void doMoving();
150 virtual void emptyVertexList();
155 virtual void processObjectAdded(
const DtVrfObject * vrfObject);
162 virtual void moveToDestination();
167 virtual double distanceToDestinationSquared()
const;
177 virtual bool atDestination();
185 virtual bool passedDestination();
195 virtual bool getDestination(
DtVector & destination);
198 virtual DtVector destinationVector()
const;
204 virtual double atDistance()
const;
211 virtual bool stayOnRoute()
const;
217 virtual double minCorrectionDistance()
const;
226 virtual double maxCorrectionDistance()
const;
231 virtual double correctionAngle(
const double distanceFromLine)
const;
241 virtual void computePointToSegmentGeometry(
245 double& r,
bool &leftSide,
double &distanceToSegment);
250 virtual bool getCurrentRouteSegment(
DtVector& routeSegmentStart,
256 virtual void calculateRadius();
DtVectorOutputPort * myDestinationOutputPort
Output Port Name: destination Output Port Description: Specifies the current destination of the entit...
Definition: aggregatedMoveAlongController.h:282
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtBooleanOutputPort * myRetrogradeOutputPort
Definition: aggregatedMoveAlongController.h:300
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtVector myWorldDestination
Definition: aggregatedMoveAlongController.h:296
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
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:20
DtVrfAggregateStateRepository * myTrueAggregateRepository
Definition: aggregatedMoveAlongController.h:284
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtVector myLocalDestination
Definition: aggregatedMoveAlongController.h:295
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component.
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
virtual bool init()
Calls setRadio()
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
DtAggregatedMoveToDescriptor * myAggregatedMoveToDescriptor
Definition: aggregatedMoveAlongController.h:299
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
bool myResetVertex
Definition: aggregatedMoveAlongController.h:293
Definition: coordSystem.h:54
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
class DtAggregatedMoveAlongPSR:
Definition: aggregatedMoveAlongPSR.h:29
DtAnalogOutputPort * myMovementDirectionPort
Output Port Name: desired-movement-direction Output Port Description: Output Port Range: Output Gro...
Definition: aggregatedMoveAlongController.h:275
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
DtOutputPortGroup * myMovementControlPortGroup
Definition: aggregatedMoveAlongController.h:264
virtual DtSimTaskStatePtr currentTaskState() const
virtual bool createPorts()
Called by init.
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
double myUnitRadius
Definition: aggregatedMoveAlongController.h:297
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtAggregatedMoveToDescriptor; descriptor for the DtAggregatedMoveToDescriptor component.
Definition: aggregatedMoveToDescriptor.h:21
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtAnalogOutputPort * mySpeedPort
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:269
Definition: vrfAggregateStateRepository.h:22
An instance of DtCgf is an object representing a CGF (Computer Generated Forces). ...
Definition: cgf.h:115
DtAggregatedMoveAlongPSR * myProcessState
Container for state data associated with this component.
Definition: aggregatedMoveAlongController.h:288
bool myRouteHasChanged
This gets set to true when a modifyRoute message for the route we're following is received...
Definition: aggregatedMoveAlongController.h:292
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19
End User Description: Controller for executing DtMoveAlongTask for aggregated aggregates.
Definition: aggregatedMoveAlongController.h:25
char * dest
Definition: lz4.h:440