#include <synchronized.h>
Public Member Functions | |
LockedReadPtr ()=delete | |
LockedReadPtr (const SynchronizedValue &synced) | |
LockedReadPtr (SynchronizedValue &synced, Bool dontLock) | |
LockedReadPtr (LockedReadPtr &&src) | |
LockedReadPtr & | operator= (LockedReadPtr &&src) |
LockedReadPtr (const LockedReadPtr &)=delete | |
LockedReadPtr & | operator= (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 |
|
delete |
|
explicit |
LockedReadPtr | ( | SynchronizedValue & | synced, |
Bool | dontLock | ||
) |
LockedReadPtr | ( | LockedReadPtr && | src | ) |
|
delete |
~LockedReadPtr | ( | ) |
LockedReadPtr& operator= | ( | LockedReadPtr && | src | ) |
|
delete |
void Reset | ( | void | ) |
const T* operator-> | ( | void | ) |
const T& operator* | ( | ) |
|
private |
|
private |
|
private |
|
friend |
|
private |