|
RADLib
RADical C++ application framework
|
Low-level raw handler collection used internally by typed Event. More...
#include <RADCore.h>
Public Types | |
| using | RawTask = std::function< void()> |
| Raw no-argument task type. More... | |
Public Member Functions | |
| void | addRawHandler (size_t id, RawTask task) |
| Adds a raw handler by id. More... | |
| void | removeRawHandler (size_t id) |
| Removes a raw handler by id. More... | |
| void | invokeAll () |
| Invokes all raw handlers. More... | |
Low-level raw handler collection used internally by typed Event.
| using RADCore::EventBackend::RawTask = std::function<void()> |
Raw no-argument task type.
| void RADCore::EventBackend::addRawHandler | ( | size_t | id, |
| RawTask | task | ||
| ) |
Adds a raw handler by id.
| void RADCore::EventBackend::invokeAll | ( | ) |
Invokes all raw handlers.
| void RADCore::EventBackend::removeRawHandler | ( | size_t | id | ) |
Removes a raw handler by id.