![]() |
VR-Forces 4.0.4 Class Documentation
|
DtFixedWingMoveToLocationController; models movement to a location for fixed-wing entities. More...

Public Member Functions | |
| DtFixedWingMoveToLocationController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
| virtual | ~DtFixedWingMoveToLocationController () |
| destructor | |
| virtual DtString | type () const |
| Returns a string identifies the class type of component. | |
| virtual void | processMoveToLocationTask (DtSimMessage *msg) |
| Callback functions to execute when messages registered for are received. | |
| virtual void | processFlyToLocationTask (DtSimMessage *msg) |
| virtual void | registerTaskMsgCallbacks () |
| Overrides this so it can register its interest in MoveTo commands and all other messages described in the above functions. | |
Static Public Member Functions | |
| static void | moveToLocationCallback (DtSimMessage *msg, void *usr) |
| Instances of this component will register these callbacks with their own 'this' pointer as user data with the msg executive requesting notification of the appropriate tasks and setDataRequests. | |
| static void | flyToLocationCallback (DtSimMessage *msg, void *usr) |
| static DtSimComponent * | creator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
Protected Member Functions | |
| virtual bool | setupControlPoint () |
| Sets up the current location to mvoe to. | |
Protected Attributes | |
| DtVector | myWorldAimingPoint |
| DtVector | myLocalAimingPoint |
Private Member Functions | |
| DtFixedWingMoveToLocationController () | |
| default constructor - should not be called | |
| DtFixedWingMoveToLocationController (const DtFixedWingMoveToLocationController &orig) | |
| copy constructor | |
| DtFixedWingMoveToLocationController & | operator= (const DtFixedWingMoveToLocationController &orig) |
| assignment operator | |
DtFixedWingMoveToLocationController; models movement to a location for fixed-wing entities.
DtFixedWingMoveToLocationController is a controller used to model the movement of a fixed wing entity to a specific point.
Uses Descriptor Type: DtFixedWingPilotControllerDescriptor
| DtFixedWingMoveToLocationController::DtFixedWingMoveToLocationController | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
(const DtString&,DtVrfObject*,DtSimManager*,
| name | Reader writer name of this component. |
| owner | The DtVrfObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
| virtual DtFixedWingMoveToLocationController::~DtFixedWingMoveToLocationController | ( | ) | [virtual] |
destructor
default constructor - should not be called
| DtFixedWingMoveToLocationController::DtFixedWingMoveToLocationController | ( | const DtFixedWingMoveToLocationController & | orig | ) | [private] |
copy constructor
| virtual DtString DtFixedWingMoveToLocationController::type | ( | ) | const [virtual] |
Returns a string identifies the class type of component.
Type values are defined in compTypes.h. DtSimComponent creation functions are registered with the DtSimComponentFactory using the type values as the key.
Reimplemented from DtFixedWingMoveToController.
| static void DtFixedWingMoveToLocationController::moveToLocationCallback | ( | DtSimMessage * | msg, |
| void * | usr | ||
| ) | [static] |
Instances of this component will register these callbacks with their own 'this' pointer as user data with the msg executive requesting notification of the appropriate tasks and setDataRequests.
| static void DtFixedWingMoveToLocationController::flyToLocationCallback | ( | DtSimMessage * | msg, |
| void * | usr | ||
| ) | [static] |
| virtual void DtFixedWingMoveToLocationController::processMoveToLocationTask | ( | DtSimMessage * | msg | ) | [virtual] |
Callback functions to execute when messages registered for are received.
| virtual void DtFixedWingMoveToLocationController::processFlyToLocationTask | ( | DtSimMessage * | msg | ) | [virtual] |
| virtual void DtFixedWingMoveToLocationController::registerTaskMsgCallbacks | ( | ) | [virtual] |
Overrides this so it can register its interest in MoveTo commands and all other messages described in the above functions.
Reimplemented from DtFixedWingMoveToController.
| static DtSimComponent* DtFixedWingMoveToLocationController::creator | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | [static] |
(const DtString&,DtVrfObject*,DtSimManager*,
| name | Reader writer name of this component. |
| owner | The DtVrfObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
Reimplemented from DtFixedWingMoveToController.
| virtual bool DtFixedWingMoveToLocationController::setupControlPoint | ( | ) | [protected, virtual] |
Sets up the current location to mvoe to.
Reimplemented from DtFixedWingMoveToController.
| DtFixedWingMoveToLocationController& DtFixedWingMoveToLocationController::operator= | ( | const DtFixedWingMoveToLocationController & | orig | ) | [private] |
assignment operator