FlightGear next
Instrumentation::NavRadioComponent Class Referenceabstract

Inherited by Instrumentation::GS, and Instrumentation::NavRadioComponentWithIdent.

Public Member Functions

 NavRadioComponent (const std::string &name, SGPropertyNode_ptr rootNode)
 
virtual ~NavRadioComponent ()
 
virtual void update (double dt, const SGGeod &aircraftPosition)
 
virtual void search (double frequency, const SGGeod &aircraftPosition)
 
virtual double getRange_nm (const SGGeod &aircraftPosition)
 
virtual void display (NavIndicator &navIndicator)=0
 
virtual bool valid () const
 
virtual const std::string getIdent () const
 

Protected Member Functions

virtual double computeSignalQuality_norm (const SGGeod &aircraftPosition)
 
virtual FGNavList::TypeFiltergetNavaidFilter ()=0
 

Static Protected Member Functions

static double sawtooth (double xx)
 

Protected Attributes

SGPropertyNode_ptr _rootNode
 
const std::string _name
 
FGNavRecord_navRecord
 
PropertyObject< bool > _serviceable
 
PropertyObject< double > _signalQuality_norm
 
PropertyObject< double > _trueBearingTo_deg
 
PropertyObject< double > _trueBearingFrom_deg
 
PropertyObject< double > _trackDistance_m
 
PropertyObject< double > _slantDistance_m
 
PropertyObject< double > _heightAboveStation_ft
 
PropertyObject< std::string > _ident
 
PropertyObject< bool > _inRange
 
PropertyObject< double > _range_nm
 

Detailed Description

Definition at line 138 of file newnavradio.cxx.

Constructor & Destructor Documentation

◆ NavRadioComponent()

Instrumentation::NavRadioComponent::NavRadioComponent ( const std::string & name,
SGPropertyNode_ptr rootNode )

Definition at line 228 of file newnavradio.cxx.

◆ ~NavRadioComponent()

Instrumentation::NavRadioComponent::~NavRadioComponent ( )
virtual

Definition at line 248 of file newnavradio.cxx.

Member Function Documentation

◆ computeSignalQuality_norm()

double Instrumentation::NavRadioComponent::computeSignalQuality_norm ( const SGGeod & aircraftPosition)
protectedvirtual

Reimplemented in Instrumentation::LOC, and Instrumentation::VOR.

Definition at line 274 of file newnavradio.cxx.

◆ display()

virtual void Instrumentation::NavRadioComponent::display ( NavIndicator & navIndicator)
pure virtual

◆ getIdent()

virtual const std::string Instrumentation::NavRadioComponent::getIdent ( ) const
inlinevirtual

Definition at line 148 of file newnavradio.cxx.

◆ getNavaidFilter()

virtual FGNavList::TypeFilter * Instrumentation::NavRadioComponent::getNavaidFilter ( )
protectedpure virtual

◆ getRange_nm()

double Instrumentation::NavRadioComponent::getRange_nm ( const SGGeod & aircraftPosition)
virtual

Reimplemented in Instrumentation::GS, Instrumentation::LOC, and Instrumentation::VOR.

Definition at line 252 of file newnavradio.cxx.

◆ sawtooth()

static double Instrumentation::NavRadioComponent::sawtooth ( double xx)
inlinestaticprotected

Definition at line 162 of file newnavradio.cxx.

◆ search()

void Instrumentation::NavRadioComponent::search ( double frequency,
const SGGeod & aircraftPosition )
virtual

Reimplemented in Instrumentation::GS, and Instrumentation::LOC.

Definition at line 260 of file newnavradio.cxx.

◆ update()

void Instrumentation::NavRadioComponent::update ( double dt,
const SGGeod & aircraftPosition )
virtual

◆ valid()

virtual bool Instrumentation::NavRadioComponent::valid ( ) const
inlinevirtual

Definition at line 147 of file newnavradio.cxx.

Member Data Documentation

◆ _heightAboveStation_ft

PropertyObject<double> Instrumentation::NavRadioComponent::_heightAboveStation_ft
protected

Definition at line 176 of file newnavradio.cxx.

◆ _ident

PropertyObject<std::string> Instrumentation::NavRadioComponent::_ident
protected

Definition at line 177 of file newnavradio.cxx.

◆ _inRange

PropertyObject<bool> Instrumentation::NavRadioComponent::_inRange
protected

Definition at line 178 of file newnavradio.cxx.

◆ _name

const std::string Instrumentation::NavRadioComponent::_name
protected

Definition at line 168 of file newnavradio.cxx.

◆ _navRecord

FGNavRecord* Instrumentation::NavRadioComponent::_navRecord
protected

Definition at line 169 of file newnavradio.cxx.

◆ _range_nm

PropertyObject<double> Instrumentation::NavRadioComponent::_range_nm
protected

Definition at line 179 of file newnavradio.cxx.

◆ _rootNode

SGPropertyNode_ptr Instrumentation::NavRadioComponent::_rootNode
protected

Definition at line 167 of file newnavradio.cxx.

◆ _serviceable

PropertyObject<bool> Instrumentation::NavRadioComponent::_serviceable
protected

Definition at line 170 of file newnavradio.cxx.

◆ _signalQuality_norm

PropertyObject<double> Instrumentation::NavRadioComponent::_signalQuality_norm
protected

Definition at line 171 of file newnavradio.cxx.

◆ _slantDistance_m

PropertyObject<double> Instrumentation::NavRadioComponent::_slantDistance_m
protected

Definition at line 175 of file newnavradio.cxx.

◆ _trackDistance_m

PropertyObject<double> Instrumentation::NavRadioComponent::_trackDistance_m
protected

Definition at line 174 of file newnavradio.cxx.

◆ _trueBearingFrom_deg

PropertyObject<double> Instrumentation::NavRadioComponent::_trueBearingFrom_deg
protected

Definition at line 173 of file newnavradio.cxx.

◆ _trueBearingTo_deg

PropertyObject<double> Instrumentation::NavRadioComponent::_trueBearingTo_deg
protected

Definition at line 172 of file newnavradio.cxx.


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