#include <Status.hpp>
◆ Status() [1/3]
◆ ~Status()
◆ Status() [2/3]
Status::Status |
( |
const Status & |
other | ) |
|
◆ Status() [3/3]
Status::Status |
( |
Status && |
other | ) |
|
◆ isLockable()
bool Status::isLockable |
( |
| ) |
const |
◆ isLocked()
bool Status::isLocked |
( |
| ) |
const |
◆ isShareLockable()
bool Status::isShareLockable |
( |
| ) |
const |
◆ isShareLocked()
bool Status::isShareLocked |
( |
| ) |
const |
◆ lock()
adds a writer to the status
- Warning
- WILL BLOCK until it can add a writer
◆ lock_shared()
void Status::lock_shared |
( |
| ) |
|
adds a reader to the status
- Warning
- WILL BLOCK until it can add a reader
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ try_lock()
bool Status::try_lock |
( |
| ) |
|
Tries to add a writer to the status, will NOT block.
- Returns
- true if it added a writer \
-
false if it did not add a writer
◆ try_lock_shared()
bool Status::try_lock_shared |
( |
| ) |
|
Tries to add a reader to the status, will NOT block.
- Returns
- true if it added a reader \
-
false if it did not add a reader
◆ unlock()
removes a writer from the status
◆ unlock_shared()
void Status::unlock_shared |
( |
| ) |
|
removes a reader from the status
The documentation for this class was generated from the following files: