libqi-api  release-2.5.3-2016-11-18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
qi::Property< T >::ScopedLockReadWrite Class Reference

#include <property.hpp>

Public Member Functions

 ScopedLockReadWrite (Property< T > &property)
 
 ~ScopedLockReadWrite ()
 
T & operator* ()
 
T * operator-> ()
 
const T & operator* () const
 
const T * operator-> () const
 

Detailed Description

template<typename T>
class qi::Property< T >::ScopedLockReadWrite

Provides (locking) exclusive write-enabled access to the value of a property. Locks the internal mutex of the property on construction, releases it on destruction. Behaves like a pointer to the property value.

Definition at line 160 of file property.hpp.

Constructor & Destructor Documentation

template<typename T>
qi::Property< T >::ScopedLockReadWrite::ScopedLockReadWrite ( Property< T > &  property)
inline

Definition at line 164 of file property.hpp.

template<typename T>
qi::Property< T >::ScopedLockReadWrite::~ScopedLockReadWrite ( )
inline

Definition at line 170 of file property.hpp.

Member Function Documentation

template<typename T>
T& qi::Property< T >::ScopedLockReadWrite::operator* ( )
inline

Definition at line 175 of file property.hpp.

template<typename T>
const T& qi::Property< T >::ScopedLockReadWrite::operator* ( ) const
inline

Definition at line 178 of file property.hpp.

template<typename T>
T* qi::Property< T >::ScopedLockReadWrite::operator-> ( )
inline

Definition at line 176 of file property.hpp.

template<typename T>
const T* qi::Property< T >::ScopedLockReadWrite::operator-> ( ) const
inline

Definition at line 179 of file property.hpp.


The documentation for this class was generated from the following file: