This class implements a recursive scoped lock object that is activated by a boolean template parameter.
More...
template<bool tActive>
class Ocean::TemplatedScopedLock< tActive >
This class implements a recursive scoped lock object that is activated by a boolean template parameter.
- Template Parameters
-
tActive | True, to active the scoped lock, false to deactivate the scoped lock |
- See also
- Lock, ScopedLock, TemporaryScopedLock, OptionalScopedLock.
◆ TemplatedScopedLock() [1/3]
Creates a new scoped lock object by a given lock object.
- Parameters
-
lock | The lock object used for locking |
◆ TemplatedScopedLock() [2/3]
Creates a new scoped lock object by a given lock object.
- Parameters
-
lock | The lock object used for locking |
◆ ~TemplatedScopedLock()
Destructs a scoped lock and unlocks the internal lock object.
◆ TemplatedScopedLock() [3/3]
Disabled accessible copy operator.
- Parameters
-
◆ operator=()
Disabled accessible assigns operator.
- Parameters
-
- Returns
- Reference to this object
◆ lock_
Lock object which is locked during the existence of this scoped lock object.
The documentation for this class was generated from the following file: