19 #ifndef LM_IPORTEVENTLISTENER__
20 #define LM_IPORTEVENTLISTENER__
24 #include <yarp/os/Port.h>
30 namespace learningmachine {
87 this->port.interrupt();
106 virtual bool configure(yarp::os::Searchable& config);
115 std::string
verbosity = this->verbose ?
"verbose" :
"silent";
virtual std::string getInfo()
Asks the event listener to return a string containing information on its configuration so far.
The abstract base class for EventListeners that output to a port.
yarp::os::Port port
The outgoing port for the events.
IPortEventListener(const IPortEventListener &other)
Copy Constructor.
virtual std::string getInfo()
Asks the event listener to return a string containing information on its configuration so far.
IPortEventListener(std::string pp)
Constructor.
bool verbose
Verbosity controls whether events are printed to standard output.
std::string portPrefix
A prefix path for the ports that will be registered.
virtual IPortEventListener & operator=(const IPortEventListener &other)
Assignment operator.
virtual bool configure(yarp::os::Searchable &config)
virtual void start()
Starts the IEventListener.
void resetPort(std::string portName)
Resets the port and opens it at the specified name.
virtual ~IPortEventListener()
Destructor.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.