Base class used by all ScopeGuard implementations.
More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/loki/ScopeGuard.h>
Base class used by all ScopeGuard implementations.
All commonly used functions are in this class (e.g. - Dismiss and SafeExecute).
See Andrei's and Petru Marginean's CUJ article http://www.cuj.com/documents/s=8000/cujcexp1812alexandr/alexandr.htm
Changes to the original code by Joshua Lehrer: http://www.lehrerfamily.com/scopeguard.html
Loki::ScopeGuardImplBase::~ScopeGuardImplBase |
( |
| ) |
|
|
inlineprotected |
Loki::ScopeGuardImplBase::ScopeGuardImplBase |
( |
const ScopeGuardImplBase & |
other | ) |
|
throw | ( | |
| ) | | |
|
inlineprotected |
Copy-constructor takes over responsibility from other ScopeGuard.
Loki::ScopeGuardImplBase::ScopeGuardImplBase |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
void Loki::ScopeGuardImplBase::Dismiss |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
Copy-assignment operator is not implemented and private.
template<typename J >
static void Loki::ScopeGuardImplBase::SafeExecute |
( |
J & |
j | ) |
|
throw | ( | |
| ) | | |
|
inlinestaticprotected |
bool Loki::ScopeGuardImplBase::dismissed_ |
|
mutableprotected |
The documentation for this class was generated from the following file: