Template Class MutexObject¶
- Defined in File ThreadMutexObject.h
Class Documentation¶
-
template <class T>
classMutexObject¶ Public Types
-
typedef std::lock_guard<std::mutex>
lock_guard¶
Public Functions
-
MutexObject()¶
-
MutexObject(T initialValue)¶
-
void
set(const T &newValue)¶
-
void
operator=(const T &newValue)¶
-
void
lock(void)¶
-
void
unlock(void)¶
-
std::mutex &
mutex()¶
-
T &
operator()(void)¶
-
const T &
const_ref(void) const¶
-
void
assignAndNotifyAll(const T &newValue)¶
-
void
notifyAll()¶
-
T
get()¶
-
template <class Rep, class Period>
voidwait_for(const std::chrono::duration<Rep, Period> &dur)¶
-
void
wait(void)¶
-
template <class Predicate>
voidwait(Predicate pred)¶
-
typedef std::lock_guard<std::mutex>