20 class DtConstrainedAnalogPort;
28 #define DT_LANDING_BUFFER 5.0
82 virtual const char*
type()
const;
86 virtual void doFinishing();
95 virtual void doFinishingForFlying();
100 virtual void doFinishingForTaxiing();
104 virtual void doMoving();
111 virtual void doFlying();
117 virtual void doTaxiing();
123 virtual void doTakeOff();
131 virtual void doLanding();
141 virtual double findDesiredSpeed();
152 virtual bool nearGoal();
159 virtual bool atGoal();
164 virtual bool passedGoal();
171 static void setAltitudeCallback(
DtSimMessage * msg,
void * usrData);
172 static void setOrderedAltitudeCallback(
DtSimMessage * msg,
void * usrData);
173 static void setLocationCallback(
DtSimMessage * msg,
void * usrData);
174 static void setRestoreCallback(
DtSimMessage * msg,
void * usrData);
175 static void modifyVrfObjectCallback(
DtSimMessage * msg,
void * usr);
183 virtual void processRouteChanged();
189 virtual void processSetOrderedAltitude(
DtSimMessage * msg);
196 virtual void processModifyVrfObject(
DtSimMessage * msg);
198 virtual bool setupRoute();
238 void clearStoredRoute();
243 void updateTakeOffDir();
244 void updateLandingDir();
253 void processEntityLocationChange();
277 virtual bool setMovementStatusFromRoute();
280 virtual void resetValues();
306 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.
DtFixedWingFlightPSR * myProcessState
Pointer to a process state repository used to store state data associated with this component...
Definition: fixedWingPilotController.h:506
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 bool init()
Initializes myFixedWingEntityState.
DtSimObjectReference myRoute
This is looked up once per tick - assumed unchanging while we have control.
Definition: fixedWingMoveAlongController.h:295
virtual bool createPorts()
Overridden to create the fixed wing ports.
virtual void registerTaskMsgCallbacks()
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
bool myRouteHasChanged
Definition: fixedWingMoveAlongController.h:297
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
DtVectorOutputPort * myCurrentVertexLocationOutputPort
Output Port Name: current-vertex-location Output Port Description: Specifies the current vertex locat...
Definition: fixedWingMoveAlongController.h:305
Definition: readerWriter.h:85
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
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
const DtFixedWingPilotController & operator=(const DtFixedWingPilotController &orig)
assignment operator; not implemented
class DtFixedWingFlightPSR:
Definition: fixedWingFlightPSR.h:41
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 const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual DtSimTaskStatePtr currentTaskState() const
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
DtFixedWingMoveAlongController is a controller that models the movement of a fixed wing entity along ...
Definition: fixedWingMoveAlongController.h:47
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
virtual DtFixedWingFlightPSR * getPSR()
Gets the process state repository for purposes of providing attributes.
Definition: fixedWingMoveAlongController.h:210
virtual void processEstimatedTotCalculation()
calculate estimated tot
bool myWarnedForMovementStatus
Definition: fixedWingMoveAlongController.h:298
void processSetLocation(DtSetDataRequest *set, const DtVertexList &vertices, double position, DtMoveAlongRouteTimeEstimator *est)
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