blocxx
BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 > Class Template Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >:
BLOCXX_NAMESPACE::ScopeGuardImplBase

Public Member Functions

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

Static Public Member Functions

static ObjScopeGuardImpl1< Obj, MemFun, P1 > makeObjGuard (Obj &obj, MemFun memFun, P1 p1)
 

Protected Member Functions

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

Protected Attributes

Obj & m_obj
 
MemFun m_memFun
 
const P1 m_p1
 
- 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, typename P1>
class BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >

Definition at line 290 of file ScopeGuard.hpp.

Constructor & Destructor Documentation

◆ ~ObjScopeGuardImpl1()

template<class Obj , typename MemFun , typename P1 >
BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >::~ObjScopeGuardImpl1 ( )
throw ( )
inline

◆ ObjScopeGuardImpl1()

template<class Obj , typename MemFun , typename P1 >
BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >::ObjScopeGuardImpl1 ( Obj & obj,
MemFun memFun,
P1 p1 )
inlineprotected

Member Function Documentation

◆ execute()

◆ makeObjGuard()

template<class Obj , typename MemFun , typename P1 >
static ObjScopeGuardImpl1< Obj, MemFun, P1 > BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >::makeObjGuard ( Obj & obj,
MemFun memFun,
P1 p1 )
inlinestatic

Member Data Documentation

◆ m_memFun

template<class Obj , typename MemFun , typename P1 >
MemFun BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >::m_memFun
protected

◆ m_obj

template<class Obj , typename MemFun , typename P1 >
Obj& BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >::m_obj
protected

◆ m_p1

template<class Obj , typename MemFun , typename P1 >
const P1 BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >::m_p1
protected

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