Specialization of the TemplatedLock class.
More...
#include <Lock.h>
|
| | TemplatedLock ()=default |
| | Creates a new lock object.
|
| | Lock () |
| | Creates a new lock object.
|
| | ~Lock () |
| | Destructs a lock object.
|
| void | lock () |
| | Locks the critical section.
|
| void | unlock () |
| | Unlocks the critical section.
|
| bool | isLocked () |
| | Returns whether this critical section is locked by another thread.
|
|
| CRITICAL_SECTION | criticalSection_ |
| | Critical section object of windows.
|
| pthread_mutex_t | mutex_ |
| | Pthread mutex object.
|
Specialization of the TemplatedLock class.
This class does nothing.
◆ TemplatedLock() [1/2]
Creates a new lock object.
◆ TemplatedLock() [2/2]
Disabled copy constructor.
- Parameters
-
| lock | The lock object to be copied |
◆ operator=()
Disabled assign operator.
- Parameters
-
| lock | The lock object to be assigned |
- Returns
- Reference to this object
The documentation for this class was generated from the following file: