Inherited by Eaagles::Simulation::IlsRadio, and Eaagles::Simulation::TacanRadio.
Inheritance diagram for Eaagles::Simulation::NavRadio:


Public Member Functions | |
| NavRadio () | |
| double | getLatitude () const |
| double | getLongitude () const |
| LCreal | getAltitude () const |
| virtual void | setPosition (const double lat, const double lon, const LCreal alt) |
| Dafif::NavaidLoader * | getNavaidLoader () |
| virtual bool | setNavaidLoader (Dafif::NavaidLoader *const n) |
| Dafif::AirportLoader * | getAirportLoader () |
| virtual bool | setAirportLoader (Dafif::AirportLoader *const a) |
| virtual void | updateData (const LCreal dt=0.000000) |
Private Attributes | |
| Dafif::AirportLoader * | apdb |
| Dafif::NavaidLoader * | nvdb |
| double | latitude |
| double | longitude |
| LCreal | altitude |
| bool | isTuned |
| bool | isInRange |
General class for all navigation radio models
NavRadio Notes:::
## Constructors need to init ALL member variables!!
## Made member variables private!!
## made several "set" functions virtual and/or public
## changed {}'s
## changed several pointers from "int *x" to "const int* x"
## changed some variable types from "float" to "LCreal"
## Removed Abstract classes
## removed "isOn"
## removed getRangeBearing() declaration from IlsRadio
## Prompted the channel and frequency arguments up to the Radio class
-- change slots "currentChannel" and "currentFrequency" to just "channel" and "frequency"
| Eaagles::Simulation::NavRadio::NavRadio | ( | ) |
| double Eaagles::Simulation::NavRadio::getLatitude | ( | ) | const [inline] |
| double Eaagles::Simulation::NavRadio::getLongitude | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::NavRadio::getAltitude | ( | ) | const [inline] |
| void Eaagles::Simulation::NavRadio::setPosition | ( | const double | lat, | |
| const double | lon, | |||
| const LCreal | alt | |||
| ) | [virtual] |
Sets the position of the vehicle.
| Dafif::NavaidLoader* Eaagles::Simulation::NavRadio::getNavaidLoader | ( | ) | [inline] |
| bool Eaagles::Simulation::NavRadio::setNavaidLoader | ( | Dafif::NavaidLoader *const | n | ) | [virtual] |
Passes in the pointer to the Navaid Pointer.
| Dafif::AirportLoader* Eaagles::Simulation::NavRadio::getAirportLoader | ( | ) | [inline] |
| bool Eaagles::Simulation::NavRadio::setAirportLoader | ( | Dafif::AirportLoader *const | a | ) | [virtual] |
Passes in the pointer to the Airport Loader.
| void Eaagles::Simulation::NavRadio::updateData | ( | const LCreal | dt = 0.000000 |
) | [virtual] |
Basic::LcComponent interface.
Reimplemented in Eaagles::Simulation::TacanRadio, and Eaagles::Simulation::IlsRadio.
Pointer to Airport loader.
Pointer to Navaid loader.
double Eaagles::Simulation::NavRadio::latitude [private] |
Ownship Latitude.
double Eaagles::Simulation::NavRadio::longitude [private] |
Ownship Longitude.
Ownship altitude (ft).
bool Eaagles::Simulation::NavRadio::isTuned [private] |
The radio is receiving the signal of the Nav Aid.
bool Eaagles::Simulation::NavRadio::isInRange [private] |
The radio is within range of the Nav aid.
1.5.0