![]() |
ULIS
dev4.0.7
Utility Library for Imaging Systems
|
Public Types | |
typedef std::function< R(Ts ...) > | tFptr |
Public Member Functions | |
TLambdaCallback () | |
TLambdaCallback (tFptr iFptr) | |
R | Execute (Ts ... args) const |
void | ExecuteIfBound (Ts ... args) const |
typedef std::function< R ( Ts ... ) > TLambdaCallback< R, Ts >::tFptr |
Typedef tFptr for the internal function pointer type.
|
inline |
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.