STE-Industries: utilities testing
|
#include "Mutex.h"
Public Member Functions | |
Mutex (const Mutex &thisThread)=delete | |
Mutex (Mutex &&thisMutex)=delete | |
Mutex (void) noexcept | |
~Mutex (void) noexcept(false) | |
void | Finalize (void) noexcept(false) |
void | Initialize (void) noexcept(false) |
void | Lock (void) noexcept(false) |
Mutex & | operator= (const Mutex &thisMutex)=delete |
Mutex & | operator= (Mutex &&thisMutex)=delete |
void | Unlock (void) noexcept(false) |
Private Attributes | |
bool | Active |
pthread_mutex_t | MutexData |
Static Private Attributes | |
static constexpr unsigned int | MUTEX_DESTROY_OK = 0 |
static constexpr unsigned int | MUTEX_INIT_OK = 0 |
static constexpr unsigned int | MUTEX_LOCK_OK = 0 |
static constexpr unsigned int | MUTEX_UNLOCK_OK = 0 |
|
noexcept |
|
delete |
|
delete |
|
noexcept |
SystemExceptionType::MUTEX_DESTROY_FAILED | If the destruction fails. |
|
noexcept |
SystemExceptionType::INVALID_MUTEX_OPERATION | If the Mutex is not initialized. |
SystemExceptionType::MUTEX_DESTROY_FAILED | If the operation fails. |
Definition at line 93 of file Mutex.cpp.
References GraphicSpace::INVALID_MUTEX_OPERATION, and GraphicSpace::MUTEX_DESTROY_FAILED.
|
noexcept |
SystemExceptionType::INVALID_MUTEX_OPERATION | If the Mutex is already initialized. |
SystemExceptionType::MUTEX_INITIALIZATION_FAILED | If the initialization fails. |
Definition at line 67 of file Mutex.cpp.
References GraphicSpace::INVALID_MUTEX_OPERATION, and GraphicSpace::MUTEX_INITIALIZATION_FAILED.
|
noexcept |
SystemExceptionType::INVALID_MUTEX_OPERATION | If the Mutex is not initialized. |
SystemExceptionType::MUTEX_LOCK_FAILED | If the operation fails. |
Definition at line 118 of file Mutex.cpp.
References GraphicSpace::INVALID_MUTEX_OPERATION, and GraphicSpace::MUTEX_LOCK_FAILED.
|
noexcept |
SystemExceptionType::INVALID_MUTEX_OPERATION | If the Mutex is not initialized. |
SystemExceptionType::MUTEX_UNLOCK_FAILED | If the operation fails. |
Definition at line 142 of file Mutex.cpp.
References GraphicSpace::INVALID_MUTEX_OPERATION, and GraphicSpace::MUTEX_UNLOCK_FAILED.
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |