XDispatch 0.6.1
Public Member Functions
xdispatch::iteration_operation Class Reference

#include <xdispatch/base.h>

Inheritance diagram for xdispatch::iteration_operation:

List of all members.

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

Detailed Description

See also:
operation

Same as operation except that an index will be passed whenever this functor is executed on a queue.

Definition at line 74 of file base.h.


Constructor & Destructor Documentation

xdispatch::iteration_operation::iteration_operation ( ) [inline]

Definition at line 77 of file base.h.

virtual xdispatch::iteration_operation::~iteration_operation ( ) [inline, virtual]

Definition at line 78 of file base.h.


Member Function Documentation

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

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

Definition at line 91 of file base.h.

virtual void xdispatch::iteration_operation::operator() ( size_t  index) [pure virtual]

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.