40 virtual const char*
type()
const;
55 virtual double desiredHeading();
58 virtual double desiredSpeed();
63 static void followEntityCallback(
DtSimMessage* msg,
void* usrData);
70 virtual const DtUUID& entityToFollow()
const;
71 virtual void setEntityToFollow(
const DtUUID& entity);
74 virtual double followDistance()
const;
75 virtual void setFollowDistance(
double distance);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
#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
DtOutputPortGroup * myMovementControlPortGroup
Definition: aggregateFollowController.h:102
DtAnalogOutputPort * myMovementDirectionPort
Output Port Name: desired-movement-direction Output Port Description: Output Port Range: Output Gro...
Definition: aggregateFollowController.h:113
virtual void registerTaskMsgCallbacks()
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
DtVectorOutputPort * myDestinationOutputPort
Output Port Name: destination Output Port Description: Specifies the current destination of the entit...
Definition: aggregateFollowController.h:125
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtAggregateFollowPSR * myProcessState
Definition: aggregateFollowController.h:94
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
DtAnalogOutputPort * myAltitudePort
Output Port Name: desired-altitude Output Port Description: Output Port Range: .
Definition: aggregateFollowController.h:118
virtual bool init()
Calls setRadio()
DtAnalogOutputPort * mySpeedPort
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregateFollowController.h:107
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
DtRwVrfObjectReference myEntityToFollow
Set fresh each frame in setupDestination().
Definition: aggregateFollowController.h:98
virtual bool createPorts()
Called by init.
Definition: aggregateFollowController.h:25
Class used as the reader/writer implementation of the DtVrfObjectReference.
Definition: vrfObjectReference.h:204
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
class DtAggregateFollowPSR:
Definition: aggregateFollowPSR.h:23
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
Definition: vrfAggregateStateRepository.h:22
DtVrfAggregateStateRepository * myTrueAggregateRepository
Definition: aggregateFollowController.h:93
DtAggregateFollowDescriptor * myFollowDescriptor
Definition: aggregateFollowController.h:95
DtAggregateFollowDescriptor; descriptor for the DtAggregateFollowController component.
Definition: aggregateFollowDescriptor.h:23