![]() |
VR-Forces 4.0.4 Class Documentation
|
DtCruiseMissileDefaultController; models the behavior of flying the missile down to the ground. More...

Public Member Functions | |
| DtCruiseMissileDefaultController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
| virtual | ~DtCruiseMissileDefaultController () |
| destructor | |
| virtual bool | init () |
| Initiallizes output ports with 0 values. | |
| virtual void | tick () |
| Takes control of the output ports and calls flyFixedPitch() with the current speed and a -45 degree angle. | |
| virtual DtString | type () const |
| Returns a string identifies the class type of component. | |
Static Public Member Functions | |
| static DtSimComponent * | creator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
Private Member Functions | |
| DtCruiseMissileDefaultController () | |
| default constructor; not implemented | |
| DtCruiseMissileDefaultController (const DtCruiseMissileDefaultController &orig) | |
| copy constructor; not implemented | |
| const DtCruiseMissileDefaultController & | operator= (const DtCruiseMissileDefaultController &orig) |
| assignment operator; not implemented | |
DtCruiseMissileDefaultController; models the behavior of flying the missile down to the ground.
DtCruiseMissileDefaultController is a controller that directs the missile entity controlled by this controller to simply fly into the ground.
End User Description: Creates the ports needed to control fixed wing actuators. This controller takes control of these ports, and flies down toward the ground. This is intented mostly for use if a cruise missile ends its task without impacting an entity or the ground.
Uses Descriptor Type: DtFixedWingPilotControllerDescriptor
| DtCruiseMissileDefaultController::DtCruiseMissileDefaultController | ( | 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 DtCruiseMissileDefaultController::~DtCruiseMissileDefaultController | ( | ) | [virtual] |
destructor
default constructor; not implemented
| DtCruiseMissileDefaultController::DtCruiseMissileDefaultController | ( | const DtCruiseMissileDefaultController & | orig | ) | [private] |
copy constructor; not implemented
| virtual bool DtCruiseMissileDefaultController::init | ( | ) | [virtual] |
Initiallizes output ports with 0 values.
Reimplemented from DtFixedWingPilotController.
| virtual void DtCruiseMissileDefaultController::tick | ( | ) | [virtual] |
Takes control of the output ports and calls flyFixedPitch() with the current speed and a -45 degree angle.
Reimplemented from DtFixedWingPilotController.
| virtual DtString DtCruiseMissileDefaultController::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 DtFixedWingPilotController.
| static DtSimComponent* DtCruiseMissileDefaultController::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 DtFixedWingPilotController.
| const DtCruiseMissileDefaultController& DtCruiseMissileDefaultController::operator= | ( | const DtCruiseMissileDefaultController & | orig | ) | [private] |
assignment operator; not implemented