Specialisation of the unary function object for void member functions without arguments. More...
#include <function_objects.hpp>

Public Member Functions | |
| NullaryMemberFunction (void(C::*function)()) | |
| Unary function object constructor for void member functions. | |
| void | operator() (C &class_object) |
| This ensures any children objects are deleted correctly. | |
| virtual | ~NullaryMemberFunction () |
Private Attributes | |
| void(C::* | member_function )() |
Specialisation of the unary function object for void member functions without arguments.
Specialisation for a function object from a void member function without arguments (note, the single argument to this unary function object is the class instance itself).
| C | : the member function's class type type. |
Definition at line 432 of file function_objects.hpp.
| ecl::NullaryMemberFunction< C, void >::NullaryMemberFunction | ( | void(C::*)() | function | ) | [inline] |
Unary function object constructor for void member functions.
Accepts a void member function without arguments, and builds the function object around it.
| function | : a void member function. |
Definition at line 442 of file function_objects.hpp.
| virtual ecl::NullaryMemberFunction< C, void >::~NullaryMemberFunction | ( | ) | [inline, virtual] |
Definition at line 443 of file function_objects.hpp.
| void ecl::NullaryMemberFunction< C, void >::operator() | ( | C & | class_object | ) | [inline, virtual] |
This ensures any children objects are deleted correctly.
A unary function object call.
Uses the specified class instance to redirect the function call to the void member function.
| class_object | : the member function's class instance. |
Implements ecl::UnaryFunction< C &, void >.
Definition at line 453 of file function_objects.hpp.
void(C::* ecl::NullaryMemberFunction< C, void >::member_function)() [private] |
Definition at line 457 of file function_objects.hpp.