FlightGear next
DME Class Reference

Model a DME radio. More...

#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

- Protected Member Functions inherited from AbstractInstrument
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
 

Detailed Description

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

Definition at line 37 of file dme.hxx.

Constructor & Destructor Documentation

◆ DME()

DME::DME ( SGPropertyNode * node)

Definition at line 78 of file dme.cxx.

◆ ~DME()

DME::~DME ( )
virtual

Definition at line 88 of file dme.cxx.

Member Function Documentation

◆ init()

void DME::init ( )
override

Definition at line 94 of file dme.cxx.

◆ reinit()

void DME::reinit ( )
override

Definition at line 135 of file dme.cxx.

◆ staticSubsystemClassId()

static const char * DME::staticSubsystemClassId ( )
inlinestatic

Definition at line 49 of file dme.hxx.

◆ update()

void DME::update ( double delta_time_sec)
override

Definition at line 142 of file dme.cxx.


The documentation for this class was generated from the following files: