libXDispatch 0.3.1
Public Member Functions
xdispatch::operation Class Reference

An operation is a functor used to define single portions of work to be dispatched to a single queue. More...

Inheritance diagram for xdispatch::operation:

List of all members.

Public Member Functions

 operation ()
virtual void operator() ()=0
virtual void set_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

An operation is a functor used to define single portions of work to be dispatched to a single queue.

Derive from this class and implement the operator to create specific operations that can be executed on a queue.


Constructor & Destructor Documentation

xdispatch::operation::operation ( ) [inline]

Member Function Documentation

virtual bool xdispatch::operation::auto_delete ( ) [inline, virtual]
Returns:
the current auto_delete flag
See also:
set_auto_delete();
virtual void xdispatch::operation::operator() ( ) [pure virtual]
virtual void xdispatch::operation::set_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


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

Generated on Wed Feb 22 2012 19:43:56 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.