Eaagles::Instruments::LandingGear Class Reference

Inherits Eaagles::Instruments::Instrument.

Inherited by Eaagles::Instruments::LandingLight.

Inheritance diagram for Eaagles::Instruments::LandingGear:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Instruments::LandingGear:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LandingGear ()
virtual void drawFunc ()
virtual void updateData (const LCreal dt=0.0f)
virtual bool setGearDownValue (const LCreal newDV)
virtual bool setGearUpValue (const LCreal newUV)
LCreal getGearUpValue ()
LCreal getGearDownValue ()
int getGearState ()
bool getInTransit ()
LCreal getGearPos ()

Protected Member Functions

bool setSlotGearDownValue (const Basic::LcNumber *const newDV)
bool setSlotGearUpValue (const Basic::LcNumber *const newUV)

Private Attributes

int gearState
bool inTransit
LCreal gearPos
LCreal gearDV
LCreal gearUV

Constructor & Destructor Documentation

Eaagles::Instruments::LandingGear::LandingGear (  ) 


Member Function Documentation

void Eaagles::Instruments::LandingGear::drawFunc (  )  [virtual]

lcGraphic interface

Reimplemented from Eaagles::BasicGL::LcGraphic.

Reimplemented in Eaagles::Instruments::LandingLight.

void Eaagles::Instruments::LandingGear::updateData ( const LCreal  dt = 0.0f  )  [virtual]

Basic::LcComponent interface.

Reimplemented from Eaagles::Instruments::Instrument.

bool Eaagles::Instruments::LandingGear::setGearDownValue ( const LCreal  newDV  )  [virtual]

set function - sets the gear down value to newDV

bool Eaagles::Instruments::LandingGear::setGearUpValue ( const LCreal  newUV  )  [virtual]

set function - sets the gear up value to newUV

LCreal Eaagles::Instruments::LandingGear::getGearUpValue (  )  [inline]

Returns the gera up indicator value.

LCreal Eaagles::Instruments::LandingGear::getGearDownValue (  )  [inline]

Returns the gear down indicator value.

int Eaagles::Instruments::LandingGear::getGearState (  )  [inline]

Returns if the gear is up, down or in transit.

bool Eaagles::Instruments::LandingGear::getInTransit (  )  [inline]

Returns true if going from one commanded position to another.

LCreal Eaagles::Instruments::LandingGear::getGearPos (  )  [inline]

Returns the gear position.

bool Eaagles::Instruments::LandingGear::setSlotGearDownValue ( const Basic::LcNumber *const  newDV  )  [protected]

slot functions

bool Eaagles::Instruments::LandingGear::setSlotGearUpValue ( const Basic::LcNumber *const  newUV  )  [protected]


Member Data Documentation

int Eaagles::Instruments::LandingGear::gearState [private]

is our gear down, up, or in transit?

bool Eaagles::Instruments::LandingGear::inTransit [private]

are we going from one commanded position to another?

LCreal Eaagles::Instruments::LandingGear::gearPos [private]

our gear position

LCreal Eaagles::Instruments::LandingGear::gearDV [private]

our gear down indicator value

LCreal Eaagles::Instruments::LandingGear::gearUV [private]

our gear up indicator value


Generated on Tue Dec 19 16:27:14 2006 for Eaagles by  doxygen 1.5.0