XDispatch 0.6.1
Public Member Functions
xdispatch::block_operation Class Reference

A simple operation for wrapping the given block as an xdispatch::operation. More...

#include <xdispatch/base.h>

Inheritance diagram for xdispatch::block_operation:

List of all members.

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 ()

Detailed Description

A simple operation for wrapping the given block as an xdispatch::operation.

Definition at line 139 of file base.h.


Constructor & Destructor Documentation

xdispatch::block_operation::block_operation ( dispatch_block_t  b) [inline]

Definition at line 141 of file base.h.

xdispatch::block_operation::block_operation ( const block_operation other) [inline]

Definition at line 142 of file base.h.

xdispatch::block_operation::~block_operation ( ) [inline]

Definition at line 143 of file base.h.


Member Function Documentation

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 56 of file base.h.

virtual bool xdispatch::operation::auto_delete ( ) [inline, virtual, inherited]
Returns:
the current auto_delete flag
See also:
set_auto_delete();

Definition at line 61 of file base.h.

void xdispatch::block_operation::operator() ( ) [inline, virtual]

Implements xdispatch::operation.

Definition at line 147 of file base.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Apr 12 2012 09:50:43 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.