![]() |
VR-Forces 4.0.4 Class Documentation
|
Instances of DtLasingMissileTrackController derive from DtMissileMoveToControllerComponent. More...

Public Member Functions | |
| DtLasingMissileTrackController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| virtual | ~DtLasingMissileTrackController () |
| destructor | |
| virtual DtString | type () const |
| This returns a string from compTypes.h, and identifies the type of component. | |
| virtual bool | init () |
| Initializes the component, calls the base class. | |
Static Public Member Functions | |
| static DtSimComponent * | creator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
Protected Member Functions | |
| virtual void | setTgtDesignatorCode (const int code) |
| virtual const int | tgtDesignatorCode () const |
| virtual DtReflectedDesignator * | findTarget () |
| virtual bool | targetTrackable (DtReflectedDesignator *target) |
| virtual void | registerSetLaserCodeRequestMsgCallbacks () |
| Instances of this component will register this callback with their own 'this' pointer as user data with the msg executive requesting notification of lase target tasks. | |
| virtual void | processSetLaserCodeRequestCallback (DtSimMessage *msg) |
| Calls setLaseTarget() with the string name of the target entity specified in the DtLaseTargetTask message. | |
| virtual bool | setupControlPoint () |
| Returns the boolean member data flag myMissilesTargeted, indicating whether or not a target location has been set for the missile. | |
Static Protected Member Functions | |
| static void | setLaserCodeRequestCallback (DtSimMessage *msg, void *usr) |
| Callback called when component receives a set laser code request. | |
Protected Attributes | |
| DtLaserTrackerPSR * | myProcessState |
| Container for state data associated with this component. | |
Private Member Functions | |
| DtLasingMissileTrackController () | |
| Not implemented. | |
| DtLasingMissileTrackController (const DtLasingMissileTrackController &orig) | |
| Not implemented. | |
| const DtLasingMissileTrackController & | operator= (const DtLasingMissileTrackController &orig) |
| Not implemented. | |
Instances of DtLasingMissileTrackController derive from DtMissileMoveToControllerComponent.
This component searches for a laser designator of the specified code, and track the missile toward that location. Uses Descriptor Type: DtComponentDescriptor
Not implemented.
| DtLasingMissileTrackController::DtLasingMissileTrackController | ( | const DtLasingMissileTrackController & | orig | ) | [private] |
Not implemented.
| DtLasingMissileTrackController::DtLasingMissileTrackController | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| virtual DtLasingMissileTrackController::~DtLasingMissileTrackController | ( | ) | [virtual] |
destructor
| const DtLasingMissileTrackController& DtLasingMissileTrackController::operator= | ( | const DtLasingMissileTrackController & | orig | ) | [private] |
Not implemented.
| virtual DtString DtLasingMissileTrackController::type | ( | ) | const [virtual] |
This returns a string from compTypes.h, and identifies the type of component.
Reimplemented from DtMissileMoveToControllerComponent.
| virtual bool DtLasingMissileTrackController::init | ( | ) | [virtual] |
Initializes the component, calls the base class.
Reimplemented from DtMissileControllerComponent.
| virtual void DtLasingMissileTrackController::setTgtDesignatorCode | ( | const int | code | ) | [protected, virtual] |
| virtual const int DtLasingMissileTrackController::tgtDesignatorCode | ( | ) | const [protected, virtual] |
| virtual DtReflectedDesignator* DtLasingMissileTrackController::findTarget | ( | ) | [protected, virtual] |
| virtual bool DtLasingMissileTrackController::targetTrackable | ( | DtReflectedDesignator * | target | ) | [protected, virtual] |
| virtual void DtLasingMissileTrackController::registerSetLaserCodeRequestMsgCallbacks | ( | ) | [protected, virtual] |
Instances of this component will register this callback with their own 'this' pointer as user data with the msg executive requesting notification of lase target tasks.
| static void DtLasingMissileTrackController::setLaserCodeRequestCallback | ( | DtSimMessage * | msg, |
| void * | usr | ||
| ) | [static, protected] |
Callback called when component receives a set laser code request.
| virtual void DtLasingMissileTrackController::processSetLaserCodeRequestCallback | ( | DtSimMessage * | msg | ) | [protected, virtual] |
Calls setLaseTarget() with the string name of the target entity specified in the DtLaseTargetTask message.
| virtual bool DtLasingMissileTrackController::setupControlPoint | ( | ) | [protected, virtual] |
Returns the boolean member data flag myMissilesTargeted, indicating whether or not a target location has been set for the missile.
Reimplemented from DtMissileMoveToControllerComponent.
| static DtSimComponent* DtLasingMissileTrackController::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 DtMissileMoveToControllerComponent.
Container for state data associated with this component.
This state is saved and restored as part of a scenario (or checkpoint).
Reimplemented from DtMissileControllerComponent.