An abstract class that provides basic events handling.
More...
#include <nodes.h>
|
| EventCallback () |
| Constructor.
|
|
std::string | getName () const |
| Retrieve the node name.
|
|
virtual void | execute (void *ptr)=0 |
| The callback routine.
|
|
An abstract class that provides basic events handling.
Definition at line 59 of file nodes.h.
◆ EventCallback()
EventCallback::EventCallback |
( |
| ) |
|
◆ execute()
virtual void iCub::perception::EventCallback::execute |
( |
void * |
ptr | ) |
|
|
pure virtual |
The callback routine.
- Parameters
-
ptr | void pointer at user disposal. |
◆ getName()
std::string iCub::perception::EventCallback::getName |
( |
| ) |
const |
|
inline |
Retrieve the node name.
- Returns
- a string containing the node name.
Definition at line 74 of file nodes.h.
◆ name
std::string iCub::perception::EventCallback::name |
|
protected |
The documentation for this class was generated from the following files:
- icub-main/src/libraries/perceptiveModels/include/iCub/perception/nodes.h
- icub-main/src/libraries/perceptiveModels/src/nodes.cpp