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::ObjScopeGuardImpl0< ObjT, MethodT > Class Template Reference

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

#include <ScopeGuard.h>

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

Public Member Functions

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

Static Public Member Functions

static ObjScopeGuardImpl0
< ObjT, MethodT > 
make_obj_guard (ObjT &obj, MethodT method)
 

Private Member Functions

 ObjScopeGuardImpl0 (ObjT &obj, MethodT method)
 

Private Attributes

ObjT & m_obj
 
MethodT m_method
 

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

ScopeGuard implementation for method with no parameter.

Definition at line 178 of file ScopeGuard.h.

Constructor & Destructor Documentation

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

Definition at line 184 of file ScopeGuard.h.

template<class ObjT, typename MethodT>
Hypertable::ObjScopeGuardImpl0< ObjT, MethodT >::ObjScopeGuardImpl0 ( ObjT &  obj,
MethodT  method 
)
inlineprivate

Definition at line 189 of file ScopeGuard.h.

Member Function Documentation

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

Definition at line 181 of file ScopeGuard.h.

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

Definition at line 186 of file ScopeGuard.h.

Member Data Documentation

template<class ObjT, typename MethodT>
MethodT Hypertable::ObjScopeGuardImpl0< ObjT, MethodT >::m_method
private

Definition at line 193 of file ScopeGuard.h.

template<class ObjT, typename MethodT>
ObjT& Hypertable::ObjScopeGuardImpl0< ObjT, MethodT >::m_obj
private

Definition at line 192 of file ScopeGuard.h.


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