|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Lightweight non-allocating static callback wrapper (function pointer + optional context argument). More...
#include <SignalPolicies.hpp>
Collaboration diagram for corium::StaticCallback:Public Types | |
| using | ContextFn = void(*)(void *arg) |
| using | SimpleFn = void(*)() |
Public Member Functions | |
| operator bool () const noexcept | |
| void | operator() () const |
| StaticCallback ()=default | |
| StaticCallback (ContextFn contextFn, void *contextArg) | |
| StaticCallback (SimpleFn simpleFn) | |
Public Attributes | |
| void * | arg = nullptr |
| ContextFn | fn = nullptr |
Lightweight non-allocating static callback wrapper (function pointer + optional context argument).
| using corium::StaticCallback::ContextFn = void (*)(void* arg) |
| using corium::StaticCallback::SimpleFn = void (*)() |
|
default |
|
inline |
|
inline |
|
inlineexplicitnoexcept |
|
inline |
| void* corium::StaticCallback::arg = nullptr |
| ContextFn corium::StaticCallback::fn = nullptr |