| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
ParticipantBuiltinTopicData.hpp
1// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima).
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
19
20#ifndef FASTDDS_RTPS_BUILTIN_DATA__PARTICIPANTBUILTINTOPICDATA_HPP
21#define FASTDDS_RTPS_BUILTIN_DATA__PARTICIPANTBUILTINTOPICDATA_HPP
22
23#include <fastcdr/xcdr/optional.hpp>
24
25#include <fastdds/dds/core/policy/QosPolicies.hpp>
26#include <fastdds/rtps/attributes/RTPSParticipantAllocationAttributes.hpp>
27#include <fastdds/rtps/builtin/data/BuiltinTopicKey.hpp>
28#include <fastdds/rtps/common/ProductVersion_t.hpp>
29#include <fastdds/rtps/common/RemoteLocators.hpp>
30
31 namespace eprosima {
32 namespace fastdds {
33 namespace rtps {
34
35 struct ParticipantBuiltinTopicData
36{
38 FASTDDS_EXPORTED_API ParticipantBuiltinTopicData() = default;
39
41 FASTDDS_EXPORTED_API ParticipantBuiltinTopicData(
42 const VendorId_t vendor_id,
43 const dds::DomainId_t domain_id,
44 const RTPSParticipantAllocationAttributes& allocation);
45
47 BuiltinTopicKey_t key;
48
50 dds::UserDataQosPolicy user_data;
51
53 GUID_t guid;
54
56 dds::ParameterPropertyList_t properties;
57
59 fastcdr::string_255 participant_name;
60
62 RemoteLocatorList metatraffic_locators;
63
65 RemoteLocatorList default_locators;
66
68 dds::Duration_t lease_duration;
69
71 VendorId_t vendor_id;
72
74 ProductVersion_t product_version;
75
77 dds::DomainId_t domain_id;
78
80 fastcdr::optional<dds::WireProtocolConfigQos> wire_protocol;
81};
82
83} // rtps
84} // fastdds
85} // eprosima
86
87#endif // FASTDDS_RTPS_BUILTIN_DATA__PARTICIPANTBUILTINTOPICDATA_HPP
eprosima::fastdds::dds::ParameterPropertyList_t
Definition ParameterTypes.hpp:1247
eprosima::fastdds::dds::DomainId_t
uint32_t DomainId_t
Definition Types.hpp:24
eprosima::fastdds::dds::Duration_t
Time_t Duration_t
Definition Time_t.hpp:91
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::VendorId_t
std::array< uint8_t, 2 > VendorId_t
Structure VendorId_t, specifying the vendor Id of the implementation.
Definition VendorId_t.hpp:32
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::BuiltinTopicKey_t
Definition BuiltinTopicKey.hpp:30
eprosima::fastdds::rtps::GUID_t
Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
Definition Guid.hpp:40
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::user_data
dds::UserDataQosPolicy user_data
UserData QoS.
Definition ParticipantBuiltinTopicData.hpp:50
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::product_version
ProductVersion_t product_version
Product version.
Definition ParticipantBuiltinTopicData.hpp:74
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::participant_name
fastcdr::string_255 participant_name
Participant name.
Definition ParticipantBuiltinTopicData.hpp:59
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::ParticipantBuiltinTopicData
FASTDDS_EXPORTED_API ParticipantBuiltinTopicData(const VendorId_t vendor_id, const dds::DomainId_t domain_id, const RTPSParticipantAllocationAttributes &allocation)
Constructor with allocation attributes.
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::metatraffic_locators
RemoteLocatorList metatraffic_locators
Metatraffic locators.
Definition ParticipantBuiltinTopicData.hpp:62
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::vendor_id
VendorId_t vendor_id
Vendor id.
Definition ParticipantBuiltinTopicData.hpp:71
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::guid
GUID_t guid
Participant GUID.
Definition ParticipantBuiltinTopicData.hpp:53
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::ParticipantBuiltinTopicData
FASTDDS_EXPORTED_API ParticipantBuiltinTopicData()=default
Default constructor.
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::default_locators
RemoteLocatorList default_locators
Default locators.
Definition ParticipantBuiltinTopicData.hpp:65
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::properties
dds::ParameterPropertyList_t properties
Properties.
Definition ParticipantBuiltinTopicData.hpp:56
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::domain_id
dds::DomainId_t domain_id
Participant domain id.
Definition ParticipantBuiltinTopicData.hpp:77
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::key
BuiltinTopicKey_t key
Builtin topic Key.
Definition ParticipantBuiltinTopicData.hpp:47
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::lease_duration
dds::Duration_t lease_duration
Lease Duration.
Definition ParticipantBuiltinTopicData.hpp:68
eprosima::fastdds::rtps::ParticipantBuiltinTopicData::wire_protocol
fastcdr::optional< dds::WireProtocolConfigQos > wire_protocol
Wire Protocol Qos.
Definition ParticipantBuiltinTopicData.hpp:80
eprosima::fastdds::rtps::ProductVersion_t
Definition ProductVersion_t.hpp:31
eprosima::fastdds::rtps::RTPSParticipantAllocationAttributes
Holds allocation limits affecting collections managed by a participant.
Definition RTPSParticipantAllocationAttributes.hpp:129
eprosima::fastdds::rtps::RemoteLocatorList
Holds information about the locators of a remote entity.
Definition RemoteLocators.hpp:34