FlightGear next
FGAV400WSimB Class Reference

#include <AV400WSim.hxx>

Inherits FGProtocol.

Public Member Functions

 FGAV400WSimB ()
 
 ~FGAV400WSimB ()
 
bool gen_hostid_message ()
 
bool gen_sbas_message ()
 
bool gen_Wh_message ()
 
bool gen_Wx_message ()
 
bool gen_Wt_message ()
 
bool gen_Wm_message ()
 
bool gen_Wv_message ()
 
bool verify_checksum (std::string message, int datachars)
 
std::string asciitize_message (std::string message)
 
std::string buffer_to_string ()
 
bool parse_message ()
 
bool open ()
 
bool process ()
 
bool close ()
 
double get_hz2 () const
 
void set_hz2 (double t)
 
- 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 ()
 
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 74 of file AV400WSim.hxx.

Constructor & Destructor Documentation

◆ FGAV400WSimB()

FGAV400WSimB::FGAV400WSimB ( )

Definition at line 246 of file AV400WSim.cxx.

◆ ~FGAV400WSimB()

FGAV400WSimB::~FGAV400WSimB ( )

Definition at line 263 of file AV400WSim.cxx.

Member Function Documentation

◆ asciitize_message()

std::string FGAV400WSimB::asciitize_message ( std::string message)

Definition at line 642 of file AV400WSim.cxx.

◆ buffer_to_string()

std::string FGAV400WSimB::buffer_to_string ( )

Definition at line 662 of file AV400WSim.cxx.

◆ close()

bool FGAV400WSimB::close ( )
virtual

Reimplemented from FGProtocol.

Definition at line 1021 of file AV400WSim.cxx.

◆ gen_hostid_message()

bool FGAV400WSimB::gen_hostid_message ( )

Definition at line 268 of file AV400WSim.cxx.

◆ gen_sbas_message()

bool FGAV400WSimB::gen_sbas_message ( )

Definition at line 301 of file AV400WSim.cxx.

◆ gen_Wh_message()

bool FGAV400WSimB::gen_Wh_message ( )

Definition at line 327 of file AV400WSim.cxx.

◆ gen_Wm_message()

bool FGAV400WSimB::gen_Wm_message ( )

Definition at line 516 of file AV400WSim.cxx.

◆ gen_Wt_message()

bool FGAV400WSimB::gen_Wt_message ( )

Definition at line 412 of file AV400WSim.cxx.

◆ gen_Wv_message()

bool FGAV400WSimB::gen_Wv_message ( )

Definition at line 565 of file AV400WSim.cxx.

◆ gen_Wx_message()

bool FGAV400WSimB::gen_Wx_message ( )

Definition at line 371 of file AV400WSim.cxx.

◆ get_hz2()

double FGAV400WSimB::get_hz2 ( ) const
inline

Definition at line 131 of file AV400WSim.hxx.

◆ open()

bool FGAV400WSimB::open ( )
virtual

Reimplemented from FGProtocol.

Definition at line 804 of file AV400WSim.cxx.

◆ parse_message()

bool FGAV400WSimB::parse_message ( )
virtual

Reimplemented from FGProtocol.

Definition at line 674 of file AV400WSim.cxx.

◆ process()

bool FGAV400WSimB::process ( )
virtual

Reimplemented from FGProtocol.

Definition at line 825 of file AV400WSim.cxx.

◆ set_hz2()

void FGAV400WSimB::set_hz2 ( double t)
inline

Definition at line 132 of file AV400WSim.hxx.

◆ verify_checksum()

bool FGAV400WSimB::verify_checksum ( std::string message,
int datachars )

Definition at line 619 of file AV400WSim.cxx.


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