FlightGear next
FGOpenGC Class Reference

#include <opengc.hxx>

Inherits FGProtocol.

Public Member Functions

 FGOpenGC ()
 
 ~FGOpenGC ()
 
bool open ()
 
bool process ()
 
bool close ()
 
void collect_data (ogcFGData *data)
 
- 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 40 of file opengc.hxx.

Constructor & Destructor Documentation

◆ FGOpenGC()

FGOpenGC::FGOpenGC ( )

Definition at line 47 of file opengc.cxx.

◆ ~FGOpenGC()

FGOpenGC::~FGOpenGC ( )

Definition at line 107 of file opengc.cxx.

Member Function Documentation

◆ close()

bool FGOpenGC::close ( )
virtual

Reimplemented from FGProtocol.

Definition at line 324 of file opengc.cxx.

◆ collect_data()

void FGOpenGC::collect_data ( ogcFGData * data)

Definition at line 132 of file opengc.cxx.

◆ open()

bool FGOpenGC::open ( )
virtual

Reimplemented from FGProtocol.

Definition at line 112 of file opengc.cxx.

◆ process()

bool FGOpenGC::process ( )
virtual

Reimplemented from FGProtocol.

Definition at line 294 of file opengc.cxx.


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