24#include <simgear/debug/logstream.hxx>
25#include <simgear/io/iochannel.hxx>
53 SG_LOG( SG_IO, SG_ALERT,
"This shouldn't happen, but the channel "
54 <<
"is already in use, ignoring" );
61 SG_LOG( SG_IO, SG_ALERT,
"Error opening channel communication layer." );
73 SG_LOG( SG_IO, SG_INFO,
"dummy FGProtocol::process()" );
80 SG_LOG( SG_IO, SG_INFO,
"dummy FGProtocol::close()" );
87 SG_LOG(SG_IO, SG_INFO,
"dummy FGProtocol::reinit()");
96 if ( ! io->close() ) {
106 SG_LOG( SG_IO, SG_INFO,
"dummy FGProtocol::close()" );
114 }
else if ( d ==
"out" || d ==
"broadcast") {
116 }
else if ( d ==
"bi" ) {
SGProtocolDir get_direction() const
SGIOChannel * get_io_channel() const
void set_name(const std::string &n)
virtual bool gen_message()
void set_enabled(const bool b)
void set_direction(const std::string &d)
virtual bool parse_message()