OrocosComponentLibrary  2.7.0
Public Member Functions | Protected Member Functions | Protected Attributes
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

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: