0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
Hypertable::ScopeGuardImpl0< FunT > Class Template Reference

ScopeGuard implementation for free function with no paramter. More...

#include <ScopeGuard.h>

Inheritance diagram for Hypertable::ScopeGuardImpl0< FunT >:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::ScopeGuardImpl0< FunT >:
Collaboration graph
[legend]

Public Member Functions

 ~ScopeGuardImpl0 () throw ()
 
void run ()
 
- Public Member Functions inherited from Hypertable::ScopeGuardImplBase
 ScopeGuardImplBase () throw ()
 
void dismiss () const throw ()
 

Static Public Member Functions

static ScopeGuardImpl0< FunT > make_guard (FunT fun)
 

Private Member Functions

 ScopeGuardImpl0 (FunT fun)
 

Private Attributes

FunT m_fun
 

Additional Inherited Members

- Protected Member Functions inherited from Hypertable::ScopeGuardImplBase
 ~ScopeGuardImplBase ()
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other) throw ()
 
- Static Protected Member Functions inherited from Hypertable::ScopeGuardImplBase
template<typename GuardT >
static void safe_run (GuardT &guard) throw ()
 

Detailed Description

template<typename FunT>
class Hypertable::ScopeGuardImpl0< FunT >

ScopeGuard implementation for free function with no paramter.

Definition at line 74 of file ScopeGuard.h.

Constructor & Destructor Documentation

template<typename FunT >
Hypertable::ScopeGuardImpl0< FunT >::~ScopeGuardImpl0 ( )
throw (
)
inline

Definition at line 79 of file ScopeGuard.h.

template<typename FunT >
Hypertable::ScopeGuardImpl0< FunT >::ScopeGuardImpl0 ( FunT  fun)
inlineprivate

Definition at line 83 of file ScopeGuard.h.

Member Function Documentation

template<typename FunT >
static ScopeGuardImpl0<FunT> Hypertable::ScopeGuardImpl0< FunT >::make_guard ( FunT  fun)
inlinestatic

Definition at line 76 of file ScopeGuard.h.

template<typename FunT >
void Hypertable::ScopeGuardImpl0< FunT >::run ( )
inline

Definition at line 80 of file ScopeGuard.h.

Member Data Documentation

template<typename FunT >
FunT Hypertable::ScopeGuardImpl0< FunT >::m_fun
private

Definition at line 85 of file ScopeGuard.h.


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