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::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T > Class Template Reference

ScopeGuard implementation for method with 2 parameters. More...

#include <ScopeGuard.h>

Inheritance diagram for Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

static ObjScopeGuardImpl2
< ObjT, MethodT, P1T, P2T > 
make_obj_guard (ObjT &obj, MethodT method, P1T p1, P2T p2)
 

Private Member Functions

 ObjScopeGuardImpl2 (ObjT &obj, MethodT method, P1T p1, P2T p2)
 

Private Attributes

ObjT & m_obj
 
MethodT m_method
 
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<class ObjT, typename MethodT, typename P1T, typename P2T>
class Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >

ScopeGuard implementation for method with 2 parameters.

Definition at line 235 of file ScopeGuard.h.

Constructor & Destructor Documentation

template<class ObjT, typename MethodT, typename P1T, typename P2T>
Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::~ObjScopeGuardImpl2 ( )
throw (
)
inline

Definition at line 241 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T, typename P2T>
Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::ObjScopeGuardImpl2 ( ObjT &  obj,
MethodT  method,
P1T  p1,
P2T  p2 
)
inlineprivate

Definition at line 246 of file ScopeGuard.h.

Member Function Documentation

template<class ObjT, typename MethodT, typename P1T, typename P2T>
static ObjScopeGuardImpl2<ObjT, MethodT, P1T, P2T> Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::make_obj_guard ( ObjT &  obj,
MethodT  method,
P1T  p1,
P2T  p2 
)
inlinestatic

Definition at line 238 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T, typename P2T>
void Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::run ( )
inline

Definition at line 243 of file ScopeGuard.h.

Member Data Documentation

template<class ObjT, typename MethodT, typename P1T, typename P2T>
MethodT Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::m_method
private

Definition at line 250 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T, typename P2T>
ObjT& Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::m_obj
private

Definition at line 249 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T, typename P2T>
const P1T Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::m_p1
private

Definition at line 251 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T, typename P2T>
const P2T Hypertable::ObjScopeGuardImpl2< ObjT, MethodT, P1T, P2T >::m_p2
private

Definition at line 252 of file ScopeGuard.h.


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