A base mutex class.
More...
#include <xsens_mutex.h>
A base mutex class.
Definition at line 132 of file xsens_mutex.h.
◆ Mutex() [1/3]
◆ ~Mutex()
◆ Mutex() [2/3]
xsens::Mutex::Mutex |
( |
Mutex const & |
| ) |
|
|
delete |
◆ Mutex() [3/3]
xsens::Mutex::Mutex |
( |
Mutex && |
| ) |
|
|
delete |
◆ claimMutex()
bool xsens::Mutex::claimMutex |
( |
| ) |
|
|
inline |
Claims (locks) a mutex.
- Returns
- True if successful
Definition at line 178 of file xsens_mutex.h.
◆ isLocked()
bool xsens::Mutex::isLocked |
( |
| ) |
const volatile |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ releaseMutex()
bool xsens::Mutex::releaseMutex |
( |
| ) |
|
|
inline |
Releases (unlocks) a mutex.
- Returns
- True if successful
Definition at line 193 of file xsens_mutex.h.
◆ tryClaimMutex()
bool xsens::Mutex::tryClaimMutex |
( |
| ) |
|
|
inline |
Tries to claim (lock) a mutex.
- Returns
- True if successful
Definition at line 208 of file xsens_mutex.h.
◆ Lock
◆ WaitCondition
◆ m_lockCount
volatile std::atomic_int xsens::Mutex::m_lockCount |
|
private |
◆ m_lockedBy
◆ m_mutex
CRITICAL_SECTION xsens::Mutex::m_mutex |
|
private |
The documentation for this class was generated from the following file: