SynchronizedValue< T, LOCKTYPE >::LockedWritePtr Class Reference

#include <synchronized.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

SynchronizedValue_synced
 

Friends

template<typename , typename >
class SynchronizedValue
 

Constructor & Destructor Documentation

◆ LockedWritePtr() [1/5]

LockedWritePtr ( )
delete

◆ LockedWritePtr() [2/5]

LockedWritePtr ( SynchronizedValue synced)
explicit

◆ LockedWritePtr() [3/5]

LockedWritePtr ( SynchronizedValue synced,
Bool  dontLock 
)

◆ LockedWritePtr() [4/5]

◆ LockedWritePtr() [5/5]

LockedWritePtr ( const LockedWritePtr )
delete

◆ ~LockedWritePtr()

Member Function Documentation

◆ operator=() [1/2]

LockedWritePtr& operator= ( LockedWritePtr &&  src)

◆ operator=() [2/2]

LockedWritePtr& operator= ( const LockedWritePtr )
delete

◆ Reset()

void Reset ( )

◆ operator->()

T* operator-> ( )

◆ operator*()

T& operator* ( )

◆ GetValue()

T& GetValue ( )
private

◆ Acquire()

void Acquire ( )
private

◆ Release()

void Release ( )
private

Friends And Related Function Documentation

◆ SynchronizedValue

friend class SynchronizedValue
friend

Member Data Documentation

◆ _synced

SynchronizedValue* _synced
private