|
FlightGear next
|
Property server class. More...
#include <propsProtocol.hxx>
Inherits FGProtocol, simgear::NetChannel, and SGPropertyChangeListener.
Classes | |
| class | PropsChannel |
| Props connection class. More... | |
Public Member Functions | |
| FGProps (const std::vector< std::string > &tokens) | |
| Create a new TCP server. | |
| ~FGProps () | |
| Destructor. | |
| bool | open () override |
| Start the telnet server. | |
| bool | process () override |
| Process network activity. | |
| bool | close () override |
| void | handleAccept () override |
| Accept a new client connection. | |
| void | removeChannel (PropsChannel *channel) |
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 |
Property server class.
This class provides a telnet-like server for remote access to FlightGear properties.
Definition at line 24 of file propsProtocol.hxx.
| FGProps::FGProps | ( | const std::vector< std::string > & | tokens | ) |
Create a new TCP server.
| tokens | Tokenized configuration parameters |
Definition at line 742 of file propsProtocol.cxx.
| FGProps::~FGProps | ( | ) |
Destructor.
Definition at line 770 of file propsProtocol.cxx.
|
overridevirtual |
Reimplemented from FGProtocol.
Definition at line 817 of file propsProtocol.cxx.
|
override |
Accept a new client connection.
Definition at line 853 of file propsProtocol.cxx.
|
overridevirtual |
Start the telnet server.
Reimplemented from FGProtocol.
Definition at line 781 of file propsProtocol.cxx.
|
overridevirtual |
Process network activity.
Reimplemented from FGProtocol.
Definition at line 839 of file propsProtocol.cxx.
| void FGProps::removeChannel | ( | FGProps::PropsChannel * | channel | ) |
Definition at line 864 of file propsProtocol.cxx.