Similar to class Owner, but calls methods AcquireShared and ReleaseShared.
TOwnable | The type to own. Requirements are to have methods AcquireShared and ReleaseShared available. |
#include <owner.hpp>
Public Method Index: | |
OwnerShared (TOwnable &ownable, const CallerInfo &ci) | |
~OwnerShared () | |
Destructor. Invokes ReleaseShared() on member owned. | |
Protected Field Index: | |
CallerInfo | dbgCI |
Caller information. Available only with debug-builds. | |
TOwnable & | owned |
The resource to acquire and release. | |
|
protected |
|
protected |
|
inline |
|
inline |