Public Member Functions | Protected Member Functions | Protected Attributes
OCL::TCP::TcpReportingInterpreter Class Reference

#include <command.hpp>

List of all members.

Public Member Functions

void addCommand (Command *command)
DatasendergetConnection () 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

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.

Constructor & Destructor Documentation

After setup, the interpreter will only recognize the command 'VERSION 1.0' by default.

Definition at line 527 of file command.cpp.

Definition at line 536 of file command.cpp.

Member Function Documentation

Add support for the given command.

Definition at line 546 of file command.cpp.

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.

unsigned int OCL::TCP::TcpReportingInterpreter::parseParameters ( std::string &  ipt,
std::string &  cmd,
std::string **  params 
) [protected]

Definition at line 615 of file command.cpp.

Definition at line 575 of file command.cpp.

Remove support for the given command name.

Definition at line 644 of file command.cpp.

Accept all valid commands (except 'VERSION 1.0')

Definition at line 662 of file command.cpp.

Member Data Documentation

Definition at line 51 of file command.hpp.

Definition at line 48 of file command.hpp.

Definition at line 49 of file command.hpp.

The documentation for this class was generated from the following files:

Author(s): OCL Development Team
autogenerated on Sat Jun 8 2019 18:48:56