All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Private Member Functions
jlo::YarpService Class Reference

#include <YarpService.h>

Inheritance diagram for jlo::YarpService:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 YarpService (const char *listeningPort, const char *configFile)
 ~YarpService ()

Private Member Functions

bool FillBottle (yarp::os::Bottle &botIn, yarp::os::Bottle &bot)
void PutIntoBottle (ServiceLocatedObject *lo, yarp::os::Bottle &bot)

Detailed Description

class YarpService Implementation for yarp reading bottles and calling the lo ServiceInterface functionality

Definition at line 21 of file YarpService.h.


Constructor & Destructor Documentation

jlo::YarpService::YarpService ( const char *  listeningPort,
const char *  configFile 
)

Start the service listening to listeningPort, g_stopAll can stop the loop after next read

Definition at line 52 of file YarpService.cpp.

Closing of the ports

Definition at line 315 of file YarpService.cpp.


Member Function Documentation

bool jlo::YarpService::FillBottle ( yarp::os::Bottle &  botIn,
yarp::os::Bottle &  bot 
) [private]

Parses the bottle and reacts on the input, by generating the answer

Parameters:
botInincoming request
botoutgoing answer

One number can only mean an id: ID-Query

Two numbers are interpreted as id + parent pair: Parent-Query

Empty Bottle are not good

More than 2 values should be data: Set Lo

Definition at line 85 of file YarpService.cpp.

void jlo::YarpService::PutIntoBottle ( ServiceLocatedObject lo,
yarp::os::Bottle &  bot 
) [private]

Write an Lo to a bottle

Definition at line 320 of file YarpService.cpp.


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


lo
Author(s): U. Klank
autogenerated on Thu May 23 2013 07:34:46