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

#include <ScopeGuard.hpp>

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

List of all members.

Public Member Functions

 ~ScopeGuardImpl2 () throw ()
void execute ()

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 Attributes

m_fun
const P1 m_p1
const P2 m_p2

Detailed Description

template<typename F, typename P1, typename P2>
class BLOCXX_NAMESPACE::ScopeGuardImpl2< F, P1, P2 >

Definition at line 172 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

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

Definition at line 180 of file ScopeGuard.hpp.

template<typename F, typename P1, typename P2>
BLOCXX_NAMESPACE::ScopeGuardImpl2< F, P1, P2 >::ScopeGuardImpl2 ( fun,
P1  p1,
P2  p2 
) [inline, protected]

Definition at line 191 of file ScopeGuard.hpp.


Member Function Documentation

template<typename F, typename P1, typename P2>
void BLOCXX_NAMESPACE::ScopeGuardImpl2< F, P1, P2 >::execute (  )  [inline]

Definition at line 185 of file ScopeGuard.hpp.

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

Definition at line 175 of file ScopeGuard.hpp.

References F.

Referenced by BLOCXX_NAMESPACE::makeGuard().


Member Data Documentation

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

Definition at line 194 of file ScopeGuard.hpp.

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

Definition at line 195 of file ScopeGuard.hpp.

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

Definition at line 196 of file ScopeGuard.hpp.


The documentation for this class was generated from the following file:
Generated on Mon Jul 5 19:59:50 2010 for blocxx by  doxygen 1.6.3