XDispatch 0.7.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
xdispatch::block_iteration_operation Class Reference

A simple iteration operation needed when applying a block several times. More...

#include <xdispatch/base.h>

+ Inheritance diagram for xdispatch::block_iteration_operation:

List of all members.

Public Member Functions

 block_iteration_operation (dispatch_iteration_block_t b)
 block_iteration_operation (const block_iteration_operation &other)
 ~block_iteration_operation ()
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

Detailed Description

A simple iteration operation needed when applying a block several times.

Definition at line 166 of file base.h.


Constructor & Destructor Documentation

xdispatch::block_iteration_operation::block_iteration_operation ( dispatch_iteration_block_t  b) [inline]

Definition at line 168 of file base.h.

Definition at line 170 of file base.h.

Definition at line 172 of file base.h.


Member Function Documentation

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 base.h.

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

Definition at line 96 of file base.h.

void xdispatch::block_iteration_operation::operator() ( size_t  index) [inline, virtual]

Implements xdispatch::iteration_operation.

Definition at line 174 of file base.h.


The documentation for this class was generated from the following file:

Generated on Tue Jun 12 2012 14:11:48 for XDispatch by Doxygen 1.8.0
© 2010-2012 MLBA (about | privacy) All Rights reserved.