1.10 |
#include <signal.h>
Public Types | |
enum | { INVALID_HANDLE = 0 } |
using | EventCallback = std::function< void(Args...)> |
using | RegisterHandle = uint32_t |
Public Member Functions | |
SignalW (Signal< Args... > *src) | |
void | clear () |
void | disable () |
void | enable () |
EGT_NODISCARD bool | enabled () const |
void | invoke (Args... args) |
RegisterHandle | on_event (const EventCallback &handler) |
RegisterHandle | operator() (const EventCallback &handler) |
void | remove (RegisterHandle handle) |
void | set_src_signal (Signal<> *src) |
Protected Attributes | |
Signal< Args... > * | m_src_signal {nullptr} |
using EventCallback = std::function<void(Args...)> |
using RegisterHandle = uint32_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |