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