![]() |
VR-Forces 4.0.4 Class Documentation
|
This component outputs controls for a fixed-wing entity's landing gear. More...

Public Member Functions | |
| DtDefaultLandingGearController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| (const DtString& name, | |
| virtual | ~DtDefaultLandingGearController () |
| Destructor. | |
| virtual bool | init () |
| Init. Call immediately after construction. | |
| virtual DtString | type () const |
| Returns a string identifies the class type of component. | |
| virtual void | tick () |
| This components simulation tick. | |
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 bool | createPortGroups () |
| Creates and initializes port groups. | |
| virtual bool | createPorts () |
| Creates and initializes ports. | |
Protected Attributes | |
Ports and Port Groups | |
Output Port Name: landing-gear-down
| |
| DtBooleanOutputPort * | myLandingGearDownPort |
| DtFixedWingEntityStateRepository * | myFixedWingSR |
Private Member Functions | |
| DtDefaultLandingGearController () | |
| Not Implemented. | |
| DtDefaultLandingGearController (const DtDefaultLandingGearController &orig) | |
| Not Implemented. | |
| DtDefaultLandingGearController & | operator= (const DtDefaultLandingGearController &orig) |
| Not Implemented. | |
This component outputs controls for a fixed-wing entity's landing gear.
It checks the onGround() call in the DtFixedWingEntityStateRepository and when the entity is on the ground, outputs gear-down True, otherwise outputs false. Component OPD Name: "default-landing-gear-controller" Uses Descriptor Type: DtControllerDescriptor
Not Implemented.
| DtDefaultLandingGearController::DtDefaultLandingGearController | ( | const DtDefaultLandingGearController & | orig | ) | [private] |
Not Implemented.
| DtDefaultLandingGearController::DtDefaultLandingGearController | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
(const DtString& name,
| 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 DtDefaultLandingGearController::~DtDefaultLandingGearController | ( | ) | [virtual] |
Destructor.
| DtDefaultLandingGearController& DtDefaultLandingGearController::operator= | ( | const DtDefaultLandingGearController & | orig | ) | [private] |
Not Implemented.
| virtual bool DtDefaultLandingGearController::init | ( | ) | [virtual] |
Init. Call immediately after construction.
Reimplemented from DtControllerComponent.
| virtual DtString DtDefaultLandingGearController::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 DtControllerComponent.
| virtual void DtDefaultLandingGearController::tick | ( | ) | [virtual] |
This components simulation tick.
Reimplemented from DtSimComponent.
| static DtSimComponent* DtDefaultLandingGearController::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). |
| virtual bool DtDefaultLandingGearController::createPortGroups | ( | ) | [protected, virtual] |
Creates and initializes port groups.
Reimplemented from DtSimComponent.
| virtual bool DtDefaultLandingGearController::createPorts | ( | ) | [protected, virtual] |
Creates and initializes ports.
Reimplemented from DtSimComponent.