A concrete class for cleanup jobs that take a function with one argument. More...
#include <util.h>
Public Member Functions | |
~guardImpl1 () | |
Destructor calls the cleanup function of the base class. | |
Public Member Functions inherited from ibis::util::guardBase | |
void | dismiss () const |
Tell the guard that it does not need to invoke clean up function any more. More... | |
Static Public Member Functions | |
static guardImpl1< F, A > | makeGuard (F f, A a) |
Protected Member Functions | |
void | execute () |
guardImpl1 (F f, A a) | |
Construct a guard object from a function. | |
Protected Member Functions inherited from ibis::util::guardBase | |
guardBase (const guardBase &rhs) | |
!< Default constructor. More... | |
~guardBase () | |
Destructor. No need to be virtual. | |
Friends | |
class | guardBase |
Additional Inherited Members | |
Static Protected Member Functions inherited from ibis::util::guardBase | |
template<typename T > | |
static void | cleanup (T &task) throw () |
A template to invoke the function registered. More... | |
Protected Attributes inherited from ibis::util::guardBase | |
volatile bool | done_ |
A concrete class for cleanup jobs that take a function with one argument.