FlightGear next
FGRAY Class Reference

#include <ray.hxx>

Inherits FGProtocol.

Public Member Functions

 FGRAY ()
 
 ~FGRAY ()
 
bool gen_message ()
 
bool parse_message ()
 
bool process ()
 
- Public Member Functions inherited from FGProtocol
 FGProtocol ()
 
virtual ~FGProtocol ()
 
virtual bool open ()
 
virtual bool close ()
 
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 ()
 
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 35 of file ray.hxx.

Constructor & Destructor Documentation

◆ FGRAY()

FGRAY::FGRAY ( )

Definition at line 36 of file ray.cxx.

◆ ~FGRAY()

FGRAY::~FGRAY ( )

Definition at line 47 of file ray.cxx.

Member Function Documentation

◆ gen_message()

bool FGRAY::gen_message ( )
virtual

Reimplemented from FGProtocol.

Definition at line 67 of file ray.cxx.

◆ parse_message()

bool FGRAY::parse_message ( )
virtual

Reimplemented from FGProtocol.

Definition at line 202 of file ray.cxx.

◆ process()

bool FGRAY::process ( )
virtual

Reimplemented from FGProtocol.

Definition at line 210 of file ray.cxx.


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