Provides a template functor to wrap a function pointer to a memberfunction of an object as operation. More...
#include <xdispatch/base.h>
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 () const |
Provides a template functor to wrap a function pointer to a memberfunction of an object as operation.
xdispatch::ptr_operation< T >::ptr_operation | ( | T * | object, |
void(T::*)() | function | ||
) | [inline] |
virtual void xdispatch::operation::auto_delete | ( | bool | a | ) | [inline, virtual, inherited] |
virtual bool xdispatch::operation::auto_delete | ( | ) | const [inline, virtual, inherited] |
virtual void xdispatch::ptr_operation< T >::operator() | ( | ) | [inline, virtual] |
Implements xdispatch::operation.