|
ipcq 0.12.0
|
Small helper that removes shared memory, to make ShmControl exception-safe with RAII. More...
#include <shm.hpp>
Public Types | |
| enum class | Policy { None = 0 , Destructor = 1 , ConstructorAndDestructor = 2 } |
| using | SharedMemoryObject = typename ShmTraits::SharedMemoryObject |
| using | MappedRegion = typename ShmTraits::MappedRegion |
Public Member Functions | |
| ShmRemover (std::string name, Policy policy) | |
| ShmRemover (ShmRemover &&rhs) noexcept | |
| ShmRemover & | operator= (ShmRemover &&rhs) noexcept |
| ~ShmRemover () noexcept | |
Small helper that removes shared memory, to make ShmControl exception-safe with RAII.
| using ipcq::detail::ShmRemover< ShmTraits >::MappedRegion = typename ShmTraits::MappedRegion |
| using ipcq::detail::ShmRemover< ShmTraits >::SharedMemoryObject = typename ShmTraits::SharedMemoryObject |
|
strong |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |