This class defines a scoped lock object for shared locks.
More...
This class defines a scoped lock object for shared locks.
- See also
- SharedLock.
◆ ScopedSharedLock() [1/2]
Ocean::ScopedSharedLock::ScopedSharedLock |
( |
SharedLock & |
sharedLock | ) |
|
|
inline |
Creates a new shared scoped lock object.
- Parameters
-
sharedLock | Shared lock object to be used for locking |
◆ ~ScopedSharedLock()
Ocean::ScopedSharedLock::~ScopedSharedLock |
( |
| ) |
|
|
inline |
Releases a shared scoped lock object.
◆ ScopedSharedLock() [2/2]
Ocean::ScopedSharedLock::ScopedSharedLock |
( |
const ScopedSharedLock & |
scopedSharedLock | ) |
|
|
protecteddelete |
Disabled copy constructor.
- Parameters
-
scopedSharedLock | The object which would be copied |
◆ operator=()
Disabled copy operator.
- Parameters
-
scopedSharedLock | The object which would be copied |
- Returns
- Reference to this object
◆ scopedLock_
Shared lock object to be used for locking.
The documentation for this class was generated from the following file: