OCL::TCP::TcpReportingInterpreter Class Reference

#include <command.hpp>

List of all members.

Public Member Functions

void addCommand (Command *command)
void addCommand (Command *command)
DatasendergetConnection () const
DatasendergetConnection () const
const std::vector< Command * > & giveCommands () const
const std::vector< Command * > & giveCommands () const
void process ()
void process ()
void removeCommand (const char *name)
void removeCommand (const char *name)
void setVersion10 ()
void setVersion10 ()
 TcpReportingInterpreter (Datasender *parent)
 TcpReportingInterpreter (Datasender *parent)
 ~TcpReportingInterpreter ()
 ~TcpReportingInterpreter ()

Protected Member Functions

unsigned int parseParameters (std::string &ipt, std::string &cmd, std::string **params)
unsigned int parseParameters (std::string &ipt, std::string &cmd, std::string **params)

Protected Attributes

Datasender_parent
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 install/include/orocos/ocl/command.hpp.


Constructor & Destructor Documentation

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.

OCL::TCP::TcpReportingInterpreter::TcpReportingInterpreter ( Datasender parent  ) 

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

OCL::TCP::TcpReportingInterpreter::~TcpReportingInterpreter (  ) 

Member Function Documentation

void OCL::TCP::TcpReportingInterpreter::addCommand ( Command command  ) 

Add support for the given command.

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.

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.

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]
unsigned int OCL::TCP::TcpReportingInterpreter::parseParameters ( std::string &  ipt,
std::string &  cmd,
std::string **  params 
) [protected]

Definition at line 615 of file command.cpp.

void OCL::TCP::TcpReportingInterpreter::process (  ) 
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.

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')

void OCL::TCP::TcpReportingInterpreter::setVersion10 (  ) 

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 install/include/orocos/ocl/command.hpp.

std::vector< Command * > OCL::TCP::TcpReportingInterpreter::cmds [protected]

Definition at line 48 of file install/include/orocos/ocl/command.hpp.

RTT::os::MutexRecursive OCL::TCP::TcpReportingInterpreter::commands [protected]

Definition at line 49 of file install/include/orocos/ocl/command.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ocl
Author(s): OCL Development Team
autogenerated on Fri Jan 11 09:50:53 2013