Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
ibis::util::guardImpl1< F, A > Class Template Reference

A concrete class for cleanup jobs that take a function with one argument. More...

#include <util.h>

Inheritance diagram for ibis::util::guardImpl1< F, A >:
ibis::util::guardBase

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_
 

Detailed Description

template<typename F, typename A>
class ibis::util::guardImpl1< F, A >

A concrete class for cleanup jobs that take a function with one argument.


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

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive