#include <Functors.h>
Inheritance diagram for GUI::GenericFunctor< base_class_t, return_t, argument_t >:
Public Member Functions | |
GenericFunctor (base_class_t *obj_ptr, return_t(base_class_t::*function_ptr)(argument_t)) | |
Contruct a new GenericFunctor. | |
virtual return_t | operator() (argument_t arg) |
Execute member function. | |
virtual return_t | execute (argument_t arg) |
Execute member function. |
base_class_t | class of the member function | |
return_t | return type of the member function | |
argument_T | argument type of the member function |
GUI::GenericFunctor< base_class_t, return_t, argument_t >::GenericFunctor | ( | base_class_t * | obj_ptr, | |
return_t(base_class_t::*)(argument_t) | function_ptr | |||
) | [inline, explicit] |
Contruct a new GenericFunctor.
obj_ptr | pointer to the object | |
function_ptr | pointer to the desired member function |
virtual return_t GUI::GenericFunctor< base_class_t, return_t, argument_t >::execute | ( | argument_t | arg | ) | [inline, virtual] |
Execute member function.
arg | Argument of the function |
Implements GUI::AbstractFunctor< return_t, argument_t >.
virtual return_t GUI::GenericFunctor< base_class_t, return_t, argument_t >::operator() | ( | argument_t | arg | ) | [inline, virtual] |
Execute member function.
arg | Argument of the function |
Implements GUI::AbstractFunctor< return_t, argument_t >.