iceoryx_posh
2.0.5
Loading...
Searching...
No Matches
iceoryx_posh
roudi
memory
default_roudi_memory.hpp
1
// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
//
15
// SPDX-License-Identifier: Apache-2.0
16
#ifndef IOX_POSH_ROUDI_MEMORY_DEFAULT_ROUDI_MEMORY_HPP
17
#define IOX_POSH_ROUDI_MEMORY_DEFAULT_ROUDI_MEMORY_HPP
18
19
#include "iceoryx_posh/internal/roudi/memory/mempool_collection_memory_block.hpp"
20
#include "iceoryx_posh/internal/roudi/memory/mempool_segment_manager_memory_block.hpp"
21
#include "iceoryx_posh/roudi/memory/posix_shm_memory_provider.hpp"
22
23
namespace
iox
24
{
25
namespace
roudi
26
{
27
struct
DefaultRouDiMemory
28
{
29
public
:
30
DefaultRouDiMemory
(
const
RouDiConfig_t
& roudiConfig)
noexcept
;
31
virtual
~DefaultRouDiMemory
()
noexcept
=
default
;
32
33
DefaultRouDiMemory
(
DefaultRouDiMemory
&&) =
delete
;
34
DefaultRouDiMemory
& operator=(
DefaultRouDiMemory
&&) =
delete
;
35
36
DefaultRouDiMemory
(
const
DefaultRouDiMemory
&) =
delete
;
37
DefaultRouDiMemory
& operator=(
const
DefaultRouDiMemory
&) =
delete
;
38
39
mepoo::MePooConfig
introspectionMemPoolConfig()
const
noexcept
;
40
41
MemPoolCollectionMemoryBlock m_introspectionMemPoolBlock;
42
MemPoolSegmentManagerMemoryBlock m_segmentManagerBlock;
43
PosixShmMemoryProvider
m_managementShm;
44
};
45
}
// namespace roudi
46
}
// namespace iox
47
48
#endif
// IOX_POSH_ROUDI_MEMORY_DEFAULT_ROUDI_MEMORY_HPP
iox::roudi::PosixShmMemoryProvider
Creates the shared memory based on a provided configuration.
Definition
posix_shm_memory_provider.hpp:36
iox::Config< mepoo::SegmentConfig, config::RouDiConfig >
iox::mepoo::MePooConfig
Definition
mepoo_config.hpp:33
iox::roudi::DefaultRouDiMemory
Definition
default_roudi_memory.hpp:28
Generated by
1.9.8