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

#include <ScopeGuard.hpp>

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

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl2< F, P1, P2 > makeGuard (F fun, P1 p1, P2 p2)
 

Protected Member Functions

 ScopeGuardImpl2 (F fun, P1 p1, P2 p2)
 
- 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
 
- 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>
class BLOCXX_NAMESPACE::ScopeGuardImpl2< F, P1, P2 >

Definition at line 174 of file ScopeGuard.hpp.

Constructor & Destructor Documentation

◆ ~ScopeGuardImpl2()

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

◆ ScopeGuardImpl2()

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

Member Function Documentation

◆ execute()

◆ makeGuard()

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

Member Data Documentation

◆ m_fun

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

◆ m_p1

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

◆ m_p2

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

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