iceoryx_doc  1.0.1
interface_port_data.hpp
1 // Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
2 // Copyright (c) 2021 by Apex.AI Inc. All rights reserved.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 // SPDX-License-Identifier: Apache-2.0
17 #ifndef IOX_POSH_POPO_PORTS_INTERFACE_PORT_DATA_HPP
18 #define IOX_POSH_POPO_PORTS_INTERFACE_PORT_DATA_HPP
19 
20 #include "iceoryx_posh/capro/service_description.hpp"
21 #include "iceoryx_posh/iceoryx_posh_types.hpp"
22 #include "iceoryx_posh/internal/popo/ports/base_port_data.hpp"
23 #include "iceoryx_utils/internal/concurrent/fifo.hpp"
24 
25 namespace iox
26 {
27 namespace popo
28 {
30 {
31  InterfacePortData() = default;
32  InterfacePortData(const RuntimeName_t& runtimeName, const capro::Interfaces interface) noexcept;
33 
34  concurrent::FiFo<capro::CaproMessage, MAX_INTERFACE_CAPRO_FIFO_SIZE> m_caproMessageFiFo;
35  bool m_doInitialOfferForward{true};
36 };
37 } // namespace popo
38 } // namespace iox
39 
40 #endif // IOX_POSH_POPO_PORTS_INTERFACE_PORT_DATA_HPP
Definition: service_description.hpp:29
Defines different base port data.
Definition: base_port_data.hpp:34
Definition: interface_port_data.hpp:30