Orxonox
0.0.5 Codename: Arcturus
|
Implementation class for a class per-instance member function with no parameters. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/loki/ScopeGuard.h>
Public Member Functions | |
ObjScopeGuardImpl0 (Obj &obj, MemFun memFun) | |
~ObjScopeGuardImpl0 () throw () | |
void | Execute () |
Public Member Functions inherited from Loki::ScopeGuardImplBase | |
ScopeGuardImplBase () throw () | |
void | Dismiss () const throw () |
Static Public Member Functions | |
static ObjScopeGuardImpl0< Obj, MemFun > | MakeObjGuard (Obj &obj, MemFun memFun) |
Protected Attributes | |
MemFun | memFun_ |
Obj & | obj_ |
Protected Attributes inherited from Loki::ScopeGuardImplBase | |
bool | dismissed_ |
Additional Inherited Members | |
Protected Member Functions inherited from Loki::ScopeGuardImplBase | |
ScopeGuardImplBase (const ScopeGuardImplBase &other) throw () | |
Copy-constructor takes over responsibility from other ScopeGuard. More... | |
~ScopeGuardImplBase () | |
Static Protected Member Functions inherited from Loki::ScopeGuardImplBase | |
template<typename J > | |
static void | SafeExecute (J &j) throw () |
Implementation class for a class per-instance member function with no parameters.
ScopeGuard ignores any value returned from the call within the Execute function.
This class has 3 standalone helper functions which create a ScopeGuard. One is MakeObjGuard, which is deprecated but provided for older code. The other two are MakeGuard overloads, one which takes a pointer to an object, and the other which takes a reference.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
protected |
|
protected |