iceoryx_doc  1.0.1
cpp2c_publisher.hpp
1 // Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
2 // Copyright (c) 2020 - 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 
18 #ifndef IOX_BINDING_C_CPP2C_PUBLISHER_H
19 #define IOX_BINDING_C_CPP2C_PUBLISHER_H
20 
21 #include "iceoryx_posh/internal/popo/ports/publisher_port_user.hpp"
22 
24 {
25  cpp2c_Publisher() = default;
26  cpp2c_Publisher(const cpp2c_Publisher&) = delete;
27  cpp2c_Publisher(cpp2c_Publisher&& rhs) noexcept;
28  ~cpp2c_Publisher();
29 
30  cpp2c_Publisher& operator=(const cpp2c_Publisher&) = delete;
31  cpp2c_Publisher& operator=(cpp2c_Publisher&& rhs) noexcept;
32 
33  iox::popo::PublisherPortData* m_portData{nullptr};
34 };
35 
36 #endif
Definition: cpp2c_publisher.hpp:24