XDispatch 0.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
xdispatch::ptr_iteration_operation< T > Class Template Reference

Provides a template functor to wrap a function pointer to a memberfunction of an object as iteration_operation. More...

#include <xdispatch/operation.h>

+ Inheritance diagram for xdispatch::ptr_iteration_operation< T >:

List of all members.

Public Member Functions

 ptr_iteration_operation (T *object, void(T::*function)(size_t))
virtual 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

template<class T>
class xdispatch::ptr_iteration_operation< T >

Provides a template functor to wrap a function pointer to a memberfunction of an object as iteration_operation.

Definition at line 124 of file operation.h.


Constructor & Destructor Documentation

template<class T >
xdispatch::ptr_iteration_operation< T >::ptr_iteration_operation ( T *  object,
void(T::*)(size_t)  function 
) [inline]

Definition at line 128 of file operation.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 operation.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 operation.h.

template<class T >
virtual void xdispatch::ptr_iteration_operation< T >::operator() ( size_t  index) [inline, virtual]

Implements xdispatch::iteration_operation.

Definition at line 130 of file operation.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 Sun Jan 27 2013 21:21:52 for XDispatch by Doxygen 1.7.6.1
© 2010-2013 MLBA (about | privacy) All Rights reserved.