OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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_type & getMutex ()
 
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.
 

Detailed Description

Definition at line 48 of file IPCRingBufferSharedObjects.h.


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