61 virtual const char*
type()
const;
93 virtual void removeControlPoint();
103 virtual bool createPSR();
113 static void taskCompleteReportCallback(
DtSimMessage * msg,
void * usr);
118 virtual void processLandingStripChanged(
const DtSimObject*);
124 static void landingTaskCallback(
DtSimMessage* msg,
void* usr);
130 virtual bool generateApproachRoute();
135 virtual bool generateLandingRoute();
141 virtual void initRunwayCoordTransform(
const DtVector& runwayStartLocal,
142 const DtVector& runwayEndLocal, DtCoordTransform& resultTransform)
const;
146 virtual double calculateDecelerationConstant()
const;
149 virtual double calculateApproachSpeed()
const;
152 virtual void setupExistingConditions();
156 virtual void setApproachSpeed();
160 virtual void flyingAlongApproachRoute();
164 virtual void moveAlongLandingStrip();
167 virtual void movingAlongLandingStrip();
175 virtual bool moveAlongLandingRouteRemainder();
180 virtual bool checkPositionOnFinalLeg();
185 virtual void flyingTowardsApproachRoute();
188 virtual std::vector<DtVector> createApproachRoutePoints()
const;
193 virtual void setLandingAppearanceState();
197 virtual double decelerationDistance()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtFixedWingLandingDescriptor * myFixedWingLandingDescriptor
Definition: fixedWingLandingController.h:219
DtSimObjectReference myLandingStrip
If this entity islanding, the path the entity is moving on to approach the landing strip...
Definition: fixedWingLandingController.h:214
virtual bool postAddComponentsInit() override
Calls enableTaskTypes()
DtBooleanOutputPort * myLandingGearControlPort
Output Port Name: landing-gear-control Output Port Description: Desired position of the landing gear...
Definition: fixedWingLandingController.h:232
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
bool myWaiting
Definition: fixedWingLandingController.h:222
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:22
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
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
virtual bool init() override
Calls setRadio()
class DtFixedWingFlightPSR:
Definition: fixedWingFlightPSR.h:41
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: fixedWingLandingController.h:236
class DtVrfFixedWingLandingPSR:
Definition: vrfFixedWingLandingPSR.h:26
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:41
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
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:29
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: fixedWingLandingController.h:220
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
DtFixedWingLandingController is a controller that models landing for fixed-wing entities.
Definition: fixedWingLandingController.h:39
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:88
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
virtual void clearTask() override
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
bool myLandingStripChanged
Definition: fixedWingLandingController.h:223
DtVrfFixedWingLandingPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: fixedWingLandingController.h:217
DtFixedWingFlightPSR * myFixedWingFlightPSR
Definition: fixedWingLandingController.h:221
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
virtual void clearCurrentTaskMessage()
Returns the current subtask with the specified id. Also returns the controller that is responsible...
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