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

ScopeGuard implementation for free function with 2 parameters. More...

#include <ScopeGuard.h>

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

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl2< FunT,
P1T, P2T > 
make_guard (FunT fun, P1T p1, P2T p2)
 

Private Member Functions

 ScopeGuardImpl2 (FunT fun, P1T p1, P2T p2)
 

Private Attributes

FunT m_fun
 
const P1T m_p1
 
const P2T m_p2
 

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

ScopeGuard implementation for free function with 2 parameters.

Definition at line 122 of file ScopeGuard.h.

Constructor & Destructor Documentation

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

Definition at line 127 of file ScopeGuard.h.

template<typename FunT, typename P1T, typename P2T>
Hypertable::ScopeGuardImpl2< FunT, P1T, P2T >::ScopeGuardImpl2 ( FunT  fun,
P1T  p1,
P2T  p2 
)
inlineprivate

Definition at line 132 of file ScopeGuard.h.

Member Function Documentation

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

Definition at line 124 of file ScopeGuard.h.

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

Definition at line 129 of file ScopeGuard.h.

Member Data Documentation

template<typename FunT, typename P1T, typename P2T>
FunT Hypertable::ScopeGuardImpl2< FunT, P1T, P2T >::m_fun
private

Definition at line 134 of file ScopeGuard.h.

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

Definition at line 135 of file ScopeGuard.h.

template<typename FunT, typename P1T, typename P2T>
const P2T Hypertable::ScopeGuardImpl2< FunT, P1T, P2T >::m_p2
private

Definition at line 136 of file ScopeGuard.h.


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