Eaagles::Instruments::CompassRose Class Reference

Inherits Eaagles::BasicGL::LcGraphic.

Inherited by Eaagles::Instruments::BearingPointer.

Inheritance diagram for Eaagles::Instruments::CompassRose:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CompassRose ()
virtual bool setRotationDeg (const LCreal newR)
virtual bool setRotationRad (const LCreal newR)
virtual bool setCenteredRadius (const LCreal newR)
virtual bool setDeCenteredRadius (const LCreal newDR)
virtual bool setDisplacement (const LCreal newD)
virtual bool setCentered (const bool newC)
LCreal getRotationDeg ()
LCreal getRotationRad ()
LCreal getCenteredRadius ()
LCreal getDeCenteredRadius ()
bool isCentered ()
LCreal getDisplacement ()
virtual void draw ()
virtual void updateData (const LCreal dt=0)
virtual bool event (const int event, Basic::LcObject *const obj=0)

Protected Member Functions

virtual bool setSlotCenteredRadius (const Basic::LcNumber *const newR)
virtual bool setSlotDeCenteredRadius (const Basic::LcNumber *const newR)
virtual bool setSlotDisplacement (const Basic::LcNumber *const newD)

Private Member Functions

bool onEventSetRotationDegCompassRose (const Basic::LcNumber *const x)
bool onEventSetRotationRadCompassRose (const Basic::LcNumber *const x)
bool onEventSetCenteredRadiusCompassRose (const Basic::LcNumber *const x)
bool onEventSetDecenteredRadiusCompassRose (const Basic::LcNumber *const x)
bool onEventSetDisplacementCompassRose (const Basic::LcNumber *const x)
bool onEventSetIsCenteredCompassRose (const Basic::LcNumber *const x)

Private Attributes

LCreal rot
LCreal cenRadius
LCreal decRadius
bool centered
LCreal displacement
SendData lTicksSD
SendData sTicksSD
SendData dialSD

Constructor & Destructor Documentation

Eaagles::Instruments::CompassRose::CompassRose (  ) 


Member Function Documentation

bool Eaagles::Instruments::CompassRose::setRotationDeg ( const LCreal  newR  )  [virtual]

Sets the rotation angle in degrees.

bool Eaagles::Instruments::CompassRose::setRotationRad ( const LCreal  newR  )  [virtual]

Sets the rotation angle in radians.

bool Eaagles::Instruments::CompassRose::setCenteredRadius ( const LCreal  newR  )  [virtual]

Sets the the centered radius (inches).

bool Eaagles::Instruments::CompassRose::setDeCenteredRadius ( const LCreal  newDR  )  [virtual]

Sets the the decentered radius (inches).

bool Eaagles::Instruments::CompassRose::setDisplacement ( const LCreal  newD  )  [virtual]

Sets the displacement value.

bool Eaagles::Instruments::CompassRose::setCentered ( const bool  newC  )  [virtual]

Sets the value of centered flag.

LCreal Eaagles::Instruments::CompassRose::getRotationDeg (  )  [inline]

Returns the rotation angle in degrees.

LCreal Eaagles::Instruments::CompassRose::getRotationRad (  )  [inline]

Returns the rotation angle in radians.

LCreal Eaagles::Instruments::CompassRose::getCenteredRadius (  )  [inline]

Returns the centered radius (inches).

LCreal Eaagles::Instruments::CompassRose::getDeCenteredRadius (  )  [inline]

Returns the decentered radius (inches).

bool Eaagles::Instruments::CompassRose::isCentered (  )  [inline]

Returns the value of centered flag.

LCreal Eaagles::Instruments::CompassRose::getDisplacement (  )  [inline]

Returns the displacement (how far to translate when we go decentered (inches)).

void Eaagles::Instruments::CompassRose::draw (  )  [virtual]

BasicGL::LcGraphic interface - draws the object(s) using the graphic matrix.

Reimplemented from Eaagles::BasicGL::LcGraphic.

Reimplemented in Eaagles::Instruments::BearingPointer.

void Eaagles::Instruments::CompassRose::updateData ( const LCreal  dt = 0  )  [virtual]

Basic::LcComponent interface - update our non time-critical stuff here.

Reimplemented from Eaagles::Basic::LcComponent.

Reimplemented in Eaagles::Instruments::BearingPointer.

virtual bool Eaagles::Instruments::CompassRose::event ( const int  event,
Basic::LcObject *const   obj = 0 
) [virtual]

Sends the 'event' message with optional argument 'obj'. Returns true if the 'event' has been received and used. Derived classes will provided event() handlers, as needed. Event() can be called from an updateTC() routines, therefore,the event message must be processed quickly (i.e., no waits)

Reimplemented from Eaagles::Basic::LcComponent.

Reimplemented in Eaagles::Instruments::BearingPointer.

bool Eaagles::Instruments::CompassRose::setSlotCenteredRadius ( const Basic::LcNumber *const  newR  )  [protected, virtual]

slot functions

bool Eaagles::Instruments::CompassRose::setSlotDeCenteredRadius ( const Basic::LcNumber *const  newR  )  [protected, virtual]

bool Eaagles::Instruments::CompassRose::setSlotDisplacement ( const Basic::LcNumber *const  newD  )  [protected, virtual]

bool Eaagles::Instruments::CompassRose::onEventSetRotationDegCompassRose ( const Basic::LcNumber *const  x  )  [private]

event functions

bool Eaagles::Instruments::CompassRose::onEventSetRotationRadCompassRose ( const Basic::LcNumber *const  x  )  [private]

bool Eaagles::Instruments::CompassRose::onEventSetCenteredRadiusCompassRose ( const Basic::LcNumber *const  x  )  [private]

bool Eaagles::Instruments::CompassRose::onEventSetDecenteredRadiusCompassRose ( const Basic::LcNumber *const  x  )  [private]

bool Eaagles::Instruments::CompassRose::onEventSetDisplacementCompassRose ( const Basic::LcNumber *const  x  )  [private]

bool Eaagles::Instruments::CompassRose::onEventSetIsCenteredCompassRose ( const Basic::LcNumber *const  x  )  [private]


Member Data Documentation

LCreal Eaagles::Instruments::CompassRose::rot [private]

rotation angle (rads)

LCreal Eaagles::Instruments::CompassRose::cenRadius [private]

our centered radius (inches)

LCreal Eaagles::Instruments::CompassRose::decRadius [private]

our decentered radius (inches)

bool Eaagles::Instruments::CompassRose::centered [private]

centered flag

LCreal Eaagles::Instruments::CompassRose::displacement [private]

how far to translate when we go decentered (inches)

SendData Eaagles::Instruments::CompassRose::lTicksSD [private]

SendData Eaagles::Instruments::CompassRose::sTicksSD [private]

SendData Eaagles::Instruments::CompassRose::dialSD [private]


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