Template Class LockedRef
Defined in File locked_reference.hpp
Class Documentation
-
template<typename T, class Mutex>
class LockedRef The LockedRef class is used to share a pointer to an object and a mutex that protects the read/write access to that object.
As long as the object remains in scope, the mutex is locked, therefore you must destroy this object as soon as the pointer was used.