#include <src/util/ScopeGuard.h>
Public Member Functions | |
void | Execute () |
~ScopeGuardImpl4 () throw () | |
Static Public Member Functions | |
static ScopeGuardImpl4< F, P1, P2, P3, P4 > | MakeGuard (F fun, P1 p1, P2 p2, P3 p3, P4 p4) |
Protected Member Functions | |
ScopeGuardImpl4 (F fun, P1 p1, P2 p2, P3 p3, P4 p4) | |
Protected Attributes | |
F | fun_ |
const P1 | p1_ |
const P2 | p2_ |
const P3 | p3_ |
const P4 | p4_ |
This class has a single standalone helper function, MakeGuard which creates and returns a ScopeGuard.
Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::~ScopeGuardImpl4 | ( | ) | throw () [inline] |
References Loki::ScopeGuardImplBase::SafeExecute().
Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::ScopeGuardImpl4 | ( | F | fun, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4 | |||
) | [inline, protected] |
void Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::Execute | ( | ) | [inline] |
static ScopeGuardImpl4< F, P1, P2, P3, P4 > Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::MakeGuard | ( | F | fun, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4 | |||
) | [inline, static] |
F Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::fun_ [protected] |
Referenced by Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::Execute().
const P1 Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::p1_ [protected] |
Referenced by Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::Execute().
const P2 Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::p2_ [protected] |
Referenced by Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::Execute().
const P3 Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::p3_ [protected] |
Referenced by Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::Execute().
const P4 Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::p4_ [protected] |
Referenced by Loki::ScopeGuardImpl4< F, P1, P2, P3, P4 >::Execute().