#include <command.hpp>
| Public Member Functions | |
| void | addCommand (Command *command) | 
| Datasender * | getConnection () const | 
| const std::vector< Command * > & | giveCommands () const | 
| void | process () | 
| void | removeCommand (const char *name) | 
| void | setVersion10 () | 
| TcpReportingInterpreter (Datasender *parent) | |
| ~TcpReportingInterpreter () | |
| Protected Member Functions | |
| unsigned int | parseParameters (std::string &ipt, std::string &cmd, std::string **params) | 
| Protected Attributes | |
| Datasender * | _parent | 
| std::vector< Command * > | cmds | 
| RTT::os::MutexRecursive | commands | 
Reads a line from the client and interprete it.
Definition at line 45 of file command.hpp.
| OCL::TCP::TcpReportingInterpreter::TcpReportingInterpreter | ( | Datasender * | parent | ) | 
After setup, the interpreter will only recognize the command 'VERSION 1.0' by default.
Definition at line 527 of file command.cpp.
| OCL::TCP::TcpReportingInterpreter::~TcpReportingInterpreter | ( | ) | 
Definition at line 536 of file command.cpp.
| void OCL::TCP::TcpReportingInterpreter::addCommand | ( | Command * | command | ) | 
Add support for the given command.
Definition at line 546 of file command.cpp.
| Datasender * OCL::TCP::TcpReportingInterpreter::getConnection | ( | ) | const | 
Get the marshaller associated with the current connection.
Definition at line 570 of file command.cpp.
| const std::vector< Command * > & OCL::TCP::TcpReportingInterpreter::giveCommands | ( | ) | const | 
Return a reference to the command list.
Definition at line 565 of file command.cpp.
| 
 | protected | 
Definition at line 615 of file command.cpp.
| void OCL::TCP::TcpReportingInterpreter::process | ( | ) | 
Definition at line 575 of file command.cpp.
| void OCL::TCP::TcpReportingInterpreter::removeCommand | ( | const char * | name | ) | 
Remove support for the given command name.
Definition at line 644 of file command.cpp.
| void OCL::TCP::TcpReportingInterpreter::setVersion10 | ( | ) | 
Accept all valid commands (except 'VERSION 1.0')
Definition at line 662 of file command.cpp.
| 
 | protected | 
Definition at line 51 of file command.hpp.
| 
 | protected | 
Definition at line 48 of file command.hpp.
| 
 | protected | 
Definition at line 49 of file command.hpp.