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 >::ScopedLockReadOnly Class Reference

#include <property.hpp>

Public Member Functions

 ScopedLockReadOnly (const Property< T > &property)
 
const T & get () const
 
const T & operator* () const
 
const T * operator-> () const
 

Detailed Description

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

Provides (locking) exclusive read-only 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 191 of file property.hpp.

Constructor & Destructor Documentation

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

Definition at line 195 of file property.hpp.

Member Function Documentation

template<typename T>
const T& qi::Property< T >::ScopedLockReadOnly::get ( ) const
inline

Definition at line 201 of file property.hpp.

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

Definition at line 202 of file property.hpp.

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

Definition at line 203 of file property.hpp.


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