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

#include <ScopeGuard.hpp>

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

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, MemFunmakeObjGuard (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

Objm_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

◆ ~ObjScopeGuardImpl0()

◆ ObjScopeGuardImpl0()

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

◆ execute()

◆ makeObjGuard()

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.

References BLOCXX_NAMESPACE::operator==().

Referenced by BLOCXX_NAMESPACE::makeObjGuard().

Member Data Documentation

◆ m_memFun

◆ m_obj


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