This class defines and stores a lock and gives an interface to it.
More...
#include <lock_object.h>
This class defines and stores a lock and gives an interface to it.
The class makes a tiny wrapper over shared memory locking mechanisms it is compliant with C++ Lockable see https://en.cppreference.com/w/cpp/named_req/Lockable
◆ LockObject() [1/2]
Kratos::LockObject::LockObject |
( |
| ) |
|
|
inlinenoexcept |
◆ LockObject() [2/2]
Kratos::LockObject::LockObject |
( |
LockObject const & |
rOther | ) |
|
|
delete |
◆ ~LockObject()
Kratos::LockObject::~LockObject |
( |
| ) |
|
|
inlinenoexcept |
◆ lock()
void Kratos::LockObject::lock |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ SetLock()
void Kratos::LockObject::SetLock |
( |
| ) |
const |
|
inline |
◆ try_lock()
bool Kratos::LockObject::try_lock |
( |
| ) |
const |
|
inline |
◆ unlock()
void Kratos::LockObject::unlock |
( |
| ) |
const |
|
inline |
◆ UnSetLock()
void Kratos::LockObject::UnSetLock |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/kratos/includes/lock_object.h