19#ifndef LM_ITRANSFORMER__ 
   20#define LM_ITRANSFORMER__ 
   25#include <yarp/os/Portable.h> 
   26#include <yarp/os/Bottle.h> 
   27#include <yarp/sig/Vector.h> 
   30namespace learningmachine {
 
  104    virtual yarp::sig::Vector 
transform(
const yarp::sig::Vector& input) {
 
  106        return yarp::sig::Vector();
 
 
  116        std::ostringstream buffer;
 
  117        buffer << 
"Type: " << this->
getName() << 
", ";
 
  118        buffer << 
"Sample Count: " << this->sampleCount << std::endl;
 
 
  126        this->sampleCount = 0;
 
 
  154        return std::string(
"Transformer configuration options for '") +
 
 
  168    virtual bool configure(yarp::os::Searchable& config) { 
return true; }
 
  173    bool write(yarp::os::ConnectionWriter& connection)
 const {
 
  174        yarp::os::Bottle model;
 
  176        return model.write(connection);
 
 
  182    bool read(yarp::os::ConnectionReader& connection) {
 
  183        yarp::os::Bottle model;
 
  184        model.read(connection);
 
 
  195        yarp::os::Bottle model;
 
  197        return model.toString().c_str();
 
 
  206        yarp::os::Bottle model(str.c_str());
 
 
 
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.