![]() |
VR-Forces 4.0.4 Class Documentation
|
DtRotaryWingLoiterControllerComponent is a controller used to model a loitering helicopter. More...

Public Member Functions | |
| DtRotaryWingLoiterControllerComponent (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
| virtual | ~DtRotaryWingLoiterControllerComponent () |
| destructor | |
| virtual void | tick () |
| Sets the desired position and velocity for use by the parent controller, then calls the parent’s tick() function. | |
| 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*, | |
Protected Member Functions | |
| DtRotaryWingLoiterControllerComponent () | |
| Default constructor; should not be called. | |
| DtRotaryWingLoiterControllerComponent (const DtRotaryWingLoiterControllerComponent &orig) | |
| copy constructor; shallow; does not copy the ports. | |
| const DtRotaryWingLoiterControllerComponent & | operator= (const DtRotaryWingLoiterControllerComponent &orig) |
| assignment operator; see comments on copy constructor! | |
| virtual void | pilotProperties () |
| Sets the pilot properties. | |
DtRotaryWingLoiterControllerComponent is a controller used to model a loitering helicopter.
End User Description: This controls the helicopter if no other pilot takes Uses Descriptor Type: DtRotaryWingPilotDescriptor
| DtRotaryWingLoiterControllerComponent::DtRotaryWingLoiterControllerComponent | ( | 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 DtRotaryWingLoiterControllerComponent::~DtRotaryWingLoiterControllerComponent | ( | ) | [virtual] |
destructor
Default constructor; should not be called.
Here because the compiler will generate an unprotected one otherwise.
| DtRotaryWingLoiterControllerComponent::DtRotaryWingLoiterControllerComponent | ( | const DtRotaryWingLoiterControllerComponent & | orig | ) | [protected] |
copy constructor; shallow; does not copy the ports.
| virtual void DtRotaryWingLoiterControllerComponent::tick | ( | ) | [virtual] |
Sets the desired position and velocity for use by the parent controller, then calls the parent’s tick() function.
Reimplemented from DtSimComponent.
| virtual DtString DtRotaryWingLoiterControllerComponent::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.
Implements DtRotaryWingTaskController.
| static DtSimComponent* DtRotaryWingLoiterControllerComponent::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). |
| const DtRotaryWingLoiterControllerComponent& DtRotaryWingLoiterControllerComponent::operator= | ( | const DtRotaryWingLoiterControllerComponent & | orig | ) | [protected] |
assignment operator; see comments on copy constructor!
| virtual void DtRotaryWingLoiterControllerComponent::pilotProperties | ( | ) | [protected, virtual] |
Sets the pilot properties.
The position selector is 1.0 The velocity selector is 0.0 The acceleration selector is 0.0 The heading selector is 0.0. The aggressiveness value is set to the default aggressiveness.