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

A concrete class for cleanup jobs that take a function without any argument. More...

#include <util.h>

Inheritance diagram for ibis::util::guardImpl0< F >:
ibis::util::guardBase

Public Member Functions

 ~guardImpl0 ()
 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 guardImpl0< F > makeGuard (F f)
 

Protected Member Functions

void execute ()
 
 guardImpl0 (F f)
 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>
class ibis::util::guardImpl0< F >

A concrete class for cleanup jobs that take a function without any 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