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