#include <FUEvent.h>
Public Member Functions | |
| FUEvent0 () | |
| Constructor. | |
| ~FUEvent0 () | |
| Destructor. | |
| size_t | GetHandlerCount () |
| Retrieves the number of callbacks registered for this event. | |
| template<class Class> | |
| void | InsertHandler (Class *handle, void(Class::*_function)()) |
| Adds a new callback that handles the event. | |
| void | InsertHandler (Handler *functor) |
| Adds a functor that handles the event. | |
| void | InsertHandler (void(*_function)()) |
| Adds a new callback that handles the event. | |
| void | ReleaseHandler (void *handle, void *function) |
| Releases and unregisters a callback that handles the event. | |
| template<class Class> | |
| void | ReleaseHandler (Class *handle, void(Class::*_function)()) |
| Releases and unregisters a callback that handles the event. | |
| void | ReleaseHandler (void(*_function)()) |
| Releases and unregisters a callback that handles the event. | |
| void | operator() () |
| Triggers the event. | |
|
|
Retrieves the number of callbacks registered for this event.
|
|
|
Adds a new callback that handles the event.
|
|
|
Adds a functor that handles the event. Note that the event will own the memory for the functor.
|
|
||||||||||||||||
|
Adds a new callback that handles the event.
|
|
|
Triggers the event. All the registered callbacks will be called, in reverse-order of their registration. |
|
|
Releases and unregisters a callback that handles the event.
|
|
||||||||||||||||
|
Releases and unregisters a callback that handles the event.
|
|
||||||||||||
|
Releases and unregisters a callback that handles the event.
|
1.4.6-NO