A templated smart pointer instance for lock protected objects.
More...
#include <thread.h>
template<class T>
class ucommon::locked_instance< T >
A templated smart pointer instance for lock protected objects.
This is used to reference an instance of a typed locked_pointer.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 1688 of file thread.h.
Construct locked instance of typed object from matching locked_pointer.
- Parameters
-
pointer | to get instance from. |
Definition at line 1700 of file thread.h.
Get pointer to instance of locked typed object.
- Returns
- instance of typed object.
Definition at line 1720 of file thread.h.
Extract instance of locked typed object by pointer reference.
- Returns
- instance of typed object.
Definition at line 1706 of file thread.h.
Access member of instance of locked typed object by member reference.
- Returns
- instance of typed object.
Definition at line 1713 of file thread.h.
The documentation for this class was generated from the following file: