19#ifndef LM_PREDICTEVENTLISTENER__
20#define LM_PREDICTEVENTLISTENER__
24#include <yarp/sig/Vector.h>
30namespace learningmachine {
42 for(
size_t i = 0; i < vec.size(); i++) {
43 bot.addFloat64(vec[i]);
void setName(std::string name)
Set the name of this IEventListener.
The abstract base class for EventListeners that output to a port.
PredictEventListener * clone()
Asks the event listener to return a new object of its type.
void vectorToBottle(const yarp::sig::Vector &vec, yarp::os::Bottle &bot)
PredictEventListener(std::string pp="/lm/event/predict")
Constructor.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.