#include <nnevent.h>
Inheritance diagram for NewNet::Event< T >::Callback:

Public Member Functions | |
| Callback () | |
| Constructor. | |
| virtual | ~Callback () |
| Destructor. | |
| virtual void | operator() (T t)=0 |
| Slot method. | |
| void | disconnect () |
| Disconnect this callback from all events. | |
Definition at line 41 of file nnevent.h.
| virtual void NewNet::Event< T >::Callback::operator() | ( | T | t | ) | [pure virtual] |
Override this and implement your callback function.
| void NewNet::Event< T >::Callback::disconnect | ( | ) | [inline] |
Calling this will result in the disconnection of the callback from all the events it is registered to. Note: Events store a RefPtr to the callbacks. The callback class might be deleted when disconnecting from all registered events.
Definition at line 73 of file nnevent.h.
References NewNet::Object::refCounter().
1.5.1