0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Hypertable::ObjScopeGuardImpl1< ObjT, MethodT, P1T > Class Template Reference

ScopeGuard implementation for method with 1 parameter. More...

#include <ScopeGuard.h>

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

Public Member Functions

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

Static Public Member Functions

static ObjScopeGuardImpl1
< ObjT, MethodT, P1T > 
make_obj_guard (ObjT &obj, MethodT method, P1T p1)
 

Protected Member Functions

 ObjScopeGuardImpl1 (ObjT &obj, MethodT method, P1T p1)
 
- Protected Member Functions inherited from Hypertable::ScopeGuardImplBase
 ~ScopeGuardImplBase ()
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other) throw ()
 

Protected Attributes

ObjT & m_obj
 
MethodT m_method
 
const P1T m_p1
 

Additional Inherited Members

- 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>
class Hypertable::ObjScopeGuardImpl1< ObjT, MethodT, P1T >

ScopeGuard implementation for method with 1 parameter.

Definition at line 206 of file ScopeGuard.h.

Constructor & Destructor Documentation

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

Definition at line 212 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T>
Hypertable::ObjScopeGuardImpl1< ObjT, MethodT, P1T >::ObjScopeGuardImpl1 ( ObjT &  obj,
MethodT  method,
P1T  p1 
)
inlineprotected

Definition at line 217 of file ScopeGuard.h.

Member Function Documentation

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

Definition at line 209 of file ScopeGuard.h.

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

Definition at line 214 of file ScopeGuard.h.

Member Data Documentation

template<class ObjT, typename MethodT, typename P1T>
MethodT Hypertable::ObjScopeGuardImpl1< ObjT, MethodT, P1T >::m_method
protected

Definition at line 221 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T>
ObjT& Hypertable::ObjScopeGuardImpl1< ObjT, MethodT, P1T >::m_obj
protected

Definition at line 220 of file ScopeGuard.h.

template<class ObjT, typename MethodT, typename P1T>
const P1T Hypertable::ObjScopeGuardImpl1< ObjT, MethodT, P1T >::m_p1
protected

Definition at line 222 of file ScopeGuard.h.


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