FlightGear next
|
#include <generic.hxx>
Inherits FGProtocol.
Classes | |
struct | _serial_prot |
Public Member Functions | |
FGGeneric (std::vector< std::string >) | |
~FGGeneric () | |
bool | gen_message () |
bool | parse_message_len (int length) |
bool | open () |
void | reinit () |
bool | process () |
bool | close () |
void | setExitOnError (bool val) |
bool | getExitOnError () |
bool | getInitOk (void) |
![]() | |
FGProtocol () | |
virtual | ~FGProtocol () |
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 | 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 |
Protected Types | |
enum | e_type { FG_BOOL = 0 , FG_INT , FG_FLOAT , FG_DOUBLE , FG_STRING , FG_FIXED , FG_BYTE , FG_WORD } |
Definition at line 17 of file generic.hxx.
|
protected |
Enumerator | |
---|---|
FG_BOOL | |
FG_INT | |
FG_FLOAT | |
FG_DOUBLE | |
FG_STRING | |
FG_FIXED | |
FG_BYTE | |
FG_WORD |
Definition at line 42 of file generic.hxx.
FGGeneric::FGGeneric | ( | std::vector< std::string > | tokens | ) |
Definition at line 210 of file generic.cxx.
FGGeneric::~FGGeneric | ( | ) |
Definition at line 239 of file generic.cxx.
|
virtual |
Reimplemented from FGProtocol.
Definition at line 716 of file generic.cxx.
|
virtual |
Reimplemented from FGProtocol.
Definition at line 460 of file generic.cxx.
|
inline |
Definition at line 38 of file generic.hxx.
|
inline |
Definition at line 39 of file generic.hxx.
|
virtual |
Reimplemented from FGProtocol.
Definition at line 619 of file generic.cxx.
bool FGGeneric::parse_message_len | ( | int | length | ) |
Definition at line 609 of file generic.cxx.
|
virtual |
Reimplemented from FGProtocol.
Definition at line 649 of file generic.cxx.
|
virtual |
Reimplemented from FGProtocol.
Definition at line 739 of file generic.cxx.
|
inline |
Definition at line 37 of file generic.hxx.