![]() |
VR-Forces Developer's Guide
|
a write settings lock on a setting object. The object can be read and modified, but no other threads can access the object.

Public Member Functions | |
| DtWriteSettingsLock (DtSharedSettingsManager &manager) | |
| ~DtWriteSettingsLock () | |
| SettingsClass * | operator-> () |
| SettingsClass & | operator* () |
| DtWriteSettingsLock (const DtWriteSettingsLock &)=delete | |
| DtWriteSettingsLock (const DtWriteSettingsLock &&)=delete | |
| DtWriteSettingsLock & | operator= (const DtWriteSettingsLock &)=delete |
| DtWriteSettingsLock & | operator= (const DtWriteSettingsLock &&)=delete |
Private Attributes | |
| DtSharedSettingsManager & | myManager |
| SettingsClass * | myObject |
| boost::shared_lock < boost::shared_mutex > | myManagerLock |
| boost::unique_lock < boost::shared_mutex > | myObjectLock |
| makVrv::DtWriteSettingsLock< SettingsClass >::DtWriteSettingsLock | ( | DtSharedSettingsManager & | manager | ) |
Acquired an instance of the SettingsClass with a read lock.
|
delete |
Not allowed.
|
delete |
Not allowed.
| makVrv::DtWriteSettingsLock< SettingsClass >::~DtWriteSettingsLock | ( | ) |
Release the lock on the object. Once the lock is released the event_signals ( eventSignalsToEmit() ) will be emitted.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
inline |
Access the instance using pointer notation.
|
inline |
Access the instance using deref notation.
|
private |
|
private |
|
private |
|
private |