FlightGear next
FGATCMain Class Reference

#include <ATC-Main.hxx>

Inherits FGProtocol.

Public Member Functions

 FGATCMain ()
 
 ~FGATCMain ()
 
bool open ()
 
void init_config ()
 
bool process ()
 
bool close ()
 
void set_path_names (const SGPath &in0, const SGPath &in1, const SGPath &out0, const SGPath &out1)
 
- Public Member Functions inherited from FGProtocol
 FGProtocol ()
 
virtual ~FGProtocol ()
 
virtual void reinit ()
 
SGProtocolDir get_direction () const
 
void set_direction (const std::string &d)
 
double get_hz () const
 
void set_hz (double t)
 
double get_count_down () const
 
void set_count_down (double c)
 
void inc_count_down (double amt)
 
void dec_count_down (double amt)
 
void inc_count ()
 
unsigned long get_count ()
 
virtual bool gen_message ()
 
virtual bool parse_message ()
 
bool is_enabled () const
 
void set_enabled (const bool b)
 
SGIOChannel * get_io_channel () const
 
void set_io_channel (SGIOChannel *c)
 
void set_name (const std::string &n)
 
std::string get_name () const
 

Detailed Description

Definition at line 41 of file ATC-Main.hxx.

Constructor & Destructor Documentation

◆ FGATCMain()

FGATCMain::FGATCMain ( )
inline

Definition at line 58 of file ATC-Main.hxx.

◆ ~FGATCMain()

FGATCMain::~FGATCMain ( )
inline

Definition at line 69 of file ATC-Main.hxx.

Member Function Documentation

◆ close()

bool FGATCMain::close ( )
virtual

Reimplemented from FGProtocol.

Definition at line 247 of file ATC-Main.cxx.

◆ init_config()

void FGATCMain::init_config ( )

Definition at line 94 of file ATC-Main.cxx.

◆ open()

bool FGATCMain::open ( )
virtual

Reimplemented from FGProtocol.

Definition at line 113 of file ATC-Main.cxx.

◆ process()

bool FGATCMain::process ( )
virtual

Reimplemented from FGProtocol.

Definition at line 182 of file ATC-Main.cxx.

◆ set_path_names()

void FGATCMain::set_path_names ( const SGPath & in0,
const SGPath & in1,
const SGPath & out0,
const SGPath & out1 )
inline

Definition at line 85 of file ATC-Main.hxx.


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