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

A concrete class for cleanup jobs that take a function with two arguments. More...

#include <util.h>

Inheritance diagram for ibis::util::guardImpl2< F, A1, A2 >:
ibis::util::guardBase

Public Member Functions

 ~guardImpl2 ()
 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 guardImpl2< F, A1, A2 > makeGuard (F f, A1 a1, A2 a2)
 

Protected Member Functions

void execute ()
 
 guardImpl2 (F f, A1 a1, A2 a2)
 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 A1, typename A2>
class ibis::util::guardImpl2< F, A1, A2 >

A concrete class for cleanup jobs that take a function with two arguments.


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