![]() |
ULIS
dev4.0.7
Utility Library for Imaging Systems
|
Public Types | |
typedef R(* | tFptr) (Ts ..., void *) |
Public Member Functions | |
TCallback () | |
TCallback (tFptr iFptr, void *iInfo=nullptr) | |
R | Execute (Ts ... args) const |
void | ExecuteIfBound (Ts ... args) const |
typedef R(* TCallback< R, Ts >::tFptr) (Ts ..., void *) |
Typedef tFptr for the internal function pointer type.
Default null constructor.
|
inline |
Constructor from function pointer and optional extra info.
|
inline |
Call the function pointer without checking if it is set.
|
inline |
Call the function pointer only if set. No return value because we can't ensure a generic default return value if not bound.