FlightGear next
ATC-Outputs.cxx File Reference
#include <config.h>
#include <simgear/compiler.h>
#include <errno.h>
#include <cmath>
#include <cstdio>
#include <chrono>
#include <string>
#include <thread>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/props/props_io.hxx>
#include <Main/fg_props.hxx>
#include "ATC-Outputs.hxx"

Go to the source code of this file.

Functions

static int ATCLock (int fd)
 
static int ATCRelease (int fd)
 
static int ATCSetAnalogOut (int fd, unsigned char data[48 *2])
 
static int ATCSetRadios (int fd, unsigned char data[48])
 
static int ATCSetStepper (int fd, unsigned char channel, unsigned char value)
 
void ATCSetLamp (int fd, int channel, bool value)
 
static bool navcom1_has_power ()
 
static bool navcom2_has_power ()
 
static bool dme_has_power ()
 
static bool adf_has_power ()
 
static bool xpdr_has_power ()
 

Function Documentation

◆ adf_has_power()

static bool adf_has_power ( )
static

Definition at line 576 of file ATC-Outputs.cxx.

◆ ATCLock()

static int ATCLock ( int fd)
static

Definition at line 59 of file ATC-Outputs.cxx.

◆ ATCRelease()

static int ATCRelease ( int fd)
static

Definition at line 78 of file ATC-Outputs.cxx.

◆ ATCSetAnalogOut()

static int ATCSetAnalogOut ( int fd,
unsigned char data[48 *2] )
static

Definition at line 114 of file ATC-Outputs.cxx.

◆ ATCSetLamp()

void ATCSetLamp ( int fd,
int channel,
bool value )

Definition at line 206 of file ATC-Outputs.cxx.

◆ ATCSetRadios()

static int ATCSetRadios ( int fd,
unsigned char data[48] )
static

Definition at line 135 of file ATC-Outputs.cxx.

◆ ATCSetStepper()

static int ATCSetStepper ( int fd,
unsigned char channel,
unsigned char value )
static

Definition at line 154 of file ATC-Outputs.cxx.

◆ dme_has_power()

static bool dme_has_power ( )
static

Definition at line 569 of file ATC-Outputs.cxx.

◆ navcom1_has_power()

static bool navcom1_has_power ( )
static

Definition at line 549 of file ATC-Outputs.cxx.

◆ navcom2_has_power()

static bool navcom2_has_power ( )
static

Definition at line 559 of file ATC-Outputs.cxx.

◆ xpdr_has_power()

static bool xpdr_has_power ( )
static

Definition at line 586 of file ATC-Outputs.cxx.