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::ScopeGuardImpl1< FunT, P1T > Class Template Reference

ScopeGuard implementation for free function with 1 parameter. More...

#include <ScopeGuard.h>

Inheritance diagram for Hypertable::ScopeGuardImpl1< FunT, P1T >:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::ScopeGuardImpl1< FunT, P1T >:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl1< FunT, P1T > make_guard (FunT fun, P1T p1)
 

Private Member Functions

 ScopeGuardImpl1 (FunT fun, P1T p1)
 

Private Attributes

FunT m_fun
 
const P1T m_p1
 

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, typename P1T>
class Hypertable::ScopeGuardImpl1< FunT, P1T >

ScopeGuard implementation for free function with 1 parameter.

Definition at line 97 of file ScopeGuard.h.

Constructor & Destructor Documentation

template<typename FunT, typename P1T>
Hypertable::ScopeGuardImpl1< FunT, P1T >::~ScopeGuardImpl1 ( )
throw (
)
inline

Definition at line 102 of file ScopeGuard.h.

template<typename FunT, typename P1T>
Hypertable::ScopeGuardImpl1< FunT, P1T >::ScopeGuardImpl1 ( FunT  fun,
P1T  p1 
)
inlineprivate

Definition at line 107 of file ScopeGuard.h.

Member Function Documentation

template<typename FunT, typename P1T>
static ScopeGuardImpl1<FunT, P1T> Hypertable::ScopeGuardImpl1< FunT, P1T >::make_guard ( FunT  fun,
P1T  p1 
)
inlinestatic

Definition at line 99 of file ScopeGuard.h.

template<typename FunT, typename P1T>
void Hypertable::ScopeGuardImpl1< FunT, P1T >::run ( )
inline

Definition at line 104 of file ScopeGuard.h.

Member Data Documentation

template<typename FunT, typename P1T>
FunT Hypertable::ScopeGuardImpl1< FunT, P1T >::m_fun
private

Definition at line 109 of file ScopeGuard.h.

template<typename FunT, typename P1T>
const P1T Hypertable::ScopeGuardImpl1< FunT, P1T >::m_p1
private

Definition at line 110 of file ScopeGuard.h.


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