kodi
Public Member Functions | List of all members
KODI::UTILS::POSIX::CSharedMemory Class Reference

Get a chunk of shared memory of specified size. More...

#include <SharedMemory.h>

Public Member Functions

 CSharedMemory (std::size_t size)
 
std::size_t Size () const
 
void * Data () const
 
int Fd () const
 

Detailed Description

Get a chunk of shared memory of specified size.

The shared memory is automatically allocated, truncated to the correct size and memory-mapped.


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