nixd
Loading...
Searching...
No Matches
nixd
include
nixd
Support
OwnedRegion.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AutoRemoveShm.h
"
4
5
// boost
6
#include <boost/interprocess/mapped_region.hpp>
7
8
// stdc++
9
#include <memory>
10
11
namespace
nixd::util
{
12
13
struct
OwnedRegion
{
14
std::unique_ptr<AutoRemoveShm>
Shm
;
15
std::unique_ptr<boost::interprocess::mapped_region>
Region
;
16
};
17
18
}
// namespace nixd::util
AutoRemoveShm.h
nixd::util
Definition
AutoCloseFD.h:5
nixd::util::OwnedRegion
Definition
OwnedRegion.h:13
nixd::util::OwnedRegion::Shm
std::unique_ptr< AutoRemoveShm > Shm
Definition
OwnedRegion.h:14
nixd::util::OwnedRegion::Region
std::unique_ptr< boost::interprocess::mapped_region > Region
Definition
OwnedRegion.h:15
Generated by
1.12.0