FlightGear next
FGNativeCtrls Class Reference

#include <native_ctrls.hxx>

Inherits FGProtocol.

Public Member Functions

 FGNativeCtrls ()=default
 
 ~FGNativeCtrls ()=default
 
bool open ()
 
bool process ()
 
bool close ()
 
- 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 39 of file native_ctrls.hxx.

Constructor & Destructor Documentation

◆ FGNativeCtrls()

FGNativeCtrls::FGNativeCtrls ( )
default

◆ ~FGNativeCtrls()

FGNativeCtrls::~FGNativeCtrls ( )
default

Member Function Documentation

◆ close()

bool FGNativeCtrls::close ( )
virtual

Reimplemented from FGProtocol.

Definition at line 129 of file native_ctrls.cxx.

◆ open()

bool FGNativeCtrls::open ( )
virtual

Reimplemented from FGProtocol.

Definition at line 52 of file native_ctrls.cxx.

◆ process()

bool FGNativeCtrls::process ( )
virtual

Reimplemented from FGProtocol.

Definition at line 79 of file native_ctrls.cxx.

Member Data Documentation

◆ dds

FG_DDS_Ctrls FGNativeCtrls::dds

Definition at line 42 of file native_ctrls.hxx.

◆ net

FGNetCtrls FGNativeCtrls::net

Definition at line 43 of file native_ctrls.hxx.


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