#include <Mutex.h>
|
| | Mutex (const char *name, const char *nameExtension=0) noexcept |
| | The constructor.
|
| |
| | Mutex (const Mutex ©)=delete |
| | The Copy constructor is deleted to avoid copying instances.
|
| |
| Mutex & | operator= (const Mutex ©)=delete |
| | The assignment operator constructor is deleted to avoid copying instances.
|
| |
| | ~Mutex () |
| | The destructor deletes the mutex.
|
| |
| bool | IsInitialized () const noexcept |
| | Accessor function to support testing.
|
| |
| bool | Lock (uint32_t maxMsecToWait) noexcept |
| | This function locks the mutex.
|
| |
| bool | Unlock () noexcept |
| | This function unlocks the mutex.
|
| |
| uint32_t | GetOwnershipCount () const noexcept |
| |
| const char * | GetName () const noexcept |
| |
| bool | EnsureInitialized () noexcept |
| |
◆ Mutex() [1/2]
| Mutex::Mutex |
( |
const char * |
name, |
|
|
const char * |
nameExtension = 0 |
|
) |
| |
|
noexcept |
The constructor.
- Parameters
-
◆ Mutex() [2/2]
| Mutex::Mutex |
( |
const Mutex & |
copy | ) |
|
|
delete |
The Copy constructor is deleted to avoid copying instances.
- Returns
- n/a
◆ ~Mutex()
The destructor deletes the mutex.
◆ EnsureInitialized()
| bool Mutex::EnsureInitialized |
( |
| ) |
|
|
inlinenoexcept |
◆ GetName()
| const char * Mutex::GetName |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetOwnershipCount()
| uint32_t Mutex::GetOwnershipCount |
( |
| ) |
const |
|
inlinenoexcept |
◆ IsInitialized()
| bool Mutex::IsInitialized |
( |
| ) |
const |
|
inlinenoexcept |
Accessor function to support testing.
◆ Lock()
| bool Mutex::Lock |
( |
uint32_t |
maxMsecToWait | ) |
|
|
noexcept |
This function locks the mutex.
- Parameters
-
| maxMsecToWait | Max time to wait before timing out |
◆ operator=()
The assignment operator constructor is deleted to avoid copying instances.
- Returns
- n/a
◆ Unlock()
This function unlocks the mutex.
◆ initialized
◆ MaxNameLength
| constexpr uint32_t Mutex::MaxNameLength = 39U |
|
staticconstexpr |
◆ mutex
◆ mutexName
The documentation for this class was generated from the following files: