blocxx
BLOCXX_NAMESPACE::ScopeGuardImplBase Class Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ScopeGuardImplBase:
BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun > BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 > BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 > BLOCXX_NAMESPACE::ScopeGuardImpl0< F > BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 > BLOCXX_NAMESPACE::ScopeGuardImpl2< F, P1, P2 > BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >

Public Member Functions

 ScopeGuardImplBase () throw ()
 
void dismiss () const throw ()
 

Protected Member Functions

 ~ScopeGuardImplBase ()
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other) throw ()
 

Static Protected Member Functions

template<typename J >
static void safeExecute (J &j) throw ()
 

Protected Attributes

bool m_dismissed
 

Private Member Functions

ScopeGuardImplBaseoperator= (const ScopeGuardImplBase &)
 

Detailed Description

Definition at line 56 of file ScopeGuard.hpp.

Constructor & Destructor Documentation

◆ ~ScopeGuardImplBase()

BLOCXX_NAMESPACE::ScopeGuardImplBase::~ScopeGuardImplBase ( )
inlineprotected

Definition at line 62 of file ScopeGuard.hpp.

◆ ScopeGuardImplBase() [1/2]

BLOCXX_NAMESPACE::ScopeGuardImplBase::ScopeGuardImplBase ( const ScopeGuardImplBase & other)
throw ( )
inlineprotected

Definition at line 65 of file ScopeGuard.hpp.

◆ ScopeGuardImplBase() [2/2]

BLOCXX_NAMESPACE::ScopeGuardImplBase::ScopeGuardImplBase ( )
throw ( )
inline

Definition at line 86 of file ScopeGuard.hpp.

Member Function Documentation

◆ dismiss()

void BLOCXX_NAMESPACE::ScopeGuardImplBase::dismiss ( ) const
throw ( )
inline

Definition at line 89 of file ScopeGuard.hpp.

References m_dismissed.

◆ operator=()

ScopeGuardImplBase & BLOCXX_NAMESPACE::ScopeGuardImplBase::operator= ( const ScopeGuardImplBase & )
private

◆ safeExecute()

Member Data Documentation

◆ m_dismissed

bool BLOCXX_NAMESPACE::ScopeGuardImplBase::m_dismissed
mutableprotected

Definition at line 83 of file ScopeGuard.hpp.

Referenced by dismiss().


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