FlightGear next
Transponder Class Reference

#include <transponder.hxx>

Inherits AbstractInstrument, and SGPropertyChangeListener.

Public Member Functions

 Transponder (SGPropertyNode *node)
 
virtual ~Transponder ()
 
void bind () override
 
void init () override
 
void unbind () override
 
void update (double dt) override
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Protected Member Functions

bool isPowerSwitchOn () const override
 
- 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.
 

Detailed Description

Definition at line 34 of file transponder.hxx.

Constructor & Destructor Documentation

◆ Transponder()

Transponder::Transponder ( SGPropertyNode * node)

Definition at line 70 of file transponder.cxx.

◆ ~Transponder()

Transponder::~Transponder ( )
virtual

Definition at line 89 of file transponder.cxx.

Member Function Documentation

◆ bind()

void Transponder::bind ( )
override

Definition at line 156 of file transponder.cxx.

◆ init()

void Transponder::init ( )
override

Definition at line 94 of file transponder.cxx.

◆ isPowerSwitchOn()

bool Transponder::isPowerSwitchOn ( ) const
overrideprotectedvirtual

Reimplemented from AbstractInstrument.

Definition at line 357 of file transponder.cxx.

◆ staticSubsystemClassId()

static const char * Transponder::staticSubsystemClassId ( )
inlinestatic

Definition at line 48 of file transponder.hxx.

◆ unbind()

void Transponder::unbind ( )
override

Definition at line 177 of file transponder.cxx.

◆ update()

void Transponder::update ( double dt)
override

Definition at line 183 of file transponder.cxx.


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