47 virtual const char*
type()
const override;
50 virtual bool init()
override;
53 virtual void tick()
override;
69 static void clutterMoveCallback(
DtSimMessage* msg,
void* usr);
72 static void taskCompleteCallback(
DtSimMessage* msg,
void* usr);
86 virtual void lookupAndCacheProcessSR();
99 virtual bool getInitialAdsbInformation();
112 virtual bool setUpNextPathPoint();
119 virtual bool setUpMoveToCurrentPoint();
126 virtual void setUpFlyHeadingOrDelete();
129 virtual void sendFlyHeadingTask(
const double heading,
const double altitude);
bool myAtPathEnd
Indicates that the controller has read all of the path points, i.e. myCurrentPoint is past the end of...
Definition: aircraftClutterMovementController.h:171
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtAdsbDataServiceInterface * myAdsbService
Convenience pointer to ADSB Data Service.
Definition: aircraftClutterMovementController.h:155
const DtFixedWingEntityParameters * myParameters
Definition: aircraftClutterMovementController.h:158
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void registerTaskMsgCallbacks()
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:22
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: aircraftClutterMovementController.h:152
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
DtTrackHandlePtr myAdsbTrack
Convenient pointer to ADSB track.
Definition: aircraftClutterMovementController.h:161
int myWarningsGiven
Indicates that a warning message about initialization has been printed already. Counts failures...
Definition: aircraftClutterMovementController.h:193
virtual void updateTaskVisualizations()
Called to update task visualizations after every tick. Implemented by subclasses. ...
Definition: simComponent.h:437
virtual bool init() override
Calls setRadio()
Abstract interface class to the ADSB data service. This service provides access to Automatic Dependen...
Definition: adsbDataServiceInterface.h:121
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
bool myIsCircling
Indicates that the aircraft is performing a circling maneuver to kill time before heading to the next...
Definition: aircraftClutterMovementController.h:179
std::shared_ptr< DtAdsbTrackHandle > DtTrackHandlePtr
Shared_ptr so that copy constructor will work on the pointer without destroying the rhs...
Definition: adsbDataServiceInterface.h:60
File: simMsg.h.
Definition: simMessage.h:35
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 ...
bool myIsWaitingForTerrain
Indicates that the aircraft, which is at path end, is waiting for terrain data to see how high AGL it...
Definition: aircraftClutterMovementController.h:175
DtFixedWingEntityStateRepository * myFixedWingEntityState
Definition: aircraftClutterMovementController.h:157
Contains the set of readable/writeable parameters assoicated with a fixed-wing entity.
Definition: fixedWingEntityParameters.h:56
virtual void isClutterChanged()
Called when the is-clutter setting changes.
int myIcaoAddress
IcaoAddress passed from the task.
Definition: aircraftClutterMovementController.h:164
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
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...
std::shared_ptr< DtAdsbPathPointHandle > DtPointHandlePtr
Shared_ptr so that copy constructor will work on the pointer without destroying the rhs...
Definition: adsbDataServiceInterface.h:113
DtPointHandlePtr myCurrentPointHandle
Point the aircraft is moving toward currently.
Definition: aircraftClutterMovementController.h:167
double mySubtaskEndTime
Record the time that the current move should end, so that the movement subtask can be shut down if it...
Definition: aircraftClutterMovementController.h:189
DtUpdateRepositoryOutputPortGroup is a data port group of a data consumer that contains methods and p...
Definition: updateRepositoryOutputPortGroup.h:31
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
DtVector myPathEndLocation
If the aircraft reaches the end of the path and myIsWaitingForTerrain is set, record the location fro...
Definition: aircraftClutterMovementController.h:184
The DtAircraftClutterMovementController provides low-fidelity movement for clutter entities...
Definition: aircraftClutterMovementController.h:29
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