FlightGear next
Environment::NoaaMetarRealWxController Class Reference

Inherits Environment::BasicRealWxController, and Environment::MetarRequester.

Public Member Functions

 NoaaMetarRealWxController (SGPropertyNode_ptr rootNode)
 
virtual void requestMetar (LiveMetarProperties_ptr metarDataHandler, const std::string &id)
 
virtual ~NoaaMetarRealWxController ()
 
- Public Member Functions inherited from Environment::BasicRealWxController
 BasicRealWxController (SGPropertyNode_ptr rootNode, MetarRequester *metarRequester)
 
virtual ~BasicRealWxController ()
 
void bind () override
 
void init () override
 
void reinit () override
 
void shutdown () override
 
void unbind () override
 
void update (double dt) override
 
void addMetarAtPath (const std::string &propPath, const std::string &icao)
 Create a metar-property binding at the specified property path, and initiate a request for the specified station-ID (which may be empty).
 
void removeMetarAtPath (const std::string &propPath)
 
MetarPropertiesList::iterator findMetarAtPath (const std::string &propPath)
 
- Public Member Functions inherited from Environment::RealWxController
virtual ~RealWxController ()
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 
- Static Public Member Functions inherited from Environment::RealWxController
static RealWxControllercreateInstance (SGPropertyNode_ptr rootNode)
 

Additional Inherited Members

- Public Types inherited from Environment::BasicRealWxController
typedef std::vector< LiveMetarProperties_ptrMetarPropertiesList
 
- Protected Member Functions inherited from Environment::BasicRealWxController
void checkNearbyMetar ()
 
long getMetarMaxAgeMin () const
 
- Protected Attributes inherited from Environment::BasicRealWxController
SGPropertyNode_ptr _rootNode
 
SGPropertyNode_ptr _ground_elevation_n
 
SGPropertyNode_ptr _max_age_n
 
bool _enabled
 
bool _wasEnabled
 
simgear::TiedPropertyList _tiedProperties
 
MetarPropertiesList _metarProperties
 
MetarRequester_requester
 

Detailed Description

Definition at line 398 of file realwx_ctrl.cxx.

Constructor & Destructor Documentation

◆ NoaaMetarRealWxController()

Environment::NoaaMetarRealWxController::NoaaMetarRealWxController ( SGPropertyNode_ptr rootNode)

Definition at line 417 of file realwx_ctrl.cxx.

◆ ~NoaaMetarRealWxController()

virtual Environment::NoaaMetarRealWxController::~NoaaMetarRealWxController ( )
inlinevirtual

Definition at line 406 of file realwx_ctrl.cxx.

Member Function Documentation

◆ requestMetar()

void Environment::NoaaMetarRealWxController::requestMetar ( LiveMetarProperties_ptr metarDataHandler,
const std::string & id )
virtual

Implements Environment::MetarRequester.

Definition at line 429 of file realwx_ctrl.cxx.

◆ staticSubsystemClassId()

static const char * Environment::NoaaMetarRealWxController::staticSubsystemClassId ( )
inlinestatic

Definition at line 411 of file realwx_ctrl.cxx.


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