blocxx
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun > Class Template Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >:
BLOCXX_NAMESPACE::ScopeGuardImplBase

List of all members.

Public Member Functions

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

Static Public Member Functions

static ObjScopeGuardImpl0< Obj,
MemFun > 
makeObjGuard (Obj &obj, MemFun memFun)

Protected Member Functions

 ObjScopeGuardImpl0 (Obj &obj, MemFun memFun)
- Protected Member Functions inherited from BLOCXX_NAMESPACE::ScopeGuardImplBase
 ~ScopeGuardImplBase ()
 ScopeGuardImplBase (const ScopeGuardImplBase &other) throw ()

Protected Attributes

Obj & m_obj
MemFun m_memFun
- Protected Attributes inherited from BLOCXX_NAMESPACE::ScopeGuardImplBase
bool m_dismissed

Additional Inherited Members

- Static Protected Member Functions inherited from BLOCXX_NAMESPACE::ScopeGuardImplBase
template<typename J >
static void safeExecute (J &j) throw ()

Detailed Description

template<class Obj, typename MemFun>
class BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >

Definition at line 245 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

template<class Obj, typename MemFun>
BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::~ObjScopeGuardImpl0 ( ) throw ()
inline
template<class Obj, typename MemFun>
BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::ObjScopeGuardImpl0 ( Obj &  obj,
MemFun  memFun 
)
inlineprotected

Definition at line 264 of file ScopeGuard.hpp.


Member Function Documentation

template<class Obj, typename MemFun>
void BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::execute ( )
inline
template<class Obj, typename MemFun>
static ObjScopeGuardImpl0<Obj, MemFun> BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::makeObjGuard ( Obj &  obj,
MemFun  memFun 
)
inlinestatic

Definition at line 248 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::makeObjGuard().


Member Data Documentation

template<class Obj, typename MemFun>
MemFun BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::m_memFun
protected
template<class Obj, typename MemFun>
Obj& BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::m_obj
protected

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