Specialisation for free nullary functions that return void. More...
#include <function_objects.hpp>
Public Member Functions | |
NullaryFreeFunction (void(*function)()) | |
Nullary function object constructor for void global/static functions with no args. More... | |
void | operator() () |
This ensures any children objects are deleted correctly. More... | |
virtual | ~NullaryFreeFunction () |
Public Member Functions inherited from ecl::NullaryFunction< void > | |
virtual | ~NullaryFunction () |
Private Attributes | |
void(* | free_function )() |
Additional Inherited Members | |
Public Types inherited from ecl::NullaryFunction< void > | |
typedef void | result_type |
The result type. More... | |
Specialisation for free nullary functions that return void.
Specialisation for free nullary functions that return void.
Definition at line 166 of file function_objects.hpp.
|
inline |
Nullary function object constructor for void global/static functions with no args.
Accepts a void global/static function with no args and builds the function object around it.
function | : the global/static function. |
Definition at line 176 of file function_objects.hpp.
|
inlinevirtual |
Definition at line 178 of file function_objects.hpp.
|
inlinevirtual |
This ensures any children objects are deleted correctly.
A nullary function object call.
Redirects the nullary function object call to the composited global/static function.
Implements ecl::NullaryFunction< void >.
Definition at line 187 of file function_objects.hpp.
|
private |
Definition at line 190 of file function_objects.hpp.