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. | |
void | operator() () |
This ensures any children objects are deleted correctly. | |
virtual | ~NullaryFreeFunction () |
Private Attributes | |
void(* | free_function )() |
Specialisation for free nullary functions that return void.
Specialisation for free nullary functions that return void.
Definition at line 160 of file function_objects.hpp.
ecl::NullaryFreeFunction< void >::NullaryFreeFunction | ( | void(*)() | function | ) | [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 170 of file function_objects.hpp.
virtual ecl::NullaryFreeFunction< void >::~NullaryFreeFunction | ( | ) | [inline, virtual] |
Definition at line 172 of file function_objects.hpp.
void ecl::NullaryFreeFunction< void >::operator() | ( | ) | [inline, virtual] |
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 181 of file function_objects.hpp.
void(* ecl::NullaryFreeFunction< void >::free_function)() [private] |
Definition at line 184 of file function_objects.hpp.