Orxonox
0.0.5 Codename: Arcturus
|
Implementation class for a standalone function or class static function with two parameters. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/loki/ScopeGuard.h>
Public Member Functions | |
ScopeGuardImpl2 (F fun, P1 p1, P2 p2) | |
~ScopeGuardImpl2 () throw () | |
void | Execute () |
Public Member Functions inherited from Loki::ScopeGuardImplBase | |
ScopeGuardImplBase () throw () | |
void | Dismiss () const throw () |
Static Public Member Functions | |
static ScopeGuardImpl2< F, P1, P2 > | MakeGuard (F fun, P1 p1, P2 p2) |
Protected Attributes | |
F | fun_ |
const P1 | p1_ |
const P2 | p2_ |
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 standalone function or class static function with two parameters.
Each parameter is copied by value - use Loki::ByRef if you must use a reference instead. ScopeGuard ignores any value returned from the call within the Execute function.
This class has a single standalone helper function, MakeGuard which creates and returns a ScopeGuard.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
protected |
|
protected |
|
protected |