FlightGear next
AirspeedIndicator Class Reference

Model an airspeed indicator tied to the pitot and static ports. More...

#include <airspeed_indicator.hxx>

Inherits SGSubsystem.

Public Member Functions

 AirspeedIndicator (SGPropertyNode *node)
 
virtual ~AirspeedIndicator ()
 
void init () override
 
void reinit () override
 
void update (double dt) override
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Detailed Description

Model an airspeed indicator tied to the pitot and static ports.

Input properties:

/instrumentation/"name"/serviceable "pitot_port"/total-pressure-inhg "static_port"/pressure-inhg /environment/density-slugft3

Output properties:

/instrumentation/"name"/indicated-speed-kt /instrumentation/"name"/true-speed-kt /instrumentation/"name"/indicated-mach

Definition at line 39 of file airspeed_indicator.hxx.

Constructor & Destructor Documentation

◆ AirspeedIndicator()

AirspeedIndicator::AirspeedIndicator ( SGPropertyNode * node)

Definition at line 28 of file airspeed_indicator.cxx.

◆ ~AirspeedIndicator()

AirspeedIndicator::~AirspeedIndicator ( )
virtual

Definition at line 43 of file airspeed_indicator.cxx.

Member Function Documentation

◆ init()

void AirspeedIndicator::init ( )
override

Definition at line 48 of file airspeed_indicator.cxx.

◆ reinit()

void AirspeedIndicator::reinit ( )
override

Definition at line 88 of file airspeed_indicator.cxx.

◆ staticSubsystemClassId()

static const char * AirspeedIndicator::staticSubsystemClassId ( )
inlinestatic

Definition at line 51 of file airspeed_indicator.hxx.

◆ update()

void AirspeedIndicator::update ( double dt)
override

Definition at line 94 of file airspeed_indicator.cxx.


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