Template Class ThreadMutexObject¶
- Defined in File ThreadMutexObject.h
Class Documentation¶
-
template <class T>
classThreadMutexObject¶ Public Types
-
typedef std::lock_guard<std::mutex>
lock_guard¶
Public Functions
-
ThreadMutexObject()¶
-
ThreadMutexObject(T initialValue)¶
-
void
assignValue(T newValue)¶
-
void
set(const T &newValue)¶
-
void
lock(void)¶
-
void
unlock(void)¶
-
std::mutex &
mutex()¶
-
std::condition_variable_any &
cv(void)¶
-
T &
getReference()¶
-
T &
operator()(void)¶
-
void
assignAndNotifyAll(T newValue)¶
-
void
notifyAll()¶
-
T
getValue()¶
-
template <class Rep, class Period>
voidwait_for(const std::chrono::duration<Rep, Period> &dur)¶
-
void
wait(void)¶
-
T
waitForSignal()¶
-
T
getValueWait(int wait = 33000)¶
-
T &
getReferenceWait(int wait = 33000)¶
-
void
operator++(int)¶
-
typedef std::lock_guard<std::mutex>