FlightGear next
fgcom.cxx File Reference
#include <config.h>
#include "fgcom.hxx"
#include <cstdio>
#include <simgear/compiler.h>
#include <simgear/sg_inlines.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/timing/timestamp.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <ATC/CommStation.hxx>
#include <Airports/airport.hxx>
#include <Navaids/navlist.hxx>
#include <Main/sentryIntegration.hxx>
#include <iaxclient.h>

Go to the source code of this file.

Macros

#define NUM_CALLS   4
 
#define MAX_GND_RANGE   10.0
 
#define MAX_TWR_RANGE   50.0
 
#define MAX_RANGE   100.0
 
#define MIN_RANGE   20.0
 
#define MIN_GNDTWR_RANGE   0.0
 
#define DEFAULT_SERVER   "fgcom.flightgear.org"
 
#define IAX_DELAY   300
 
#define TEST_FREQ   910.00
 
#define NULL_ICAO   "ZZZZ"
 

Functions

static int iaxc_callback (iaxc_event e)
 
SGSubsystemMgr::Registrant< FGComregistrantFGCom (SGSubsystemMgr::SOUND)
 

Variables

const int special_freq []
 
static FGComstatic_instance = NULL
 

Macro Definition Documentation

◆ DEFAULT_SERVER

#define DEFAULT_SERVER   "fgcom.flightgear.org"

Definition at line 50 of file fgcom.cxx.

◆ IAX_DELAY

#define IAX_DELAY   300

Definition at line 51 of file fgcom.cxx.

◆ MAX_GND_RANGE

#define MAX_GND_RANGE   10.0

Definition at line 45 of file fgcom.cxx.

◆ MAX_RANGE

#define MAX_RANGE   100.0

Definition at line 47 of file fgcom.cxx.

◆ MAX_TWR_RANGE

#define MAX_TWR_RANGE   50.0

Definition at line 46 of file fgcom.cxx.

◆ MIN_GNDTWR_RANGE

#define MIN_GNDTWR_RANGE   0.0

Definition at line 49 of file fgcom.cxx.

◆ MIN_RANGE

#define MIN_RANGE   20.0

Definition at line 48 of file fgcom.cxx.

◆ NULL_ICAO

#define NULL_ICAO   "ZZZZ"

Definition at line 53 of file fgcom.cxx.

◆ NUM_CALLS

#define NUM_CALLS   4

Definition at line 44 of file fgcom.cxx.

◆ TEST_FREQ

#define TEST_FREQ   910.00

Definition at line 52 of file fgcom.cxx.

Function Documentation

◆ iaxc_callback()

static int iaxc_callback ( iaxc_event e)
static

Definition at line 68 of file fgcom.cxx.

◆ registrantFGCom()

SGSubsystemMgr::Registrant< FGCom > registrantFGCom ( SGSubsystemMgr::SOUND )

Variable Documentation

◆ special_freq

const int special_freq[]
Initial value:
= {
910000,
911000,
700000,
123450,
122750,
121500,
123500 }

Definition at line 55 of file fgcom.cxx.

◆ static_instance

FGCom* static_instance = NULL
static

Definition at line 64 of file fgcom.cxx.