60 virtual const char*
type()
const;
92 virtual void removeControlPoint();
102 virtual bool createPSR();
112 static void taskCompleteReportCallback(
DtSimMessage * msg,
void * usr);
117 static void landingStripChanged(
const DtVrfObject* obj,
void* userData);
118 virtual void processLandingStripChanged(
const DtVrfObject*);
124 static void landingTaskCallback(
DtSimMessage* msg,
void* usr);
128 static void deleteVrfObjectCallback(
const DtVrfObject* msg,
void * usr);
129 virtual void processDeleteVrfObjectCallback(
const DtVrfObject* obj);
135 virtual bool generateApproachRoute();
140 virtual bool generateLandingRoute();
146 virtual void initRunwayCoordTransform(
const DtVector& runwayStartLocal,
147 const DtVector& runwayEndLocal, DtCoordTransform& resultTransform)
const;
151 virtual double calculateDecelerationConstant()
const;
154 virtual double calculateApproachSpeed()
const;
157 virtual void setupExistingConditions();
161 virtual void setApproachSpeed();
169 virtual void moveAlongLandingStrip();
172 virtual void movingAlongLandingStrip();
180 virtual bool moveAlongLandingRouteRemainder();
185 virtual bool checkPositionOnFinalLeg();
190 virtual void flyingTowardsApproachRoute();
194 virtual bool createApproachRoutePoints();
203 virtual double decelerationDistance()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:144
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtFixedWingLandingDescriptor * myFixedWingLandingDescriptor
Definition: fixedWingLandingController.h:226
DtBooleanOutputPort * myLandingGearControlPort
Output Port Name: landing-gear-control Output Port Description: Desired position of the landing gear...
Definition: fixedWingLandingController.h:239
bool myWaiting
Definition: fixedWingLandingController.h:229
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
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component.
virtual bool init()
Calls setRadio()
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
Scoped guard for use in component tick functions.
Definition: simComponent.h:75
class DtFixedWingFlightPSR:
Definition: fixedWingFlightPSR.h:38
class DtVrfFixedWingLandingPSR:
Definition: vrfFixedWingLandingPSR.h:25
const DtVrfObject * myControlPoint
If this entity islanding, the path the entity is moving on to approach the landing strip...
Definition: fixedWingLandingController.h:220
File: simMsg.h.
Definition: simMessage.h:35
This descriptor defines parameters that are used to create an approach vector to a landing strip...
Definition: fixedWingLandingDescriptor.h:27
This repository holds all information that is common to all the forms of local fixed wing entities wi...
Definition: fixedWingEntityStateRepository.h:37
virtual void tick()
This gives the thread of control to the component.
virtual bool tickWhileDestroyed() const
If the component returns true here, it will be ticked regardless of the destroyed state of the host e...
DtLandingControllerState
Definition: vrfFixedWingLandingPSR.h:28
virtual bool createPorts()
Called by init.
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingLandingController.h:227
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtFixedWingLandingController is a controller that models landing for fixed-wing entities.
Definition: fixedWingLandingController.h:38
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
bool myLandingStripChanged
Definition: fixedWingLandingController.h:230
DtVrfFixedWingLandingPSR * myProcessState
Container for state data associated with this component.
Definition: fixedWingLandingController.h:224
DtFixedWingFlightPSR * myFixedWingFlightPSR
Definition: fixedWingLandingController.h:228
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19
virtual void clearCurrentTaskMessage()
Returns the current subtask with the specified id.