FlightGear next
ATISEncoder.cxx File Reference
#include "ATISEncoder.hxx"
#include <Airports/dynamics.hxx>
#include <Main/globals.hxx>
#include <Main/locale.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/props/props_io.hxx>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  PropertyList
 

Macros

#define SPACE   append(1,' ')
 

Functions

static string NO_ATIS ("nil")
 
static string EMPTY ("")
 
static string getSpokenForm (const string &text)
 
static string getSpokenFormWithDefault (const string &text, const string &defaultValue)
 
SGPropertyNode_ptr findAtisTemplate (const std::string &stationId, SGPropertyNode_ptr atisSchemaNode)
 
static FGRunwayRef findBestRunwayForWind (FGAirportRef airport, int windDeg, int windKt)
 

Macro Definition Documentation

◆ SPACE

#define SPACE   append(1,' ')

Definition at line 37 of file ATISEncoder.cxx.

Function Documentation

◆ EMPTY()

static string EMPTY ( "" )
static

◆ findAtisTemplate()

SGPropertyNode_ptr findAtisTemplate ( const std::string & stationId,
SGPropertyNode_ptr atisSchemaNode )

Definition at line 163 of file ATISEncoder.cxx.

◆ findBestRunwayForWind()

static FGRunwayRef findBestRunwayForWind ( FGAirportRef airport,
int windDeg,
int windKt )
inlinestatic

Definition at line 394 of file ATISEncoder.cxx.

◆ getSpokenForm()

static string getSpokenForm ( const string & text)
static

Definition at line 39 of file ATISEncoder.cxx.

◆ getSpokenFormWithDefault()

static string getSpokenFormWithDefault ( const string & text,
const string & defaultValue )
static

Definition at line 44 of file ATISEncoder.cxx.

◆ NO_ATIS()

static string NO_ATIS ( "nil" )
static