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

BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 > Class Template Reference

#include <ScopeGuard.hpp>

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

List of all members.

Public Member Functions

 ~ObjScopeGuardImpl1 () throw ()
void execute ()

Static Public Member Functions

static ObjScopeGuardImpl1< Obj,
MemFun, P1 > 
makeObjGuard (Obj &obj, MemFun memFun, P1 p1)

Protected Member Functions

 ObjScopeGuardImpl1 (Obj &obj, MemFun memFun, P1 p1)

Protected Attributes

Obj & m_obj
MemFun m_memFun
const P1 m_p1

Detailed Description

template<class Obj, typename MemFun, typename P1>
class BLOCXX_NAMESPACE::ObjScopeGuardImpl1< Obj, MemFun, P1 >

Definition at line 291 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

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

Definition at line 310 of file ScopeGuard.hpp.


Member Function Documentation

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

Definition at line 294 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::makeObjGuard().


Member Data Documentation

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

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