Fast DDS  Version 3.6.1.0
Fast DDS
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 
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 
36 {
38  FASTDDS_EXPORTED_API ParticipantBuiltinTopicData() = default;
39 
41  FASTDDS_EXPORTED_API ParticipantBuiltinTopicData(
42  const VendorId_t vendor_id,
44  const RTPSParticipantAllocationAttributes& allocation);
45 
48 
50  dds::UserDataQosPolicy user_data;
51 
54 
57 
59  fastcdr::string_255 participant_name;
60 
63 
66 
69 
72 
75 
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
Definition: ParameterTypes.hpp:1251
uint32_t DomainId_t
Definition: Types.hpp:24
std::array< uint8_t, 2 > VendorId_t
Structure VendorId_t, specifying the vendor Id of the implementation.
Definition: VendorId_t.hpp:32
Structure Time_t, used to describe times at a DDS level.
Definition: Time_t.hpp:36
Definition: BuiltinTopicKey.hpp:30
Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
Definition: Guid.hpp:40
Definition: ParticipantBuiltinTopicData.hpp:36
dds::UserDataQosPolicy user_data
UserData QoS.
Definition: ParticipantBuiltinTopicData.hpp:50
ProductVersion_t product_version
Product version.
Definition: ParticipantBuiltinTopicData.hpp:74
fastcdr::string_255 participant_name
Participant name.
Definition: ParticipantBuiltinTopicData.hpp:59
FASTDDS_EXPORTED_API ParticipantBuiltinTopicData(const VendorId_t vendor_id, const dds::DomainId_t domain_id, const RTPSParticipantAllocationAttributes &allocation)
Constructor with allocation attributes.
RemoteLocatorList metatraffic_locators
Metatraffic locators.
Definition: ParticipantBuiltinTopicData.hpp:62
VendorId_t vendor_id
Vendor id.
Definition: ParticipantBuiltinTopicData.hpp:71
GUID_t guid
Participant GUID.
Definition: ParticipantBuiltinTopicData.hpp:53
FASTDDS_EXPORTED_API ParticipantBuiltinTopicData()=default
Default constructor.
RemoteLocatorList default_locators
Default locators.
Definition: ParticipantBuiltinTopicData.hpp:65
dds::ParameterPropertyList_t properties
Properties.
Definition: ParticipantBuiltinTopicData.hpp:56
dds::DomainId_t domain_id
Participant domain id.
Definition: ParticipantBuiltinTopicData.hpp:77
BuiltinTopicKey_t key
Builtin topic Key.
Definition: ParticipantBuiltinTopicData.hpp:47
dds::Duration_t lease_duration
Lease Duration.
Definition: ParticipantBuiltinTopicData.hpp:68
fastcdr::optional< dds::WireProtocolConfigQos > wire_protocol
Wire Protocol Qos.
Definition: ParticipantBuiltinTopicData.hpp:80
Definition: ProductVersion_t.hpp:31
Holds allocation limits affecting collections managed by a participant.
Definition: RTPSParticipantAllocationAttributes.hpp:129
Holds information about the locators of a remote entity.
Definition: RemoteLocators.hpp:34