RAII wrapper that detaches mapped SysV shared memory, with null representing an empty mapping.
More...
|
| | shm_data_t (shm_data_t &&other) noexcept |
| | Move ownership of an attached shared-memory mapping.
|
| | shm_data_t (std::uint8_t *data) |
| | Explicitly take ownership of an attached shared-memory mapping.
|
|
|
std::uint8_t * | data |
| | Attached shared-memory bytes, or null when this wrapper owns no attachment.
|
RAII wrapper that detaches mapped SysV shared memory, with null representing an empty mapping.
◆ shm_data_t() [1/2]
| platf::shm_data_t::shm_data_t |
( |
std::uint8_t * | data | ) |
|
|
inlineexplicit |
Explicitly take ownership of an attached shared-memory mapping.
- Parameters
-
| data | Pointer returned by shmat. |
◆ shm_data_t() [2/2]
| platf::shm_data_t::shm_data_t |
( |
shm_data_t && | other | ) |
|
|
inlinenoexcept |
Move ownership of an attached shared-memory mapping.
- Parameters
-
| other | Shared-memory mapping wrapper whose attachment is moved. |
The documentation for this class was generated from the following file: