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

Public Types

typedef IPCRingBuffer::value_type BufferType
 

Public Member Functions

template<typename LockType >
BufferType * getBuf (LockType &lock) const
 
template<typename ManagedMemory >
void allocateBuf (ManagedMemory &shm, IPCRingBuffer::Options const &opts)
 
template<typename ManagedMemory >
void freeBuf (ManagedMemory &shm)
 
- Public Member Functions inherited from osvr::common::ipc::ObjectWithMutex
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...
 

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