A simple operation for wrapping the given block as an xdispatch::operation. More...
#include <xdispatch/operation.h>
Public Member Functions | |
block_operation (dispatch_block_t b) | |
block_operation (const block_operation &other) | |
~block_operation () | |
void | operator() () |
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 |
A simple operation for wrapping the given block as an xdispatch::operation.
Definition at line 145 of file operation.h.
xdispatch::block_operation::block_operation | ( | dispatch_block_t | b | ) | [inline] |
Definition at line 147 of file operation.h.
xdispatch::block_operation::block_operation | ( | const block_operation & | other | ) | [inline] |
Definition at line 149 of file operation.h.
xdispatch::block_operation::~block_operation | ( | ) | [inline] |
Definition at line 151 of file operation.h.
virtual void xdispatch::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 61 of file operation.h.
virtual bool xdispatch::operation::auto_delete | ( | ) | const [inline, virtual, inherited] |
Definition at line 66 of file operation.h.
void xdispatch::block_operation::operator() | ( | ) | [inline, virtual] |
Implements xdispatch::operation.
Definition at line 155 of file operation.h.