19 class DtConstrainedAnalogPort;
48 virtual void tick()
override;
52 virtual const char*
type()
const override;
67 bool setMovementStatusFromControlPoint();
71 virtual void doFinishing();
80 virtual void doFinishingForFlying();
85 virtual void doFinishingForTaxiing();
89 virtual void doMoving();
96 virtual void doFlying();
102 virtual void doTaxiing();
108 virtual void doTakeOff();
112 virtual void updateTakeOffDirection();
117 virtual double findDesiredSpeed();
127 virtual bool nearGoal();
133 virtual bool atGoal();
145 virtual bool passedGoal();
150 virtual void taskComplete(
bool success =
true)
override;
155 static void moveToCallback(
DtSimMessage * msg,
void * usr);
156 static void moveToAltitudeCallback(
DtSimMessage * msg,
void * usr);
157 static void setAltitudeCallback(
DtSimMessage * msg,
void * usrData);
158 static void setLocationCallback(
DtSimMessage * msg,
void * usrData);
159 static void setRestoreCallback(
DtSimMessage * msg,
void * usrData);
160 static void waypointChangedCallback(
const DtSimObject* msg,
void * usr);
162 static void modifyVrfObjectCallback(
DtSimMessage * msg,
void * usr);
167 virtual void processMoveToAltitudeTask(
DtSimMessage * msg);
174 virtual void processWaypointChanged(
const DtSimObject* msg);
180 virtual void processModifyVrfObject(
DtSimMessage * msg);
197 virtual bool getLocalDestination(DtVector& local)
const;
198 virtual bool getWorldDestination(DtVector& world)
const;
202 virtual double distanceSquaredToDestination(
const DtVector& current)
const;
203 virtual double distanceSquaredToDestination2D(
const DtVector& current)
const;
208 virtual bool atAltitude(
double desiredAltitude)
const;
212 virtual bool setupControlPoint();
215 virtual void deleteWorkingControlPoint();
225 virtual void processFixedWingLocationChanged();
242 bool myChangedLocation =
false;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void registerTaskMsgCallbacks()
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
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
DtFixedWingPilotController is a controller that models the capabilities of a fixed-wing pilot...
Definition: fixedWingPilotController.h:47
virtual void taskComplete(bool success=true)
If we are currently tasked, this will cause us to notify the entity that we're done and delete the ta...
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void tick() override
Only gets actuator values the first time it's called. Call lookupAndCacheProcessSR(), to look up myProcessState, if it hasn't already been found.
const DtFixedWingPilotController & operator=(const DtFixedWingPilotController &orig)
assignment operator; not implemented
virtual void updateTaskVisualizations() override
update visualizations
File: simMsg.h.
Definition: simMessage.h:35
virtual void isClutterChanged()
Called when the is-clutter setting changes.
DtFixedWingMoveToController is a controller used to model the movement of a fixed wing entity to a sp...
Definition: fixedWingMoveToController.h:28
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
virtual void clearTask() override
Overridden to deactivate the port group when this controller completes a task.
virtual void processEstimatedTotCalculation()
calculate estimated tot
void processSetLocation(DtSetDataRequest *set, const DtVertexList &vertices, double position, DtMoveAlongRouteTimeEstimator *est)
bool myFirstTick
Definition: fixedWingMoveToController.h:241
A locally simulated VRF object.
Definition: localObject.h:98