#include <xdispatch/operation.h>
Public Member Functions | |
iteration_operation () | |
virtual | ~iteration_operation () |
virtual void | operator() (size_t index)=0 |
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 |
Same as operation except that an index will be passed whenever this functor is executed on a queue.
Definition at line 79 of file operation.h.
xdispatch::iteration_operation::iteration_operation | ( | ) | [inline] |
Definition at line 82 of file operation.h.
virtual xdispatch::iteration_operation::~iteration_operation | ( | ) | [inline, virtual] |
Definition at line 83 of file operation.h.
virtual void xdispatch::iteration_operation::auto_delete | ( | bool | a | ) | [inline, virtual] |
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] |
Definition at line 96 of file operation.h.
virtual void xdispatch::iteration_operation::operator() | ( | size_t | index | ) | [pure virtual] |
Implemented in xdispatch::block_iteration_operation, and xdispatch::ptr_iteration_operation< T >.