Mir
|
Smart-pointer-esque accessor for the protected data. More...
#include <synchronised.h>
Public Member Functions | |
LockedImpl (LockedImpl &&from) noexcept | |
~LockedImpl ()=default | |
auto | operator* () const -> U & |
auto | operator-> () const -> U * |
void | drop () |
Relinquish access to the data. More... | |
Friends | |
class | Synchronised |
Smart-pointer-esque accessor for the protected data.
Ensures exclusive access to the referenced data.
|
inlinenoexcept |
|
default |
|
inline |
Relinquish access to the data.
This prevents further access to the contained data through this handle, and allows other code to acquire access.
|
inline |
|
inline |
Copyright © 2012-2022
Canonical Ltd.
Generated on Tue Sep 13 03:20:30 UTC 2022
This documentation is licensed under the GPL version 2 or 3.