8#ifndef META_OCEAN_TEST_TESTBASE_TEST_LOCK_H
9#define META_OCEAN_TEST_TESTBASE_TEST_LOCK_H
43 template <
bool tThreadSafe>
52 void function(
int& value);
101template <
bool tThreadSafe>
This class implements a recursive lock object.
Definition Lock.h:31
This class implements a template-based recursive lock object.
Definition Lock.h:99
This class implements a recursive scoped lock object that is activated by a boolean template paramete...
Definition Lock.h:178
Definition of an empty class.
Definition TestLock.h:36
Definition of a helper class.
Definition TestLock.h:45
void function(int &value)
A function.
Definition TestLock.h:102
TemplatedLock< tThreadSafe > lock_
The object's lock.
Definition TestLock.h:57
This class tests lock functions.
Definition TestLock.h:29
static bool test()
Tests all lock functions.
static bool testScopedLock()
Tests the scoped lock object.
static Lock & staticLockObject()
Returns the static lock object.
static bool testTemplatedLock()
Tests the templated lock object.
static bool testLockUnlock()
Tests the lock and unlock functions.
static bool testStaticScopedLock()
Tests a static scoped lock object.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15