#include <hook.hpp>
Public Types | |
| using | hook_type = Hook<Args...> |
| using | callback_type = typename hook_type::callback_type |
Public Member Functions | |
| HookRegistry (hook_type &hook) | |
| void | operator= (callback_type &&cb) |
| void | operator= (const callback_type &cb) |
| void | reset () |
Private Attributes | |
| hook_type & | m_hook |
Hook registry (non-callable view of a hook)
Callbacks can be assigned to a hook via the corresponding registry, but the callback cannot be invoked through the registry.
| using vanetza::HookRegistry< Args >::callback_type = typename hook_type::callback_type |
| using vanetza::HookRegistry< Args >::hook_type = Hook<Args...> |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |