48 virtual const char*
type()
const;
54 static void moveToCallback(
DtSimMessage * msg,
void * usr);
55 static void moveToAltitudeCallback(
DtSimMessage * msg,
void * usr);
65 virtual void processMoveToAltitudeTask(
DtSimMessage * msg);
95 virtual bool setupControlPoint();
102 virtual bool createWorkingControlPoint(
const DtVector location);
111 virtual double bodyLengthFactor()
const;
115 virtual double atDistance();
123 virtual void pilotProperties();
127 virtual void handleContinueFlag();
130 virtual void getDesiredPosition(
DtVector& desiredPosition);
139 virtual bool controlPointIsNearGround()
const;
140 virtual void setControlPointIsNearGround(
const bool isNear);
146 static void objectAboutToBeRemovedCallback(
const DtVrfObject* obj,
void* usr);
147 virtual void processObjectAboutToBeRemoved(
const DtVrfObject*);
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void registerTaskMsgCallbacks()
DtVrfObject * myWorkingControlPoint
Locally allocated waypoint - we set myControlPoint to point to it.
Definition: rotaryWingMoveToControllerComponent.h:164
virtual void updateTaskVisualizations()
update visualizations
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
const DtRotaryWingTaskController & operator=(const DtRotaryWingTaskController &orig)
assignment operator; not implemented
virtual void tick()
This gives the thread of control to the component.
File: simMsg.h.
Definition: simMessage.h:35
const DtVrfObject * myControlPoint
This is looked up once per tick - assumed unchanging while we have control.
Definition: rotaryWingMoveToControllerComponent.h:153
virtual void processEstimatedTotCalculation()
calculate estimated tot
DtRotaryWingMoveToControllerComponent is a controller used to model the movement of a helicopter alon...
Definition: rotaryWingMoveToControllerComponent.h:27
The DtRotaryWingTaskController class creates the rotary-wing-control port group needed to control rot...
Definition: rotaryWingTaskController.h:30
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
bool myControlPointIsNearGround
Cache the results of a test to see if the control point is near the ground.
Definition: rotaryWingMoveToControllerComponent.h:168
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
bool myRegisteredForCallback
Whether or not we have registered for the object removal callback.
Definition: rotaryWingMoveToControllerComponent.h:171
virtual const char * type() const =0
Returns a string identifies the class type of component.
DtVector myLastControlPosition
This is set to the position of the control point last tick.
Definition: rotaryWingMoveToControllerComponent.h:160