FlightGear next
AbstractInstrument Class Reference

#include <AbstractInstrument.hxx>

Inherits SGSubsystem.

Inherited by ADF, AttitudeIndicatorElectric, DME, FGMarkerBeacon, FGNavRadio, HeadingIndicatorDG, HeadingIndicatorFG, Instrumentation::CommRadio, Transponder, and TurnIndicator.

Protected Member Functions

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

Definition at line 29 of file AbstractInstrument.hxx.

Member Function Documentation

◆ initServicePowerProperties()

void AbstractInstrument::initServicePowerProperties ( SGPropertyNode * node)
protected

Definition at line 48 of file AbstractInstrument.cxx.

◆ isPowerSwitchOn()

bool AbstractInstrument::isPowerSwitchOn ( ) const
protectedvirtual

Reimplemented in Transponder.

Definition at line 97 of file AbstractInstrument.cxx.

◆ isServiceableAndPowered()

bool AbstractInstrument::isServiceableAndPowered ( ) const
protected

Definition at line 76 of file AbstractInstrument.cxx.

◆ name()

std::string AbstractInstrument::name ( ) const
inlineprotected

Definition at line 45 of file AbstractInstrument.hxx.

◆ nodePath()

std::string AbstractInstrument::nodePath ( ) const
protected

Definition at line 43 of file AbstractInstrument.cxx.

◆ number()

int AbstractInstrument::number ( ) const
inlineprotected

Definition at line 46 of file AbstractInstrument.hxx.

◆ readConfig()

void AbstractInstrument::readConfig ( SGPropertyNode * config,
std::string defaultName )
protected

Definition at line 24 of file AbstractInstrument.cxx.

◆ setDefaultPowerSupplyPath()

void AbstractInstrument::setDefaultPowerSupplyPath ( const std::string & p)
protected

specify the default path to use to power the instrument, if it's non- standard.

Definition at line 87 of file AbstractInstrument.cxx.

◆ setMinimumSupplyVolts()

void AbstractInstrument::setMinimumSupplyVolts ( double v)
protected

Definition at line 92 of file AbstractInstrument.cxx.

◆ unbind()

void AbstractInstrument::unbind ( )
overrideprotected

Definition at line 68 of file AbstractInstrument.cxx.


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