SynchronizedValue< T, LOCKTYPE >::LockedReadPtr Class Reference

#include <synchronized.h>

Public Member Functions

 LockedReadPtr ()=delete
 
 LockedReadPtr (const SynchronizedValue &synced)
 
 LockedReadPtr (SynchronizedValue &synced, Bool dontLock)
 
 LockedReadPtr (LockedReadPtr &&src)
 
LockedReadPtroperator= (LockedReadPtr &&src)
 
 LockedReadPtr (const LockedReadPtr &)=delete
 
LockedReadPtroperator= (const LockedReadPtr &)=delete
 
 ~LockedReadPtr ()
 
void Reset ()
 
const T * operator-> ()
 
const T & operator* ()
 

Private Member Functions

const T & GetValue () const
 
void Acquire () const
 
void Release () const
 

Private Attributes

const SynchronizedValue_synced
 

Friends

template<typename , typename >
class SynchronizedValue
 

Constructor & Destructor Documentation

◆ LockedReadPtr() [1/5]

LockedReadPtr ( )
delete

◆ LockedReadPtr() [2/5]

LockedReadPtr ( const SynchronizedValue synced)
explicit

◆ LockedReadPtr() [3/5]

LockedReadPtr ( SynchronizedValue synced,
Bool  dontLock 
)

◆ LockedReadPtr() [4/5]

◆ LockedReadPtr() [5/5]

LockedReadPtr ( const LockedReadPtr )
delete

◆ ~LockedReadPtr()

Member Function Documentation

◆ operator=() [1/2]

LockedReadPtr& operator= ( LockedReadPtr &&  src)

◆ operator=() [2/2]

LockedReadPtr& operator= ( const LockedReadPtr )
delete

◆ Reset()

void Reset ( )

◆ operator->()

const T* operator-> ( )

◆ operator*()

const T& operator* ( )

◆ GetValue()

const T& GetValue ( ) const
private

◆ Acquire()

void Acquire ( ) const
private

◆ Release()

void Release ( ) const
private

Friends And Related Function Documentation

◆ SynchronizedValue

friend class SynchronizedValue
friend

Member Data Documentation

◆ _synced

const SynchronizedValue* _synced
private