A named shared memory segment.
More...
#include <shmem_carrier/ShmemPlatform.h>
|
| static void | unlink (const std::string &name) |
| | Remove the name of the segment (no-op on Windows)
|
| |
A named shared memory segment.
Definition at line 32 of file ShmemPlatform.h.
◆ SharedMemory() [1/2]
| shmem::SharedMemory::SharedMemory |
( |
| ) |
|
|
default |
◆ ~SharedMemory()
| shmem::SharedMemory::~SharedMemory |
( |
| ) |
|
◆ SharedMemory() [2/2]
◆ close()
| void shmem::SharedMemory::close |
( |
| ) |
|
◆ create()
| bool shmem::SharedMemory::create |
( |
const std::string & |
name, |
|
|
size_t |
size |
|
) |
| |
Create a new segment (removing any stale segment with the same name)
Definition at line 244 of file ShmemPlatform.cpp.
◆ data()
| void * shmem::SharedMemory::data |
( |
| ) |
const |
|
inline |
◆ open()
| bool shmem::SharedMemory::open |
( |
const std::string & |
name | ) |
|
◆ operator=()
◆ unlink()
| void shmem::SharedMemory::unlink |
( |
const std::string & |
name | ) |
|
|
static |
The documentation for this class was generated from the following files: