blocxx
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
BLOCXX_NAMESPACE::ScopeGuardImpl0< F > Class Template Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ScopeGuardImpl0< F >:
BLOCXX_NAMESPACE::ScopeGuardImplBase

List of all members.

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl0< FmakeGuard (F fun)

Protected Member Functions

 ScopeGuardImpl0 (F fun)
- Protected Member Functions inherited from BLOCXX_NAMESPACE::ScopeGuardImplBase
 ~ScopeGuardImplBase ()
 ScopeGuardImplBase (const ScopeGuardImplBase &other) throw ()

Protected Attributes

F m_fun
- 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>
class BLOCXX_NAMESPACE::ScopeGuardImpl0< F >

Definition at line 109 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

template<typename F >
BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::~ScopeGuardImpl0 ( ) throw ()
inline
template<typename F >
BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::ScopeGuardImpl0 ( F  fun)
inlineprotected

Definition at line 128 of file ScopeGuard.hpp.


Member Function Documentation

template<typename F >
void BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::execute ( )
inline

Definition at line 122 of file ScopeGuard.hpp.

References BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::m_fun.

template<typename F >
static ScopeGuardImpl0<F> BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::makeGuard ( F  fun)
inlinestatic

Definition at line 112 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::makeGuard().


Member Data Documentation

template<typename F >
F BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::m_fun
protected

Definition at line 131 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::ScopeGuardImpl0< F >::execute().


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