Eaagles::Dafif::Navaid Class Reference

Inherits Eaagles::Dafif::DafifRecord.

Inheritance diagram for Eaagles::Dafif::Navaid:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Dafif::Navaid:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { RECORD_LENGTH = NAVAID_RECORD_LEN }
enum  NavaidType {
  INVALID = -1, ANY = 'Z', VOR = '1', VORTAC = '2',
  TACAN = '3', VOR_DME = '4', NDB = '5', NDB_DME = '7',
  DME = '9'
}

Public Member Functions

 Navaid ()
 Navaid (const char *const s)
virtual NavaidType navaidType () const
virtual int isNavaidType (const NavaidType type) const
int keyCode () const
float frequency () const
int channel () const
char channelType () const
float power () const
void radioClass (char rc[]) const
float range () const
float slaveVariance () const
void getTrueBearingRange (const double aclat, const double aclon, const double acelev, bool *bearingIsValid, double *bearing, bool *rangeIsValid, double *range, double *grdrange) const
virtual void printRecord (std::ostream &sout) const
virtual void printTrueBearingRange (std::ostream &sout, const double aclat, const double aclon, const double acelev) const

Static Private Attributes

static const Ptbl ptable

Member Enumeration Documentation

anonymous enum

Enumerator:
RECORD_LENGTH 

enum Eaagles::Dafif::Navaid::NavaidType

Enumerator:
INVALID 
ANY 
VOR 
VORTAC 
TACAN 
VOR_DME 
NDB 
NDB_DME 
DME 


Constructor & Destructor Documentation

Eaagles::Dafif::Navaid::Navaid (  ) 

Eaagles::Dafif::Navaid::Navaid ( const char *const  s  ) 


Member Function Documentation

Navaid::NavaidType Eaagles::Dafif::Navaid::navaidType (  )  const [virtual]

Returns the NAVAID type.

int Eaagles::Dafif::Navaid::isNavaidType ( const NavaidType  type  )  const [virtual]

Returns true if 'type' is equal to the NAVAID type.

int Eaagles::Dafif::Navaid::keyCode (  )  const [inline]

returns the value of the NAVAID Key Code field

float Eaagles::Dafif::Navaid::frequency (  )  const [inline]

returns the value of the frequency field

int Eaagles::Dafif::Navaid::channel (  )  const [inline]

returns the value of the channel field

char Eaagles::Dafif::Navaid::channelType (  )  const [inline]

returns the value of the channel type field

float Eaagles::Dafif::Navaid::power (  )  const [inline]

returns the value of the Power field.

void Eaagles::Dafif::Navaid::radioClass ( char  rc[]  )  const [inline]

returns the value of the radio class field

float Eaagles::Dafif::Navaid::range (  )  const [inline]

returns the value of the Range field.

float Eaagles::Dafif::Navaid::slaveVariance (  )  const [inline]

returns the value of the slave variance field

void Eaagles::Dafif::Navaid::getTrueBearingRange ( const double  aclat,
const double  aclon,
const double  acelev,
bool *  bearingIsValid,
double *  bearing,
bool *  rangeIsValid,
double *  range,
double *  grdrange 
) const

void Eaagles::Dafif::Navaid::printRecord ( std::ostream &  sout  )  const [virtual]

DafifRecord interface.

Reimplemented from Eaagles::Dafif::DafifRecord.

void Eaagles::Dafif::Navaid::printTrueBearingRange ( std::ostream &  sout,
const double  aclat,
const double  aclon,
const double  acelev 
) const [virtual]

Reimplemented from Eaagles::Dafif::DafifRecord.


Member Data Documentation

const Navaid::Ptbl Eaagles::Dafif::Navaid::ptable [static, private]


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