FlightGear next
|
#include <dme.hxx>
Inherits AbstractInstrument.
Public Member Functions | |
DME (SGPropertyNode *node) | |
virtual | ~DME () |
void | init () override |
void | reinit () override |
void | update (double delta_time_sec) override |
Static Public Member Functions | |
static const char * | staticSubsystemClassId () |
Additional Inherited Members | |
![]() | |
void | readConfig (SGPropertyNode *config, std::string defaultName) |
void | initServicePowerProperties (SGPropertyNode *node) |
bool | isServiceableAndPowered () const |
std::string | nodePath () const |
std::string | name () const |
int | number () const |
void | unbind () override |
void | setMinimumSupplyVolts (double v) |
void | setDefaultPowerSupplyPath (const std::string &p) |
specify the default path to use to power the instrument, if it's non- standard. | |
virtual bool | isPowerSwitchOn () const |
Model a DME radio.
Input properties:
/position/longitude-deg /position/latitude-deg /position/altitude-ft /systems/electrical/outputs/dme /instrumentation/"name"/serviceable /instrumentation/"name"/frequencies/source /instrumentation/"name"/frequencies/selected-mhz
Output properties:
/instrumentation/"name"/in-range /instrumentation/"name"/indicated-distance-nm /instrumentation/"name"/indicated-ground-speed-kt /instrumentation/"name"/indicated-time-kt
|
inlinestatic |