iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
publisher_details.hpp
Go to the documentation of this file.
1// Copyright (c) 2025 Contributors to the Eclipse Foundation
2//
3// See the NOTICE file(s) distributed with this work for additional
4// information regarding copyright ownership.
5//
6// This program and the accompanying materials are made available under the
7// terms of the Apache Software License 2.0 which is available at
8// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
9// which is available at https://opensource.org/licenses/MIT.
10//
11// SPDX-License-Identifier: Apache-2.0 OR MIT
12
13#ifndef IOX2_PUBLISHER_DETAILS_HPP
14#define IOX2_PUBLISHER_DETAILS_HPP
15
20
21namespace iox2 {
24 public:
27 ~PublisherDetailsView() noexcept = default;
28
29 auto operator=(const PublisherDetailsView&) -> PublisherDetailsView& = delete;
30 auto operator=(PublisherDetailsView&& rhs) noexcept -> PublisherDetailsView&;
31
34
36 auto node_id() const -> UniqueNodeId;
37
39 auto number_of_samples() const -> uint64_t;
40
42 auto max_slice_len() const -> uint64_t;
43
44 private:
45 template <typename T, typename>
46 friend auto internal::list_ports_callback(void* context, T port_details_view) -> iox2_callback_progression_e;
47
48 explicit PublisherDetailsView(iox2_publisher_details_ptr handle);
49 iox2_publisher_details_ptr m_handle = nullptr;
50};
51} // namespace iox2
52
53#endif
Contains the communication settings of the connected [Publisher].
PublisherDetailsView(const PublisherDetailsView &)=delete
auto node_id() const -> UniqueNodeId
The [NodeId] of the [Node] under which the [Publisher] was created.
PublisherDetailsView(PublisherDetailsView &&rhs) noexcept
friend auto internal::list_ports_callback(void *context, T port_details_view) -> iox2_callback_progression_e
~PublisherDetailsView() noexcept=default
auto number_of_samples() const -> uint64_t
The total number of samples available in the [Publisher]s data segment.
auto publisher_id() const -> UniquePublisherId
The [UniquePublisherId] of the [Publisher].
auto max_slice_len() const -> uint64_t
The current maximum length of a slice.
The system-wide unique id of a [Node].
The system-wide unique id of a [Publisher].