OSVR-Core
Public Member Functions | List of all members
osvr::common::ipc::ObjectWithMutex Class Reference
Inheritance diagram for osvr::common::ipc::ObjectWithMutex:
osvr::common::detail::Bookkeeping osvr::common::detail::ElementData

Public Member Functions

sharable_lock_type getSharableLock ()
 
exclusive_lock_type getExclusiveLock ()
 
mutex_typegetMutex ()
 
void verifyWriterLock (exclusive_lock_type &lock) const
 Checks to make sure we have a writer (exclusive) lock.
 
template<typename LockType >
void verifyReaderLock (LockType &lock) const
 Checks to make sure we at least have a reader (sharable) lock. More...
 

Member Function Documentation

§ verifyReaderLock()

template<typename LockType >
void osvr::common::ipc::ObjectWithMutex::verifyReaderLock ( LockType &  lock) const
inline

Checks to make sure we at least have a reader (sharable) lock.


The documentation for this class was generated from the following file: