Specialisation of the bound nullary member function for void functions. More...
#include <function_objects.hpp>
Public Member Functions | |
BoundNullaryMemberFunction (void(C::*function)(), C &class_object) | |
Binds a unary member function and creates a nullary function object. More... | |
void | operator() () |
This ensures any children objects are deleted correctly. More... | |
virtual | ~BoundNullaryMemberFunction () |
Public Member Functions inherited from ecl::NullaryFunction< void > | |
virtual | ~NullaryFunction () |
Private Attributes | |
C & | member_class |
void(C::* | member_function )() |
Additional Inherited Members | |
Public Types inherited from ecl::NullaryFunction< void > | |
typedef void | result_type |
The result type. More... | |
Specialisation of the bound nullary member function for void functions.
Binds the class instance for a nullary member function and uses this to construct a nullary function object. This is the specialisation for nullary member functions with void return type.
C | : the member function's class type. |
Definition at line 634 of file function_objects.hpp.
|
inline |
Binds a unary member function and creates a nullary function object.
Accepts the function pointer and class instance, binds them and creates a nullary function object.
function | : the void member function. |
class_object | : the member function's class instance. |
Definition at line 644 of file function_objects.hpp.
|
inlinevirtual |
Definition at line 649 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 bound member function.
Implements ecl::NullaryFunction< void >.
Definition at line 655 of file function_objects.hpp.
|
private |
Definition at line 658 of file function_objects.hpp.
|
private |
Definition at line 659 of file function_objects.hpp.