Synchronization flag to gain exclusive access on the calling thread.
Definition ThreadSafety.hpp:8
void Unlock()
Release the previously claimed access.
Definition ThreadSafety.cpp:10
void Lock()
Obtain exclusive access to this mutex.
Definition ThreadSafety.cpp:5
Container class providing thread-safe access to the internal object.
Definition ThreadSafety.hpp:24
T & Get()
Get a reference to the contained value.
Definition ThreadSafety.hpp:70
T * operator->()
Get a pointer to the contained value.
Definition ThreadSafety.hpp:80
void Lock()
Gain exclusive access to this object.
Definition ThreadSafety.hpp:30
ThreadSafe()
Definition ThreadSafety.hpp:26
T GetCopy()
Get a copy of the contained value.
Definition ThreadSafety.hpp:56
ThreadSafe(T initialValue)
Definition ThreadSafety.hpp:27
void Set(T value)
Set the value of this object.
Definition ThreadSafety.hpp:45
void Unlock()
Release exclusive access to this object.
Definition ThreadSafety.hpp:36