blocxx
BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 > Class Template Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >:
BLOCXX_NAMESPACE::ScopeGuardImplBase

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl3< F, P1, P2, P3 > makeGuard (F fun, P1 p1, P2 p2, P3 p3)
 

Protected Member Functions

 ScopeGuardImpl3 (F fun, P1 p1, P2 p2, P3 p3)
 
- Protected Member Functions inherited from BLOCXX_NAMESPACE::ScopeGuardImplBase
 ~ScopeGuardImplBase ()
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other) throw ()
 

Protected Attributes

F m_fun
 
const P1 m_p1
 
const P2 m_p2
 
const P3 m_p3
 
- 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<typename F, typename P1, typename P2, typename P3>
class BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >

Definition at line 208 of file ScopeGuard.hpp.

Constructor & Destructor Documentation

◆ ~ScopeGuardImpl3()

template<typename F, typename P1, typename P2, typename P3>
BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::~ScopeGuardImpl3 ( )
throw ( )
inline

◆ ScopeGuardImpl3()

template<typename F, typename P1, typename P2, typename P3>
BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::ScopeGuardImpl3 ( F fun,
P1 p1,
P2 p2,
P3 p3 )
inlineprotected

Definition at line 227 of file ScopeGuard.hpp.

References F, m_fun, m_p1, m_p2, and m_p3.

Referenced by makeGuard().

Member Function Documentation

◆ execute()

template<typename F, typename P1, typename P2, typename P3>
void BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::execute ( )
inline

Definition at line 221 of file ScopeGuard.hpp.

References m_fun, m_p1, m_p2, and m_p3.

◆ makeGuard()

template<typename F, typename P1, typename P2, typename P3>
static ScopeGuardImpl3< F, P1, P2, P3 > BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::makeGuard ( F fun,
P1 p1,
P2 p2,
P3 p3 )
inlinestatic

Definition at line 211 of file ScopeGuard.hpp.

References F, and ScopeGuardImpl3().

Referenced by BLOCXX_NAMESPACE::makeGuard().

Member Data Documentation

◆ m_fun

template<typename F, typename P1, typename P2, typename P3>
F BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::m_fun
protected

Definition at line 230 of file ScopeGuard.hpp.

Referenced by execute(), and ScopeGuardImpl3().

◆ m_p1

template<typename F, typename P1, typename P2, typename P3>
const P1 BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::m_p1
protected

Definition at line 231 of file ScopeGuard.hpp.

Referenced by execute(), and ScopeGuardImpl3().

◆ m_p2

template<typename F, typename P1, typename P2, typename P3>
const P2 BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::m_p2
protected

Definition at line 232 of file ScopeGuard.hpp.

Referenced by execute(), and ScopeGuardImpl3().

◆ m_p3

template<typename F, typename P1, typename P2, typename P3>
const P3 BLOCXX_NAMESPACE::ScopeGuardImpl3< F, P1, P2, P3 >::m_p3
protected

Definition at line 233 of file ScopeGuard.hpp.

Referenced by execute(), and ScopeGuardImpl3().


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