A protected value class. More...
#include <xsens_mutex.h>
Public Member Functions | |
| void | operator= (const ProtectedValue &pv) |
| Assignment operator, copies contents from the pv protected value. More... | |
| ProtectedValue (const ProtectedValue &pv) | |
| Constructs a protected value using a reference of another protected value. More... | |
| ProtectedValue (MutexReadWrite *mutex, bool writeLock=false) | |
| Constructs a protected value using a readers-writer mutex. More... | |
| ~ProtectedValue () | |
| Destructor. More... | |
Public Attributes | |
| K | m_value |
| A type name of this class. More... | |
Private Attributes | |
| LockReadWrite * | m_lock |
A protected value class.
Definition at line 1667 of file xsens_mutex.h.
|
inline |
Constructs a protected value using a readers-writer mutex.
Definition at line 1675 of file xsens_mutex.h.
|
inline |
Constructs a protected value using a reference of another protected value.
Definition at line 1683 of file xsens_mutex.h.
|
inline |
Destructor.
Definition at line 1692 of file xsens_mutex.h.
|
inline |
Assignment operator, copies contents from the pv protected value.
| pv | : The protected value to copy from |
Definition at line 1701 of file xsens_mutex.h.
|
mutableprivate |
Definition at line 1670 of file xsens_mutex.h.
| K xsens::ProtectedValue< K >::m_value |
A type name of this class.
Definition at line 1712 of file xsens_mutex.h.