FlightGear next
|
#include <ATISEncoder.hxx>
Inherits ATCSpeech.
Public Member Functions | |
ATISEncoder () | |
virtual | ~ATISEncoder () |
virtual std::string | encodeATIS (ATISInformationProvider *atisInformationProvider) |
Protected Types | |
typedef std::string(ATISEncoder::* | handler_t) (SGPropertyNode_ptr baseNode) |
typedef std::map< std::string, handler_t > | HandlerMap |
Protected Member Functions | |
virtual std::string | getAtisId (SGPropertyNode_ptr) |
virtual std::string | getAirportName (SGPropertyNode_ptr) |
virtual std::string | getTime (SGPropertyNode_ptr) |
virtual std::string | getApproachType (SGPropertyNode_ptr) |
virtual std::string | getLandingRunway (SGPropertyNode_ptr) |
virtual std::string | getTakeoffRunway (SGPropertyNode_ptr) |
virtual std::string | getTransitionLevel (SGPropertyNode_ptr) |
virtual std::string | getWindDirection (SGPropertyNode_ptr) |
virtual std::string | getWindMinDirection (SGPropertyNode_ptr) |
virtual std::string | getWindMaxDirection (SGPropertyNode_ptr) |
virtual std::string | getWindspeedKnots (SGPropertyNode_ptr) |
virtual std::string | getGustsKnots (SGPropertyNode_ptr) |
virtual std::string | getCavok (SGPropertyNode_ptr) |
virtual std::string | getVisibilityMetric (SGPropertyNode_ptr) |
virtual std::string | getVisibilityMiles (SGPropertyNode_ptr) |
virtual std::string | getPhenomena (SGPropertyNode_ptr) |
virtual std::string | getClouds (SGPropertyNode_ptr) |
virtual std::string | getCloudsBrief (SGPropertyNode_ptr) |
virtual std::string | getTemperatureDeg (SGPropertyNode_ptr) |
virtual std::string | getDewpointDeg (SGPropertyNode_ptr) |
virtual std::string | getQnh (SGPropertyNode_ptr) |
virtual std::string | getInhgInteger (SGPropertyNode_ptr) |
virtual std::string | getInhgFraction (SGPropertyNode_ptr) |
virtual std::string | getInhg (SGPropertyNode_ptr) |
virtual std::string | getTrend (SGPropertyNode_ptr) |
std::string | processTokens (SGPropertyNode_ptr baseNode) |
std::string | processToken (SGPropertyNode_ptr baseNode) |
std::string | processTextToken (SGPropertyNode_ptr baseNode) |
std::string | processTokenToken (SGPropertyNode_ptr baseNode) |
std::string | processIfToken (SGPropertyNode_ptr baseNode) |
bool | checkEmptyCondition (SGPropertyNode_ptr node, bool isEmpty) |
bool | checkCondition (SGPropertyNode_ptr node, bool notInverted, bool(*fp)(const std::string &, const std::string &), const std::string &name) |
Static Protected Member Functions | |
static bool | contains (const std::string &s, const std::string &substring) |
static bool | equals (const std::string &s1, const std::string &s2) |
Protected Attributes | |
HandlerMap | handlerMap |
SGPropertyNode_ptr | atisSchemaNode |
FGAirportRef | airport |
ATISInformationProvider * | _atis {nullptr} |
Additional Inherited Members | |
![]() | |
static std::string | getSpokenDigit (int i) |
static std::string | getSpokenNumber (std::string number) |
static std::string | getSpokenNumber (int number, bool leadingZero=false, int digits=1) |
static std::string | getSpokenAltitude (int altitude) |
Definition at line 60 of file ATISEncoder.hxx.
|
protected |
Definition at line 94 of file ATISEncoder.hxx.
|
protected |
Definition at line 95 of file ATISEncoder.hxx.
ATISEncoder::ATISEncoder | ( | ) |
Definition at line 125 of file ATISEncoder.cxx.
|
virtual |
Definition at line 159 of file ATISEncoder.cxx.
|
protected |
Definition at line 346 of file ATISEncoder.cxx.
|
protected |
Definition at line 336 of file ATISEncoder.cxx.
|
inlinestaticprotected |
Definition at line 112 of file ATISEncoder.hxx.
|
virtual |
Definition at line 187 of file ATISEncoder.cxx.
|
inlinestaticprotected |
Definition at line 116 of file ATISEncoder.hxx.
|
protectedvirtual |
Definition at line 384 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 402 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 374 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 496 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 535 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 551 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 571 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 490 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 594 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 587 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 581 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 415 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 530 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 576 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 427 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 566 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 389 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 433 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 602 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 503 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 516 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 467 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 480 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 475 of file ATISEncoder.cxx.
|
protectedvirtual |
Definition at line 485 of file ATISEncoder.cxx.
|
protected |
Definition at line 265 of file ATISEncoder.cxx.
|
protected |
Definition at line 249 of file ATISEncoder.cxx.
|
protected |
Definition at line 238 of file ATISEncoder.cxx.
|
protected |
Definition at line 227 of file ATISEncoder.cxx.
|
protected |
Definition at line 254 of file ATISEncoder.cxx.
|
protected |
Definition at line 126 of file ATISEncoder.hxx.
|
protected |
Definition at line 125 of file ATISEncoder.hxx.
|
protected |
Definition at line 98 of file ATISEncoder.hxx.
|
protected |
Definition at line 96 of file ATISEncoder.hxx.