blocxx
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 > Class Template Reference

#include <ScopeGuard.hpp>

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

List of all members.

Public Member Functions

 ~ObjScopeGuardImpl2 () throw ()
void execute ()

Static Public Member Functions

static ObjScopeGuardImpl2< Obj,
MemFun, P1, P2 > 
makeObjGuard (Obj &obj, MemFun memFun, P1 p1, P2 p2)

Protected Member Functions

 ObjScopeGuardImpl2 (Obj &obj, MemFun memFun, P1 p1, P2 p2)

Protected Attributes

Obj & m_obj
MemFun m_memFun
const P1 m_p1
const P2 m_p2

Detailed Description

template<class Obj, typename MemFun, typename P1, typename P2>
class BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >

Definition at line 337 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

template<class Obj, typename MemFun, typename P1, typename P2>
BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::~ObjScopeGuardImpl2 ( ) throw () [inline]
template<class Obj, typename MemFun, typename P1, typename P2>
BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::ObjScopeGuardImpl2 ( Obj &  obj,
MemFun  memFun,
P1  p1,
P2  p2 
) [inline, protected]

Definition at line 356 of file ScopeGuard.hpp.


Member Function Documentation

template<class Obj, typename MemFun, typename P1, typename P2>
void BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::execute ( ) [inline]
template<class Obj, typename MemFun, typename P1, typename P2>
static ObjScopeGuardImpl2<Obj, MemFun, P1, P2> BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::makeObjGuard ( Obj &  obj,
MemFun  memFun,
P1  p1,
P2  p2 
) [inline, static]

Definition at line 340 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::makeObjGuard().


Member Data Documentation

template<class Obj, typename MemFun, typename P1, typename P2>
MemFun BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::m_memFun [protected]
template<class Obj, typename MemFun, typename P1, typename P2>
Obj& BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::m_obj [protected]
template<class Obj, typename MemFun, typename P1, typename P2>
const P1 BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::m_p1 [protected]
template<class Obj, typename MemFun, typename P1, typename P2>
const P2 BLOCXX_NAMESPACE::ObjScopeGuardImpl2< Obj, MemFun, P1, P2 >::m_p2 [protected]

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