TcpReportingInterpreter Class Reference

Reads a line from the client and interprete it. More...

#include <command.hpp>

List of all members.

Public Member Functions

 TcpReportingInterpreter (Datasender *parent)
 After setup, the interpreter will only recognize the command 'VERSION 1.0' by default.
void process ()
DatasendergetConnection () 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

Detailed Description

Reads a line from the client and interprete it.

Definition at line 45 of file command.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 15:05:29 2010 for OrocosComponentLibrary by  doxygen 1.6.3