Provides a template functor to wrap a function pointer to a memberfunction of an object as operation.
More...
#include <xdispatch/base.h>
List of all members.
Public Member Functions |
| ptr_operation (T *object, void(T::*function)()) |
virtual 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
template<class T>
class xdispatch::ptr_operation< T >
Provides a template functor to wrap a function pointer to a memberfunction of an object as operation.
Definition at line 101 of file base.h.
Constructor & Destructor Documentation
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.
The documentation for this class was generated from the following file: