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

BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 > Class Template Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >:
BLOCXX_NAMESPACE::ScopeGuardImplBase

List of all members.

Public Member Functions

 ~ScopeGuardImpl1 () throw ()
void execute ()

Static Public Member Functions

static ScopeGuardImpl1< F, P1 > makeGuard (F fun, P1 p1)

Protected Member Functions

 ScopeGuardImpl1 (F fun, P1 p1)

Protected Attributes

m_fun
const P1 m_p1

Detailed Description

template<typename F, typename P1>
class BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >

Definition at line 142 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

template<typename F, typename P1>
BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >::~ScopeGuardImpl1 ( ) throw () [inline]
template<typename F, typename P1>
BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >::ScopeGuardImpl1 ( fun,
P1  p1 
) [inline, protected]

Definition at line 161 of file ScopeGuard.hpp.


Member Function Documentation

template<typename F, typename P1>
void BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >::execute ( ) [inline]
template<typename F, typename P1>
static ScopeGuardImpl1<F, P1> BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >::makeGuard ( fun,
P1  p1 
) [inline, static]

Definition at line 145 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::makeGuard().


Member Data Documentation

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

Definition at line 164 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >::execute().

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

Definition at line 165 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::ScopeGuardImpl1< F, P1 >::execute().


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