17 class ksEventInterface;
Implements event handle, used to automatically unbind callback on destruction.
Definition ksEventHandle.h:26
std::weak_ptr< ksEventInterface > eventBaseWp
Weak pointer to event object.
Definition ksEventHandle.h:28
std::size_t callbackUID
Unique callback ID.
Definition ksEventHandle.h:29
ksEventHandle(std::weak_ptr< ksEventInterface > &&eventBaseWp, std::size_t callbackUID)
Constructs event handle.
Definition ksEventHandle.cpp:15
virtual ~ksEventHandle()
Destructs event handle. Unbinds assigned callback from the list.
Definition ksEventHandle.cpp:19