#include <src/util/ScopeGuard.h>
Public Member Functions | |
void | Execute () |
~ObjScopeGuardImpl3 () throw () | |
Static Public Member Functions | |
static ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 > | MakeObjGuard (Obj &obj, MemFun memFun, P1 p1, P2 p2, P3 p3) |
Protected Member Functions | |
ObjScopeGuardImpl3 (Obj &obj, MemFun memFun, P1 p1, P2 p2, P3 p3) | |
Protected Attributes | |
MemFun | memFun_ |
Obj & | obj_ |
const P1 | p1_ |
const P2 | p2_ |
const P3 | p3_ |
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.
Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::~ObjScopeGuardImpl3 | ( | ) | throw () [inline] |
References Loki::ScopeGuardImplBase::SafeExecute().
Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::ObjScopeGuardImpl3 | ( | Obj & | obj, | |
MemFun | memFun, | |||
P1 | p1, | |||
P2 | p2, | |||
P3 | p3 | |||
) | [inline, protected] |
void Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::Execute | ( | ) | [inline] |
References Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::memFun_, Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::obj_, Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::p1_, Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::p2_, and Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::p3_.
static ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 > Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::MakeObjGuard | ( | Obj & | obj, | |
MemFun | memFun, | |||
P1 | p1, | |||
P2 | p2, | |||
P3 | p3 | |||
) | [inline, static] |
MemFun Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::memFun_ [protected] |
Obj& Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::obj_ [protected] |
const P1 Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::p1_ [protected] |
const P2 Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::p2_ [protected] |
const P3 Loki::ObjScopeGuardImpl3< Obj, MemFun, P1, P2, P3 >::p3_ [protected] |