iCub-main
|
#include <IEvent.h>
Public Member Functions | |
virtual std::string | toString ()=0 |
Returns a string representation of the Event. | |
virtual void | visit (IEventListener &listener)=0 |
Causes the Event to visit an EventListener. | |
|
pure virtual |
Returns a string representation of the Event.
Implemented in iCub::learningmachine::PredictEvent, and iCub::learningmachine::TrainEvent.
|
pure virtual |
Causes the Event to visit an EventListener.
This method is part of the double dispatch mechanism. Child classes need to override this function.
listener | the listener |
Implemented in iCub::learningmachine::PredictEvent, and iCub::learningmachine::TrainEvent.