3.4.0
tigl::ScopeLockedReference< T > Class Template Reference

#include <Cache.h>

Public Member Functions

T & operator * () const
 
T * operator-> () const
 
 ScopeLockedReference (T &reference, boost::mutex &mutex)
 
 ScopeLockedReference (ScopeLockedReference &&)=default
 
 ~ScopeLockedReference ()
 

Private Attributes

boost::mutex & m_mutex
 
T & m_reference
 

Constructor & Destructor Documentation

◆ ScopeLockedReference() [1/2]

template<typename T >
tigl::ScopeLockedReference< T >::ScopeLockedReference ( T &  reference,
boost::mutex &  mutex 
)
inline

◆ ~ScopeLockedReference()

template<typename T >
tigl::ScopeLockedReference< T >::~ScopeLockedReference ( )
inline

◆ ScopeLockedReference() [2/2]

template<typename T >
tigl::ScopeLockedReference< T >::ScopeLockedReference ( ScopeLockedReference< T > &&  )
default

Member Function Documentation

◆ operator *()

template<typename T >
T& tigl::ScopeLockedReference< T >::operator * ( ) const
inline

◆ operator->()

template<typename T >
T* tigl::ScopeLockedReference< T >::operator-> ( ) const
inline

Field Documentation

◆ m_mutex

template<typename T >
boost::mutex& tigl::ScopeLockedReference< T >::m_mutex
private

◆ m_reference

template<typename T >
T& tigl::ScopeLockedReference< T >::m_reference
private

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