Provides a template functor to wrap a function pointer to a memberfunction of an object as iteration_operation. More...
#include <xdispatch/operation.h>
Public Member Functions | |
ptr_iteration_operation (T *object, void(T::*function)(size_t)) | |
virtual void | operator() (size_t index) |
virtual void | auto_delete (bool a) |
Change the auto_delete flag to prevent the iteration from being deleted after finishing its execution. | |
virtual bool | auto_delete () const |
Provides a template functor to wrap a function pointer to a memberfunction of an object as iteration_operation.
Definition at line 124 of file operation.h.
xdispatch::ptr_iteration_operation< T >::ptr_iteration_operation | ( | T * | object, |
void(T::*)(size_t) | function | ||
) | [inline] |
Definition at line 128 of file operation.h.
virtual void xdispatch::iteration_operation::auto_delete | ( | bool | a | ) | [inline, virtual, inherited] |
Change the auto_delete flag to prevent the iteration from being deleted after finishing its execution.
Defaults to true
Definition at line 91 of file operation.h.
virtual bool xdispatch::iteration_operation::auto_delete | ( | ) | const [inline, virtual, inherited] |
Definition at line 96 of file operation.h.
virtual void xdispatch::ptr_iteration_operation< T >::operator() | ( | size_t | index | ) | [inline, virtual] |
Implements xdispatch::iteration_operation.
Definition at line 130 of file operation.h.