19 class DtConstrainedAnalogPort;
52 virtual const char*
type()
const;
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();
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);
184 virtual bool createWorkingControlPoint(
const DtVector location);
200 virtual void getLocalDestination(
DtVector& local)
const;
201 virtual void getWorldDestination(
DtVector& world)
const;
205 virtual double distanceSquaredToDestination(
const DtVector& current)
const;
206 virtual double distanceSquaredToDestination2D(
const DtVector& current)
const;
211 virtual bool atAltitude(
double desiredAltitude)
const;
215 virtual bool setupControlPoint();
218 virtual void deleteWorkingControlPoint();
228 virtual void processFixedWingLocationChanged();
245 bool myChangedLocation =
false;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void clearTask()
Overridden to deactivate the port group when this controller completes a task.
virtual void tick()
Only gets actuator values the first time it's called. Call lookupAndCacheProcessSR(), to look up myProcessState, if it hasn't already been found.
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 updateTaskVisualizations()
update visualizations
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...
const DtFixedWingPilotController & operator=(const DtFixedWingPilotController &orig)
assignment operator; not implemented
File: simMsg.h.
Definition: simMessage.h:35
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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:79
virtual void processEstimatedTotCalculation()
calculate estimated tot
void processSetLocation(DtSetDataRequest *set, const DtVertexList &vertices, double position, DtMoveAlongRouteTimeEstimator *est)
bool myFirstTick
Definition: fixedWingMoveToController.h:244
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