| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
ParameterTypes.hpp
1// Copyright 2016 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
18
19#ifndef FASTDDS_DDS_CORE_POLICY__PARAMETERTYPES_HPP
20#define FASTDDS_DDS_CORE_POLICY__PARAMETERTYPES_HPP
21
22#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
23
24#include <atomic>
25#include <string>
26#include <vector>
27
28#include <fastcdr/cdr/fixed_size_string.hpp>
29
30#include <fastdds/dds/core/Types.hpp>
31#include <fastdds/rtps/common/InstanceHandle.hpp>
32#include <fastdds/rtps/common/Locator.hpp>
33#include <fastdds/rtps/common/ProductVersion_t.hpp>
34#include <fastdds/rtps/common/SampleIdentity.hpp>
35#include <fastdds/rtps/common/SerializedPayload.hpp>
36#include <fastdds/rtps/common/Time_t.hpp>
37#include <fastdds/rtps/common/Token.hpp>
38
39#if HAVE_SECURITY
40#include <fastdds/rtps/attributes/EndpointSecurityAttributes.hpp>
41#endif // if HAVE_SECURITY
42
43 namespace eprosima {
44 namespace fastdds {
45 namespace rtps {
46 struct CDRMessage_t;
47#if HAVE_SECURITY
48 namespace security {
49 struct ParticipantSecurityAttributes;
50 typedef uint32_t PluginEndpointSecurityAttributesMask;
51 typedef uint32_t EndpointSecurityAttributesMask;
52 typedef uint32_t PluginParticipantSecurityAttributesMask;
53 typedef uint32_t ParticipantSecurityAttributesMask;
54} // namespace security
55#endif // HAVE_SECURITY
56} // namespace rtps
57
58 namespace dds {
59
64
68 enum ParameterId_t : uint16_t
69{
70 /* From Table 9.18 of DDS-RTPS 2.5 */
71 PID_PAD = 0x0000,
72 PID_SENTINEL = 0x0001,
73 PID_USER_DATA = 0x002c,
74 PID_TOPIC_NAME = 0x0005,
75 PID_TYPE_NAME = 0x0007,
76 PID_GROUP_DATA = 0x002d,
77 PID_TOPIC_DATA = 0x002e,
78 PID_DURABILITY = 0x001d,
79 PID_DURABILITY_SERVICE = 0x001e,
80 PID_DEADLINE = 0x0023,
81 PID_LATENCY_BUDGET = 0x0027,
82 PID_LIVELINESS = 0x001b,
83 PID_RELIABILITY = 0x001a,
84 PID_LIFESPAN = 0x002b,
85 PID_DESTINATION_ORDER = 0x0025,
86 PID_HISTORY = 0x0040,
87 PID_RESOURCE_LIMITS = 0x0041,
88 PID_OWNERSHIP = 0x001f,
89 PID_OWNERSHIP_STRENGTH = 0x0006,
90 PID_PRESENTATION = 0x0021,
91 PID_PARTITION = 0x0029,
92 PID_TIME_BASED_FILTER = 0x0004,
93 PID_TRANSPORT_PRIORITY = 0x0049,
94 PID_DOMAIN_ID = 0x000f,
95 PID_DOMAIN_TAG = 0x4014,
96 PID_PROTOCOL_VERSION = 0x0015,
97 PID_VENDORID = 0x0016,
98 PID_UNICAST_LOCATOR = 0x002f,
99 PID_MULTICAST_LOCATOR = 0x0030,
100 PID_DEFAULT_UNICAST_LOCATOR = 0x0031,
101 PID_DEFAULT_MULTICAST_LOCATOR = 0x0048,
102 PID_METATRAFFIC_UNICAST_LOCATOR = 0x0032,
103 PID_METATRAFFIC_MULTICAST_LOCATOR = 0x0033,
104 PID_EXPECTS_INLINE_QOS = 0x0043,
105 PID_PARTICIPANT_MANUAL_LIVELINESS_COUNT = 0x0034,
106 PID_PARTICIPANT_LEASE_DURATION = 0x0002,
107 PID_CONTENT_FILTER_PROPERTY = 0x0035,
108 PID_PARTICIPANT_GUID = 0x0050,
109 PID_GROUP_GUID = 0x0052,
110 PID_GROUP_ENTITYID = 0x0053,
111 PID_BUILTIN_ENDPOINT_SET = 0x0058,
112 PID_BUILTIN_ENDPOINT_QOS = 0x0077,
113 PID_PROPERTY_LIST = 0x0059,
114 PID_TYPE_MAX_SIZE_SERIALIZED = 0x0060,
115 PID_ENTITY_NAME = 0x0062,
116 PID_ENDPOINT_GUID = 0x005a,
117
118 /* From table 9.20 of DDS-RTPS 2.5 - inline QoS only */
119 PID_CONTENT_FILTER_INFO = 0x0055,
120 PID_COHERENT_SET = 0x0056,
121 PID_DIRECTED_WRITE = 0x0057,
122 PID_ORIGINAL_WRITER_INFO = 0x0061,
123 PID_GROUP_COHERENT_SET = 0x0063,
124 PID_GROUP_SEQ_NUM = 0x0064,
125 PID_WRITER_GROUP_INFO = 0x0065,
126 PID_SECURE_WRITER_GROUP_INFO = 0x0066,
127 PID_KEY_HASH = 0x0070,
128 PID_STATUS_INFO = 0x0071,
129
130 /* Deprecated */
131 // PID_MULTICAST_IPADDRESS = 0x0011,
132 // PID_DEFAULT_UNICAST_IPADDRESS = 0x000c,
133 // PID_DEFAULT_UNICAST_PORT = 0x000e,
134 // PID_METATRAFFIC_UNICAST_IPADDRESS = 0x0045,
135 // PID_METATRAFFIC_UNICAST_PORT = 0x000d,
136 // PID_METATRAFFIC_MULTICAST_IPADDRESS = 0x000b,
137 // PID_METATRAFFIC_MULTICAST_PORT = 0x0046,
138 // PID_PARTICIPANT_BUILTIN_ENDPOINTS = 0x0044,
139 // PID_PARTICIPANT_ENTITYID = 0x0051,
140
141 /* From DDS-XTYPES 1.3 */
142 PID_TYPE_IDV1 = 0x0069,
143 PID_TYPE_OBJECTV1 = 0x0072,
144 PID_DATA_REPRESENTATION = 0x0073,
145 PID_TYPE_CONSISTENCY_ENFORCEMENT = 0x0074,
146 PID_TYPE_INFORMATION = 0x0075,
147
148 /* From table 10 of DDS-SEC 1.1 */
149 PID_IDENTITY_TOKEN = 0x1001,
150 PID_PERMISSIONS_TOKEN = 0x1002,
151 PID_PARTICIPANT_SECURITY_INFO = 0x1005,
152
153 /* From table 12 of DDS-SEC 1.1 */
154 PID_ENDPOINT_SECURITY_INFO = 0x1004,
155
156 /* From table 13 of DDS-SEC 1.1 */
157 PID_IDENTITY_STATUS_TOKEN = 0x1006,
158
159 /* From table 14 of DDS-SEC 1.1 */
160 PID_DATA_TAGS = 0x1003,
161
162 /* From Remote Procedure Call over DDS, document "ptc/2016-03-19" V1.0 */
163 PID_SERVICE_INSTANCE_NAME = 0x0080,
164 PID_RELATED_ENTITY_GUID = 0x0081,
165 PID_TOPIC_ALIASES = 0x0082,
166 PID_RELATED_SAMPLE_IDENTITY = 0x0083,
167
168 /* eProsima Fast DDS extensions */
169 PID_PRODUCT_VERSION = 0x8000,
170 PID_PERSISTENCE_GUID = 0x8002,
171 PID_MACHINE_ID = 0x8003,
172 PID_DISABLE_POSITIVE_ACKS = 0x8005,
173 PID_DATASHARING = 0x8006,
174 PID_NETWORK_CONFIGURATION_SET = 0x8007,
175 PID_CUSTOM_RELATED_SAMPLE_IDENTITY = 0x800f,
176 PID_RTPS_ENDPOINT = 0x8010,
177 /* Writer specific */
178 PID_WRITER_DATA_LIFECYCLE = 0x8100,
179 PID_PUBLISH_MODE = 0x8101,
180 PID_RTPS_RELIABLE_WRITER = 0x8102,
181 PID_WRITER_RESOURCE_LIMITS = 0x8103,
182 /* Reader specific */
183 PID_READER_DATA_LIFECYCLE = 0x8200,
184 PID_RTPS_RELIABLE_READER = 0x8201,
185 PID_READER_RESOURCE_LIMITS = 0x8202,
186 /* Participant specific */
187 PID_WIREPROTOCOL_CONFIG = 0x8300,
188 /* RPC specific */
189 PID_RPC_MORE_REPLIES = 0x8400
190};
191
197 class Parameter_t
198{
199 public:
200
204 FASTDDS_EXPORTED_API Parameter_t()
205 : Pid(PID_PAD)
206 , length(0)
207 {
208 }
209
216 FASTDDS_EXPORTED_API Parameter_t(
217 ParameterId_t pid,
218 uint16_t length)
219 : Pid(pid)
220 , length(length)
221 {
222 }
223
227 virtual FASTDDS_EXPORTED_API ~Parameter_t()
228 {
229 }
230
231 bool operator ==(
232 const Parameter_t& b) const
233 {
234 return (this->Pid == b.Pid) &&
235 (this->length == b.length);
236 }
237
238 public:
239
241 ParameterId_t Pid;
243 uint16_t length;
244};
245
249 class ParameterKey_t : public Parameter_t
250{
251 public:
252
254 fastdds::rtps::InstanceHandle_t key;
258 ParameterKey_t()
259 {
260 }
261
268 ParameterKey_t(
269 ParameterId_t pid,
270 uint16_t in_length)
271 : Parameter_t(pid, in_length)
272 {
273 }
274
282 ParameterKey_t(
283 ParameterId_t pid,
284 uint16_t in_length,
285 const fastdds::rtps::InstanceHandle_t& ke)
286 : Parameter_t(pid, in_length)
287 , key(ke)
288 {
289 }
290
291};
292
293#define PARAMETER_KEY_HASH_LENGTH 16
294
298 class ParameterLocator_t : public Parameter_t
299{
300 public:
301
303 rtps::Locator locator;
304
308 ParameterLocator_t()
309 {
310 }
311
318 ParameterLocator_t(
319 ParameterId_t pid,
320 uint16_t in_length)
321 : Parameter_t(pid, in_length)
322 {
323 }
324
332 ParameterLocator_t(
333 ParameterId_t pid,
334 uint16_t in_length,
335 const rtps::Locator& loc)
336 : Parameter_t(pid, in_length)
337 , locator(loc)
338 {
339 }
340
341};
342#define PARAMETER_LOCATOR_LENGTH 24
343
344
348 class ParameterString_t : public Parameter_t
349{
350 public:
351
355 ParameterString_t()
356 {
357 }
358
365 ParameterString_t(
366 ParameterId_t pid,
367 uint16_t in_length)
368 : Parameter_t(pid, in_length)
369 {
370 }
371
379 ParameterString_t(
380 ParameterId_t pid,
381 uint16_t in_length,
382 const fastcdr::string_255& strin)
383 : Parameter_t(pid, in_length)
384 , string_(strin)
385 {
386 }
387
393 inline const char* getName() const
394 {
395 return string_.c_str();
396 }
397
403 inline void setName(
404 const char* name)
405 {
406 string_ = name;
407 }
408
414 inline size_t size() const
415 {
416 return string_.size();
417 }
418
419 private:
420
422 fastcdr::string_255 string_;
423};
424
428 class ParameterPort_t : public Parameter_t
429{
430 public:
431
433 uint32_t port;
434
438 ParameterPort_t()
439 : port(0)
440 {
441 }
442
449 ParameterPort_t(
450 ParameterId_t pid,
451 uint16_t in_length)
452 : Parameter_t(pid, in_length)
453 , port(0)
454 {
455 }
456
464 ParameterPort_t(
465 ParameterId_t pid,
466 uint16_t in_length,
467 uint32_t po)
468 : Parameter_t(pid, in_length)
469 , port(po)
470 {
471 }
472
473};
474
475#define PARAMETER_PORT_LENGTH 4
476
480 class ParameterGuid_t : public Parameter_t
481{
482 public:
483
485 fastdds::rtps::GUID_t guid;
486
490 ParameterGuid_t()
491 {
492 }
493
500 ParameterGuid_t(
501 ParameterId_t pid,
502 uint16_t in_length)
503 : Parameter_t(pid, in_length)
504 {
505 }
506
514 ParameterGuid_t(
515 ParameterId_t pid,
516 uint16_t in_length,
517 const fastdds::rtps::GUID_t& guidin)
518 : Parameter_t(pid, in_length)
519 , guid(guidin)
520 {
521 }
522
530 ParameterGuid_t(
531 ParameterId_t pid,
532 uint16_t in_length,
533 const fastdds::rtps::InstanceHandle_t& iH)
534 : Parameter_t(pid, in_length)
535 {
536 fastdds::rtps::iHandle2GUID(guid, iH);
537 }
538
539};
540
541#define PARAMETER_GUID_LENGTH 16
542
546 class ParameterDomainId_t : public Parameter_t
547{
548 public:
549
551 uint32_t domain_id;
552
556 ParameterDomainId_t()
557 : domain_id(DOMAIN_ID_UNKNOWN)
558 {
559 }
560
567 ParameterDomainId_t(
568 ParameterId_t pid,
569 uint16_t in_length)
570 : Parameter_t(pid, in_length)
571 , domain_id(DOMAIN_ID_UNKNOWN)
572 {
573 domain_id = DOMAIN_ID_UNKNOWN;
574 }
575
576};
577
578#define PARAMETER_DOMAINID_LENGTH 4
579
583 class ParameterProtocolVersion_t : public Parameter_t
584{
585 public:
586
588 fastdds::rtps::ProtocolVersion_t protocolVersion;
589
593 ParameterProtocolVersion_t()
594 {
595 protocolVersion = fastdds::rtps::c_ProtocolVersion;
596 }
597
604 ParameterProtocolVersion_t(
605 ParameterId_t pid,
606 uint16_t in_length)
607 : Parameter_t(pid, in_length)
608 {
609 protocolVersion = fastdds::rtps::c_ProtocolVersion;
610 }
611
612};
613
614#define PARAMETER_PROTOCOL_LENGTH 4
615
619 class ParameterVendorId_t : public Parameter_t
620{
621 public:
622
624 fastdds::rtps::VendorId_t vendorId;
625
629 ParameterVendorId_t()
630 : vendorId(fastdds::rtps::c_VendorId_eProsima)
631 {
632 }
633
640 ParameterVendorId_t(
641 ParameterId_t pid,
642 uint16_t in_length)
643 : Parameter_t(pid, in_length)
644 , vendorId(fastdds::rtps::c_VendorId_eProsima)
645 {
646 }
647
648};
649
650#define PARAMETER_VENDOR_LENGTH 4
651
655 class ParameterProductVersion_t : public Parameter_t
656{
657 public:
658
659 rtps::ProductVersion_t version;
660
664 ParameterProductVersion_t()
665 {
666 }
667
674 ParameterProductVersion_t(
675 ParameterId_t pid,
676 uint16_t in_length)
677 : Parameter_t(pid, in_length)
678 {
679 }
680
681};
682
683#define PARAMETER_PRODUCT_VERSION_LENGTH 4
684
688 class ParameterIP4Address_t : public Parameter_t
689{
690 public:
691
693 fastdds::rtps::octet address[4];
694
698 ParameterIP4Address_t()
699 {
700 this->setIP4Address(0, 0, 0, 0);
701 }
702
709 ParameterIP4Address_t(
710 ParameterId_t pid,
711 uint16_t in_length)
712 : Parameter_t(pid, in_length)
713 {
714 this->setIP4Address(0, 0, 0, 0);
715 }
716
725 void setIP4Address(
726 fastdds::rtps::octet o1,
727 fastdds::rtps::octet o2,
728 fastdds::rtps::octet o3,
729 fastdds::rtps::octet o4)
730 {
731 address[0] = o1;
732 address[1] = o2;
733 address[2] = o3;
734 address[3] = o4;
735 }
736
737};
738
739#define PARAMETER_IP4_LENGTH 4
740
744 class ParameterBool_t : public Parameter_t
745{
746 public:
747
749 bool value;
750
754 ParameterBool_t()
755 : value(false)
756 {
757 }
758
765 ParameterBool_t(
766 ParameterId_t pid,
767 uint16_t in_length)
768 : Parameter_t(pid, in_length)
769 , value(false)
770 {
771 }
772
780 ParameterBool_t(
781 ParameterId_t pid,
782 uint16_t in_length,
783 bool inbool)
784 : Parameter_t(pid, in_length)
785 , value(inbool)
786 {
787 }
788
789};
790
791#define PARAMETER_BOOL_LENGTH 4
792
796 class ParameterStatusInfo_t : public Parameter_t
797{
798 public:
799
801 uint8_t status;
802
806 ParameterStatusInfo_t()
807 : status(0)
808 {
809 }
810
817 ParameterStatusInfo_t(
818 ParameterId_t pid,
819 uint16_t in_length)
820 : Parameter_t(pid, in_length)
821 , status(0)
822 {
823 }
824
832 ParameterStatusInfo_t(
833 ParameterId_t pid,
834 uint16_t in_length,
835 uint8_t instatus)
836 : Parameter_t(pid, in_length)
837 , status(instatus)
838 {
839 }
840
841};
842
843#define PARAMETER_STATUS_INFO_LENGTH 4
844
848 class ParameterCount_t : public Parameter_t
849{
850 public:
851
853 fastdds::rtps::Count_t count;
854
858 ParameterCount_t()
859 : count(0)
860 {
861 }
862
869 ParameterCount_t(
870 ParameterId_t pid,
871 uint16_t in_length)
872 : Parameter_t(pid, in_length)
873 , count(0)
874 {
875 }
876
877};
878
879#define PARAMETER_COUNT_LENGTH 4
880
884 class ParameterEntityId_t : public Parameter_t
885{
886 public:
887
889 fastdds::rtps::EntityId_t entityId;
890
894 ParameterEntityId_t()
895 : entityId(ENTITYID_UNKNOWN)
896 {
897 }
898
905 ParameterEntityId_t(
906 ParameterId_t pid,
907 uint16_t in_length)
908 : Parameter_t(pid, in_length)
909 , entityId(ENTITYID_UNKNOWN)
910 {
911 }
912
913};
914
915#define PARAMETER_ENTITYID_LENGTH 4
916
920 class ParameterTime_t : public Parameter_t
921{
922 public:
923
925 fastdds::rtps::Time_t time;
926
930 ParameterTime_t()
931 {
932 }
933
940 ParameterTime_t(
941 ParameterId_t pid,
942 uint16_t in_length)
943 : Parameter_t(pid, in_length)
944 {
945 }
946
947};
948
949#define PARAMETER_TIME_LENGTH 8
950
954 class ParameterBuiltinEndpointSet_t : public Parameter_t
955{
956 public:
957
959 fastdds::rtps::BuiltinEndpointSet_t endpointSet;
960
964 ParameterBuiltinEndpointSet_t()
965 : endpointSet(0)
966 {
967 }
968
975 ParameterBuiltinEndpointSet_t(
976 ParameterId_t pid,
977 uint16_t in_length)
978 : Parameter_t(pid, in_length)
979 , endpointSet(0)
980 {
981 }
982
983};
984
985#define PARAMETER_BUILTINENDPOINTSET_LENGTH 4
986
990 class ParameterNetworkConfigSet_t : public Parameter_t
991{
992 public:
993
995 fastdds::rtps::NetworkConfigSet_t netconfigSet;
996
1000 ParameterNetworkConfigSet_t()
1001 : netconfigSet(0)
1002 {
1003 }
1004
1011 ParameterNetworkConfigSet_t(
1012 ParameterId_t pid,
1013 uint16_t in_length)
1014 : Parameter_t(pid, in_length)
1015 , netconfigSet(0)
1016 {
1017 }
1018
1019};
1020
1021#define PARAMETER_NETWORKCONFIGSET_LENGTH 4
1022
1026 class ParameterProperty_t
1027{
1028
1029 friend class ParameterPropertyList_t;
1030
1031 private:
1032
1034 fastdds::rtps::octet* data;
1035
1036 public:
1037
1041 ParameterProperty_t()
1042 {
1043 data = nullptr;
1044 }
1045
1051 explicit ParameterProperty_t(
1052 void* ptr)
1053 {
1054 data = (fastdds::rtps::octet*)ptr;
1055 }
1056
1062 std::string first() const
1063 {
1064 //Skip the size and return the string
1065 return std::string((char*)data + 4);
1066 }
1067
1073 std::string second() const
1074 {
1075 //Skip the first element
1076 uint32_t size1 = ParameterProperty_t::element_size(data);
1077
1078 //Skip the size of the second element and return the string
1079 return std::string((char*)data + size1 + 4);
1080 }
1081
1088 bool modify(
1089 const std::pair<std::string, std::string>& new_value)
1090 {
1091 uint32_t old_size = size();
1092
1093 uint32_t first_size = (uint32_t)new_value.first.size() + 1;
1094 uint32_t first_alignment = ((first_size + 3u) & ~3u) - first_size;
1095 uint32_t second_size = (uint32_t)new_value.second.size() + 1;
1096 uint32_t second_alignment = ((second_size + 3u) & ~3u) - second_size;
1097 uint32_t new_size = first_size + first_alignment + second_size + second_alignment + 8;
1098
1099 if (old_size != new_size)
1100 {
1101 return false;
1102 }
1103
1104 fastdds::rtps::octet* current = data;
1105 memcpy(current, &first_size, 4);
1106 memcpy(current + 4, new_value.first.c_str(), first_size);
1107 memset(current + 4 + first_size, 0, first_alignment);
1108
1109 current = data + 4 + first_size + first_alignment;
1110 memcpy(current, &second_size, 4);
1111 memcpy(current + 4, new_value.second.c_str(), second_size);
1112 memset(current + 4 + second_size, 0, second_alignment);
1113
1114 return true;
1115 }
1116
1122 std::pair<const std::string, const std::string> pair() const
1123 {
1124 return std::make_pair(std::string(first()), std::string(second()));
1125 }
1126
1132 uint32_t size() const
1133 {
1134 //Size of the first element (with alignment)
1135 uint32_t size1 = ParameterProperty_t::element_size(data);
1136
1137 //Size of the second element (with alignment)
1138 uint32_t size2 = ParameterProperty_t::element_size(data + size1);
1139 return size1 + size2;
1140 }
1141
1142 bool operator ==(
1143 const ParameterProperty_t& b) const
1144 {
1145 return (first() == b.first()) &&
1146 (second() == b.second());
1147 }
1148
1149 bool operator !=(
1150 const ParameterProperty_t& b) const
1151 {
1152 return !(*this == b);
1153 }
1154
1155 private:
1156
1163 static uint32_t element_size(
1164 const fastdds::rtps::octet* ptr)
1165 {
1166 //Size of the element (with alignment)
1167 uint32_t size = *(uint32_t*)ptr;
1168 return (4u + ((size + 3u) & ~3u));
1169 }
1170
1171};
1172
1178 const std::string parameter_property_persistence_guid = "PID_PERSISTENCE_GUID";
1179
1185 const std::string parameter_property_participant_type = "PARTICIPANT_TYPE";
1186
1192 const std::string parameter_property_ds_version = "DS_VERSION";
1193
1199 const std::string parameter_property_current_ds_version = "2.0";
1200
1206 const char* const parameter_policy_physical_data_host = "fastdds.physical_data.host";
1207
1213 const char* const parameter_policy_physical_data_user = "fastdds.physical_data.user";
1214
1220 const char* const parameter_policy_physical_data_process = "fastdds.physical_data.process";
1221
1227 const char* const parameter_enable_monitor_service = "fastdds.enable_monitor_service";
1228
1234 const char* const parameter_policy_type_propagation = "fastdds.type_propagation";
1235
1241 const char* const parameter_serialize_optional_qos = "fastdds.serialize_optional_qos";
1242
1246 class ParameterPropertyList_t : public Parameter_t
1247{
1248 private:
1249
1251 fastdds::rtps::SerializedPayload_t properties_;
1253 uint32_t Nproperties_ = 0;
1255 bool limit_size_ = false;
1256
1257 public:
1258
1259 class iterator
1260 {
1261 public:
1262
1263 typedef iterator self_type;
1264 typedef ParameterProperty_t value_type;
1265 typedef ParameterProperty_t& reference;
1266 typedef ParameterProperty_t* pointer;
1267 typedef size_t difference_type;
1268 typedef std::forward_iterator_tag iterator_category;
1269
1275 iterator(
1276 fastdds::rtps::octet* ptr)
1277 : ptr_(ptr)
1278 , value_(ptr)
1279 {
1280 }
1281
1282 self_type operator ++()
1283 {
1284 advance();
1285 return *this;
1286 }
1287
1288 self_type operator ++(
1289 int)
1290 {
1291 self_type i = *this;
1292 advance();
1293 return i;
1294 }
1295
1296 reference operator *()
1297 {
1298 return value_;
1299 }
1300
1301 pointer operator ->()
1302 {
1303 return &value_;
1304 }
1305
1306 bool operator ==(
1307 const self_type& rhs) const
1308 {
1309 return ptr_ == rhs.ptr_;
1310 }
1311
1312 bool operator !=(
1313 const self_type& rhs) const
1314 {
1315 return ptr_ != rhs.ptr_;
1316 }
1317
1318 protected:
1319
1323 void advance()
1324 {
1325 ptr_ += value_.size();
1326 value_ = ParameterProperty_t(ptr_);
1327 }
1328
1334 fastdds::rtps::octet* address() const
1335 {
1336 return ptr_;
1337 }
1338
1339 private:
1340
1342 fastdds::rtps::octet* ptr_;
1344 ParameterProperty_t value_;
1345 };
1346
1347 class const_iterator
1348 {
1349 public:
1350
1351 typedef const_iterator self_type;
1352 typedef const ParameterProperty_t value_type;
1353 typedef const ParameterProperty_t& reference;
1354 typedef const ParameterProperty_t* pointer;
1355 typedef size_t difference_type;
1356 typedef std::forward_iterator_tag iterator_category;
1357
1363 const_iterator(
1364 const fastdds::rtps::octet* ptr)
1365 : ptr_(ptr)
1366 , value_(const_cast<fastdds::rtps::octet*>(ptr))
1367 {
1368 }
1369
1370 self_type operator ++()
1371 {
1372 advance();
1373 return *this;
1374 }
1375
1376 self_type operator ++(
1377 int)
1378 {
1379 self_type i = *this;
1380 advance();
1381 return i;
1382 }
1383
1384 reference operator *()
1385 {
1386 return value_;
1387 }
1388
1389 pointer operator ->()
1390 {
1391 return &value_;
1392 }
1393
1394 bool operator ==(
1395 const self_type& rhs) const
1396 {
1397 return ptr_ == rhs.ptr_;
1398 }
1399
1400 bool operator !=(
1401 const self_type& rhs) const
1402 {
1403 return ptr_ != rhs.ptr_;
1404 }
1405
1406 protected:
1407
1411 void advance()
1412 {
1413 ptr_ += value_.size();
1414 value_ = ParameterProperty_t(const_cast<fastdds::rtps::octet*>(ptr_));
1415 }
1416
1422 const fastdds::rtps::octet* address() const
1423 {
1424 return ptr_;
1425 }
1426
1427 private:
1428
1430 const fastdds::rtps::octet* ptr_;
1432 ParameterProperty_t value_;
1433 };
1434
1435 public:
1436
1441 ParameterPropertyList_t()
1442 : Parameter_t(PID_PROPERTY_LIST, 0)
1443 , Nproperties_ (0)
1444 , limit_size_ (false)
1445 {
1446 }
1447
1453 ParameterPropertyList_t(
1454 uint32_t size)
1455 : Parameter_t(PID_PROPERTY_LIST, 0)
1456 , properties_(size)
1457 , Nproperties_ (0)
1458 , limit_size_ (size == 0 ? false : true)
1459 {
1460 }
1461
1468 ParameterPropertyList_t(
1469 ParameterId_t pid,
1470 uint16_t in_length)
1471 : Parameter_t(PID_PROPERTY_LIST, in_length)
1472 , Nproperties_ (0)
1473 , limit_size_ (false)
1474 {
1475 static_cast<void>(pid);
1476 }
1477
1483 ParameterPropertyList_t(
1484 const ParameterPropertyList_t& parameter_properties)
1485 : Parameter_t(PID_PROPERTY_LIST, parameter_properties.length)
1486 , properties_(parameter_properties.limit_size_ ?
1487 parameter_properties.properties_.max_size :
1488 parameter_properties.properties_.length)
1489 , Nproperties_ (parameter_properties.Nproperties_)
1490 , limit_size_ (parameter_properties.limit_size_)
1491 {
1492 properties_.copy(&parameter_properties.properties_, parameter_properties.limit_size_);
1493 }
1494
1495 ParameterPropertyList_t& operator = (
1496 const ParameterPropertyList_t& parameter_properties)
1497 {
1498 length = parameter_properties.length;
1499 limit_size_ = parameter_properties.limit_size_;
1500 properties_.reserve(limit_size_ ?
1501 parameter_properties.properties_.max_size :
1502 parameter_properties.properties_.length);
1503 properties_.copy(&parameter_properties.properties_, parameter_properties.limit_size_);
1504 Nproperties_ = parameter_properties.Nproperties_;
1505 return *this;
1506 }
1507
1513 iterator begin()
1514 {
1515 return iterator(properties_.data);
1516 }
1517
1523 iterator end()
1524 {
1525 return iterator(properties_.data + properties_.length);
1526 }
1527
1533 const_iterator begin() const
1534 {
1535 return const_iterator(properties_.data);
1536 }
1537
1543 const_iterator end() const
1544 {
1545 return const_iterator(properties_.data + properties_.length);
1546 }
1547
1554 bool push_back(
1555 std::pair<std::string, std::string> p)
1556 {
1557 return push_back(p.first, p.second);
1558 }
1559
1567 bool push_back(
1568 const std::string& key,
1569 const std::string& value)
1570 {
1571 auto str1 = reinterpret_cast<const unsigned char*>(key.c_str());
1572 uint32_t size1 = (uint32_t) key.length() + 1;
1573 auto str2 = reinterpret_cast<const unsigned char*>(value.c_str());
1574 uint32_t size2 = (uint32_t) value.length() + 1;
1575
1576 return push_back(str1, size1, str2, size2);
1577 }
1578
1588 bool push_back(
1589 const unsigned char* str1,
1590 uint32_t str1_size,
1591 const unsigned char* str2,
1592 uint32_t str2_size)
1593 {
1594 //Realloc if needed;
1595 uint32_t alignment1 = ((str1_size + 3u) & ~3u) - str1_size;
1596 uint32_t alignment2 = ((str2_size + 3u) & ~3u) - str2_size;
1597
1598 if (limit_size_ && (properties_.max_size < properties_.length +
1599 str1_size + alignment1 + 4 +
1600 str2_size + alignment2 + 4))
1601 {
1602 return false;
1603 }
1604 properties_.reserve(properties_.length +
1605 str1_size + alignment1 + 4 +
1606 str2_size + alignment2 + 4);
1607
1608 push_back_helper((fastdds::rtps::octet*)str1, str1_size, alignment1);
1609 push_back_helper((fastdds::rtps::octet*)str2, str2_size, alignment2);
1610 ++Nproperties_;
1611 return true;
1612 }
1613
1621 bool set_property (
1622 iterator pos,
1623 const std::pair<std::string, std::string>& new_value)
1624 {
1625 return pos->modify(new_value);
1626 }
1627
1631 void clear()
1632 {
1633 properties_.length = 0;
1634 Nproperties_ = 0;
1635 }
1636
1642 uint32_t size() const
1643 {
1644 return Nproperties_;
1645 }
1646
1650 void set_max_size (
1651 uint32_t size)
1652 {
1653 properties_.reserve(size);
1654 limit_size_ = true;
1655 }
1656
1662 uint32_t max_size ()
1663 {
1664 return (limit_size_ ? properties_.max_size : 0);
1665 }
1666
1667 protected:
1668
1669 void push_back_helper (
1670 const fastdds::rtps::octet* data,
1671 uint32_t size,
1672 uint32_t alignment)
1673 {
1674 fastdds::rtps::octet* o = (fastdds::rtps::octet*)&size;
1675 memcpy(properties_.data + properties_.length, o, 4);
1676 properties_.length += 4;
1677
1678 memcpy(properties_.data + properties_.length, data, size);
1679 properties_.length += size;
1680
1681 for (uint32_t i = 0; i < alignment; ++i)
1682 {
1683 properties_.data[properties_.length + i] = '\0';
1684 }
1685 properties_.length += alignment;
1686 }
1687
1688};
1689
1690
1694 class ParameterSampleIdentity_t : public Parameter_t
1695{
1696 public:
1697
1699 fastdds::rtps::SampleIdentity sample_id;
1700
1704 ParameterSampleIdentity_t()
1705 : sample_id(fastdds::rtps::SampleIdentity::unknown())
1706 {
1707 }
1708
1715 ParameterSampleIdentity_t(
1716 ParameterId_t pid,
1717 uint16_t in_length)
1718 : Parameter_t(pid, in_length)
1719 , sample_id(fastdds::rtps::SampleIdentity::unknown())
1720 {
1721 }
1722
1729 bool addToCDRMessage(
1730 fastdds::rtps::CDRMessage_t* msg) const;
1731
1739 bool readFromCDRMessage(
1740 fastdds::rtps::CDRMessage_t* msg,
1741 uint16_t size);
1742
1743};
1744
1745#define PARAMETER_SAMPLEIDENTITY_LENGTH 24
1746
1747
1748#if HAVE_SECURITY
1749
1753 class ParameterToken_t : public Parameter_t
1754{
1755 public:
1756
1758 fastdds::rtps::Token token;
1759
1763 ParameterToken_t()
1764 {
1765 }
1766
1773 ParameterToken_t(
1774 ParameterId_t pid,
1775 uint16_t in_length)
1776 : Parameter_t(pid, in_length)
1777 {
1778 }
1779
1780};
1781
1783#define PARAMETER_PARTICIPANT_SECURITY_INFO_LENGTH 8
1784
1788 class ParameterParticipantSecurityInfo_t : public Parameter_t
1789{
1790 public:
1791
1793 fastdds::rtps::security::ParticipantSecurityAttributesMask security_attributes = 0;
1795 fastdds::rtps::security::PluginParticipantSecurityAttributesMask plugin_security_attributes = 0;
1796
1802 ParameterParticipantSecurityInfo_t()
1803 : Parameter_t(PID_PARTICIPANT_SECURITY_INFO, PARAMETER_PARTICIPANT_SECURITY_INFO_LENGTH)
1804 {
1805 }
1806
1813 ParameterParticipantSecurityInfo_t(
1814 ParameterId_t pid,
1815 uint16_t in_length)
1816 : Parameter_t(pid, in_length)
1817 {
1818 }
1819
1820};
1821
1823#define PARAMETER_ENDPOINT_SECURITY_INFO_LENGTH 8
1824
1828 class ParameterEndpointSecurityInfo_t : public Parameter_t
1829{
1830 public:
1831
1832 fastdds::rtps::security::EndpointSecurityAttributesMask security_attributes = 0;
1833 fastdds::rtps::security::PluginEndpointSecurityAttributesMask plugin_security_attributes = 0;
1834
1840 ParameterEndpointSecurityInfo_t()
1841 : Parameter_t(PID_ENDPOINT_SECURITY_INFO, PARAMETER_ENDPOINT_SECURITY_INFO_LENGTH)
1842 {
1843 }
1844
1851 ParameterEndpointSecurityInfo_t(
1852 ParameterId_t pid,
1853 uint16_t in_length)
1854 : Parameter_t(pid, in_length)
1855 {
1856 }
1857
1858};
1859
1860#endif // if HAVE_SECURITY
1861
1863
1864 template<class T, class PL>
1865 void set_proxy_property(
1866 const T& p,
1867 const char* PID,
1868 PL& properties)
1869{
1870 // only valid values
1871 if (p == T::unknown())
1872 {
1873 return;
1874 }
1875
1876 // generate pair
1877 std::pair<std::string, std::string> pair;
1878 pair.first = PID;
1879
1880 std::ostringstream data;
1881 data << p;
1882 pair.second = data.str();
1883
1884 // if exists replace
1885 auto it = std::find_if(
1886 properties.begin(),
1887 properties.end(),
1888 [&pair](const typename PL::const_iterator::reference p)
1889 {
1890 return pair.first == p.first();
1891 });
1892
1893 if (it != properties.end())
1894 {
1895 // it->modify(pair);
1896 properties.set_property(it, pair);
1897 }
1898 else
1899 {
1900 // if not exists add
1901 properties.push_back(pair.first, pair.second);
1902 }
1903}
1904
1905 template<class T, class PL>
1906T get_proxy_property(
1907 const char* const PID,
1908 PL& properties)
1909{
1910 T property;
1911
1912 auto it = std::find_if(
1913 properties.begin(),
1914 properties.end(),
1915 [PID](const typename PL::const_iterator::reference p)
1916 {
1917 return PID == p.first();
1918 });
1919
1920 if (it != properties.end())
1921 {
1922 std::istringstream in(it->second());
1923 in >> property;
1924 }
1925
1926 return property;
1927}
1928
1929} //namespace dds
1930
1931 namespace rtps {
1932
1933 using ParameterId_t = fastdds::dds::ParameterId_t;
1934 using Parameter_t = fastdds::dds::Parameter_t;
1935 using ParameterKey_t = fastdds::dds::ParameterKey_t;
1936 using ParameterLocator_t = fastdds::dds::ParameterLocator_t;
1937 using ParameterString_t = fastdds::dds::ParameterString_t;
1938 using ParameterPort_t = fastdds::dds::ParameterPort_t;
1939 using ParameterGuid_t = fastdds::dds::ParameterGuid_t;
1940 using ParameterDomainId_t = fastdds::dds::ParameterDomainId_t;
1941 using ParameterProtocolVersion_t = fastdds::dds::ParameterProtocolVersion_t;
1942 using ParameterVendorId_t = fastdds::dds::ParameterVendorId_t;
1943 using ParameterProductVersion_t = fastdds::dds::ParameterProductVersion_t;
1944 using ParameterIP4Address_t = fastdds::dds::ParameterIP4Address_t;
1945 using ParameterBool_t = fastdds::dds::ParameterBool_t;
1946 using ParameterStatusInfo_t = fastdds::dds::ParameterStatusInfo_t;
1947 using ParameterCount_t = fastdds::dds::ParameterCount_t;
1948 using ParameterEntityId_t = fastdds::dds::ParameterEntityId_t;
1949 using ParameterTime_t = fastdds::dds::ParameterTime_t;
1950 using ParameterBuiltinEndpointSet_t = fastdds::dds::ParameterBuiltinEndpointSet_t;
1951 using ParameterNetworkConfigSet_t = fastdds::dds::ParameterNetworkConfigSet_t;
1952 using ParameterPropertyList_t = fastdds::dds::ParameterPropertyList_t;
1953 using ParameterSampleIdentity_t = fastdds::dds::ParameterSampleIdentity_t;
1954#if HAVE_SECURITY
1955 using ParameterToken_t = fastdds::dds::ParameterToken_t;
1956 using ParameterParticipantSecurityInfo_t = fastdds::dds::ParameterParticipantSecurityInfo_t;
1957 using ParameterEndpointSecurityInfo_t = fastdds::dds::ParameterEndpointSecurityInfo_t;
1958#endif // if HAVE_SECURITY
1959
1960} //namespace rtps
1961} //namespace fastdds
1962} //namespace eprosima
1963
1964#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
1965#endif // FASTDDS_DDS_CORE_POLICY__PARAMETERTYPES_HPP
eprosima::fastdds::dds::Parameter_t
Base Parameter class with parameter PID and parameter length in bytes.
Definition ParameterTypes.hpp:198
eprosima::fastdds::dds::Parameter_t::Pid
ParameterId_t Pid
Parameter ID. By default, PID_PAD.
Definition ParameterTypes.hpp:241
eprosima::fastdds::dds::Parameter_t::Parameter_t
FASTDDS_EXPORTED_API Parameter_t()
Constructor without parameters.
Definition ParameterTypes.hpp:204
eprosima::fastdds::dds::Parameter_t::length
uint16_t length
Parameter length. By default, 0.
Definition ParameterTypes.hpp:243
eprosima::fastdds::dds::Parameter_t::Parameter_t
FASTDDS_EXPORTED_API Parameter_t(ParameterId_t pid, uint16_t length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:216
eprosima::fastdds::dds::Parameter_t::~Parameter_t
virtual FASTDDS_EXPORTED_API ~Parameter_t()
Destructor.
Definition ParameterTypes.hpp:227
eprosima::fastdds::dds::Parameter_t::operator==
bool operator==(const Parameter_t &b) const
Definition ParameterTypes.hpp:231
eprosima::fastdds::dds::ParameterBool_t
Definition ParameterTypes.hpp:745
eprosima::fastdds::dds::ParameterBool_t::value
bool value
Boolean By default, false.
Definition ParameterTypes.hpp:749
eprosima::fastdds::dds::ParameterBool_t::ParameterBool_t
ParameterBool_t()
Constructor without parameter.
Definition ParameterTypes.hpp:754
eprosima::fastdds::dds::ParameterBool_t::ParameterBool_t
ParameterBool_t(ParameterId_t pid, uint16_t in_length, bool inbool)
Constructor using a parameter PID, the parameter length and a boolean.
Definition ParameterTypes.hpp:780
eprosima::fastdds::dds::ParameterBool_t::ParameterBool_t
ParameterBool_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:765
eprosima::fastdds::dds::ParameterBuiltinEndpointSet_t
Definition ParameterTypes.hpp:955
eprosima::fastdds::dds::ParameterBuiltinEndpointSet_t::ParameterBuiltinEndpointSet_t
ParameterBuiltinEndpointSet_t()
Constructor without parameters.
Definition ParameterTypes.hpp:964
eprosima::fastdds::dds::ParameterBuiltinEndpointSet_t::ParameterBuiltinEndpointSet_t
ParameterBuiltinEndpointSet_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:975
eprosima::fastdds::dds::ParameterBuiltinEndpointSet_t::endpointSet
fastdds::rtps::BuiltinEndpointSet_t endpointSet
Builtin Endpoint Set By default, 0.
Definition ParameterTypes.hpp:959
eprosima::fastdds::dds::ParameterCount_t
Definition ParameterTypes.hpp:849
eprosima::fastdds::dds::ParameterCount_t::ParameterCount_t
ParameterCount_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:869
eprosima::fastdds::dds::ParameterCount_t::count
fastdds::rtps::Count_t count
Count By default, 0.
Definition ParameterTypes.hpp:853
eprosima::fastdds::dds::ParameterCount_t::ParameterCount_t
ParameterCount_t()
Constructor without parameter.
Definition ParameterTypes.hpp:858
eprosima::fastdds::dds::ParameterDomainId_t
Definition ParameterTypes.hpp:547
eprosima::fastdds::dds::ParameterDomainId_t::domain_id
uint32_t domain_id
Domain ID. By default, DOMAIN_ID_UNKNOWN.
Definition ParameterTypes.hpp:551
eprosima::fastdds::dds::ParameterDomainId_t::ParameterDomainId_t
ParameterDomainId_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:567
eprosima::fastdds::dds::ParameterDomainId_t::ParameterDomainId_t
ParameterDomainId_t()
Constructor without parameters.
Definition ParameterTypes.hpp:556
eprosima::fastdds::dds::ParameterEntityId_t
Definition ParameterTypes.hpp:885
eprosima::fastdds::dds::ParameterEntityId_t::ParameterEntityId_t
ParameterEntityId_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:905
eprosima::fastdds::dds::ParameterEntityId_t::ParameterEntityId_t
ParameterEntityId_t()
Constructor without parameters.
Definition ParameterTypes.hpp:894
eprosima::fastdds::dds::ParameterEntityId_t::entityId
fastdds::rtps::EntityId_t entityId
EntityId By default, ENTITYID_UNKNOWN.
Definition ParameterTypes.hpp:889
eprosima::fastdds::dds::ParameterGuid_t
Definition ParameterTypes.hpp:481
eprosima::fastdds::dds::ParameterGuid_t::ParameterGuid_t
ParameterGuid_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:500
eprosima::fastdds::dds::ParameterGuid_t::ParameterGuid_t
ParameterGuid_t(ParameterId_t pid, uint16_t in_length, const fastdds::rtps::InstanceHandle_t &iH)
Constructor using a parameter PID, the parameter length and a Instance Handle.
Definition ParameterTypes.hpp:530
eprosima::fastdds::dds::ParameterGuid_t::guid
fastdds::rtps::GUID_t guid
GUID By default, unknown GUID.
Definition ParameterTypes.hpp:485
eprosima::fastdds::dds::ParameterGuid_t::ParameterGuid_t
ParameterGuid_t()
Constructor without parameters.
Definition ParameterTypes.hpp:490
eprosima::fastdds::dds::ParameterGuid_t::ParameterGuid_t
ParameterGuid_t(ParameterId_t pid, uint16_t in_length, const fastdds::rtps::GUID_t &guidin)
Constructor using a parameter PID, the parameter length and a GUID.
Definition ParameterTypes.hpp:514
eprosima::fastdds::dds::ParameterIP4Address_t
Definition ParameterTypes.hpp:689
eprosima::fastdds::dds::ParameterIP4Address_t::ParameterIP4Address_t
ParameterIP4Address_t()
Constructor without parameters.
Definition ParameterTypes.hpp:698
eprosima::fastdds::dds::ParameterIP4Address_t::ParameterIP4Address_t
ParameterIP4Address_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:709
eprosima::fastdds::dds::ParameterIP4Address_t::address
fastdds::rtps::octet address[4]
Address By default [0,0,0,0].
Definition ParameterTypes.hpp:693
eprosima::fastdds::dds::ParameterIP4Address_t::setIP4Address
void setIP4Address(fastdds::rtps::octet o1, fastdds::rtps::octet o2, fastdds::rtps::octet o3, fastdds::rtps::octet o4)
Setter for the address.
Definition ParameterTypes.hpp:725
eprosima::fastdds::dds::ParameterKey_t
Definition ParameterTypes.hpp:250
eprosima::fastdds::dds::ParameterKey_t::ParameterKey_t
ParameterKey_t()
Constructor without parameters.
Definition ParameterTypes.hpp:258
eprosima::fastdds::dds::ParameterKey_t::ParameterKey_t
ParameterKey_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:268
eprosima::fastdds::dds::ParameterKey_t::ParameterKey_t
ParameterKey_t(ParameterId_t pid, uint16_t in_length, const fastdds::rtps::InstanceHandle_t &ke)
Constructor using a parameter PID, parameter length and Instance Handle.
Definition ParameterTypes.hpp:282
eprosima::fastdds::dds::ParameterKey_t::key
fastdds::rtps::InstanceHandle_t key
Instance Handle. By default, c_InstanceHandle_Unknown.
Definition ParameterTypes.hpp:254
eprosima::fastdds::dds::ParameterLocator_t
Definition ParameterTypes.hpp:299
eprosima::fastdds::dds::ParameterLocator_t::ParameterLocator_t
ParameterLocator_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:318
eprosima::fastdds::dds::ParameterLocator_t::locator
rtps::Locator locator
Locator.
Definition ParameterTypes.hpp:303
eprosima::fastdds::dds::ParameterLocator_t::ParameterLocator_t
ParameterLocator_t(ParameterId_t pid, uint16_t in_length, const rtps::Locator &loc)
Constructor using a parameter PID, the parameter length and a Locator.
Definition ParameterTypes.hpp:332
eprosima::fastdds::dds::ParameterLocator_t::ParameterLocator_t
ParameterLocator_t()
Constructor without parameters.
Definition ParameterTypes.hpp:308
eprosima::fastdds::dds::ParameterNetworkConfigSet_t
Definition ParameterTypes.hpp:991
eprosima::fastdds::dds::ParameterNetworkConfigSet_t::netconfigSet
fastdds::rtps::NetworkConfigSet_t netconfigSet
Network Config Set By default, 0.
Definition ParameterTypes.hpp:995
eprosima::fastdds::dds::ParameterNetworkConfigSet_t::ParameterNetworkConfigSet_t
ParameterNetworkConfigSet_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:1011
eprosima::fastdds::dds::ParameterNetworkConfigSet_t::ParameterNetworkConfigSet_t
ParameterNetworkConfigSet_t()
Constructor without parameters.
Definition ParameterTypes.hpp:1000
eprosima::fastdds::dds::ParameterPort_t
Definition ParameterTypes.hpp:429
eprosima::fastdds::dds::ParameterPort_t::port
uint32_t port
Port. By default, 0.
Definition ParameterTypes.hpp:433
eprosima::fastdds::dds::ParameterPort_t::ParameterPort_t
ParameterPort_t(ParameterId_t pid, uint16_t in_length, uint32_t po)
Constructor using a parameter PID, the parameter length and a port.
Definition ParameterTypes.hpp:464
eprosima::fastdds::dds::ParameterPort_t::ParameterPort_t
ParameterPort_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:449
eprosima::fastdds::dds::ParameterPort_t::ParameterPort_t
ParameterPort_t()
Constructor without parameters.
Definition ParameterTypes.hpp:438
eprosima::fastdds::dds::ParameterProductVersion_t
Definition ParameterTypes.hpp:656
eprosima::fastdds::dds::ParameterProductVersion_t::ParameterProductVersion_t
ParameterProductVersion_t()
Constructor without parameters.
Definition ParameterTypes.hpp:664
eprosima::fastdds::dds::ParameterProductVersion_t::version
rtps::ProductVersion_t version
Definition ParameterTypes.hpp:659
eprosima::fastdds::dds::ParameterProductVersion_t::ParameterProductVersion_t
ParameterProductVersion_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:674
eprosima::fastdds::dds::ParameterProperty_t
Definition ParameterTypes.hpp:1027
eprosima::fastdds::dds::ParameterProperty_t::second
std::string second() const
Getter for the second element in data.
Definition ParameterTypes.hpp:1073
eprosima::fastdds::dds::ParameterProperty_t::ParameterProperty_t
ParameterProperty_t()
Constructor without parameters.
Definition ParameterTypes.hpp:1041
eprosima::fastdds::dds::ParameterProperty_t::size
uint32_t size() const
Getter for data size.
Definition ParameterTypes.hpp:1132
eprosima::fastdds::dds::ParameterProperty_t::modify
bool modify(const std::pair< std::string, std::string > &new_value)
Setter using a pair of strings.
Definition ParameterTypes.hpp:1088
eprosima::fastdds::dds::ParameterProperty_t::operator==
bool operator==(const ParameterProperty_t &b) const
Definition ParameterTypes.hpp:1142
eprosima::fastdds::dds::ParameterProperty_t::ParameterPropertyList_t
friend class ParameterPropertyList_t
Definition ParameterTypes.hpp:1029
eprosima::fastdds::dds::ParameterProperty_t::ParameterProperty_t
ParameterProperty_t(void *ptr)
Constructor using a pointer.
Definition ParameterTypes.hpp:1051
eprosima::fastdds::dds::ParameterProperty_t::first
std::string first() const
Getter for the first element in data.
Definition ParameterTypes.hpp:1062
eprosima::fastdds::dds::ParameterProperty_t::pair
std::pair< const std::string, const std::string > pair() const
Getter that returns a pair of the first and second elements in data.
Definition ParameterTypes.hpp:1122
eprosima::fastdds::dds::ParameterProperty_t::operator!=
bool operator!=(const ParameterProperty_t &b) const
Definition ParameterTypes.hpp:1149
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator
Definition ParameterTypes.hpp:1348
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::address
const fastdds::rtps::octet * address() const
Getter for the pointer.
Definition ParameterTypes.hpp:1422
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::operator->
pointer operator->()
Definition ParameterTypes.hpp:1389
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::difference_type
size_t difference_type
Definition ParameterTypes.hpp:1355
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::operator++
self_type operator++()
Definition ParameterTypes.hpp:1370
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::operator==
bool operator==(const self_type &rhs) const
Definition ParameterTypes.hpp:1394
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::iterator_category
std::forward_iterator_tag iterator_category
Definition ParameterTypes.hpp:1356
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::operator!=
bool operator!=(const self_type &rhs) const
Definition ParameterTypes.hpp:1400
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::operator*
reference operator*()
Definition ParameterTypes.hpp:1384
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::self_type
const_iterator self_type
Definition ParameterTypes.hpp:1351
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::const_iterator
const_iterator(const fastdds::rtps::octet *ptr)
Constructor using a pointer.
Definition ParameterTypes.hpp:1363
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::advance
void advance()
Shift the pointer to the next value.
Definition ParameterTypes.hpp:1411
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::pointer
const ParameterProperty_t * pointer
Definition ParameterTypes.hpp:1354
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::value_type
const ParameterProperty_t value_type
Definition ParameterTypes.hpp:1352
eprosima::fastdds::dds::ParameterPropertyList_t::const_iterator::reference
const ParameterProperty_t & reference
Definition ParameterTypes.hpp:1353
eprosima::fastdds::dds::ParameterPropertyList_t::iterator
Definition ParameterTypes.hpp:1260
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::address
fastdds::rtps::octet * address() const
Getter for the pointer.
Definition ParameterTypes.hpp:1334
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::value_type
ParameterProperty_t value_type
Definition ParameterTypes.hpp:1264
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::operator->
pointer operator->()
Definition ParameterTypes.hpp:1301
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::difference_type
size_t difference_type
Definition ParameterTypes.hpp:1267
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::operator++
self_type operator++()
Definition ParameterTypes.hpp:1282
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::operator==
bool operator==(const self_type &rhs) const
Definition ParameterTypes.hpp:1306
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::iterator_category
std::forward_iterator_tag iterator_category
Definition ParameterTypes.hpp:1268
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::pointer
ParameterProperty_t * pointer
Definition ParameterTypes.hpp:1266
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::operator!=
bool operator!=(const self_type &rhs) const
Definition ParameterTypes.hpp:1312
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::operator*
reference operator*()
Definition ParameterTypes.hpp:1296
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::advance
void advance()
Shift the pointer to the next value.
Definition ParameterTypes.hpp:1323
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::reference
ParameterProperty_t & reference
Definition ParameterTypes.hpp:1265
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::iterator
iterator(fastdds::rtps::octet *ptr)
Constructor using an octet pointer.
Definition ParameterTypes.hpp:1275
eprosima::fastdds::dds::ParameterPropertyList_t::iterator::self_type
iterator self_type
Definition ParameterTypes.hpp:1263
eprosima::fastdds::dds::ParameterPropertyList_t
Definition ParameterTypes.hpp:1247
eprosima::fastdds::dds::ParameterPropertyList_t::ParameterPropertyList_t
ParameterPropertyList_t(const ParameterPropertyList_t &parameter_properties)
Constructor using a Parameter Property List.
Definition ParameterTypes.hpp:1483
eprosima::fastdds::dds::ParameterPropertyList_t::begin
const_iterator begin() const
Getter for the first position of the ParameterPropertyList.
Definition ParameterTypes.hpp:1533
eprosima::fastdds::dds::ParameterPropertyList_t::push_back
bool push_back(std::pair< std::string, std::string > p)
Introduce a new property in the ParameterPropertyList.
Definition ParameterTypes.hpp:1554
eprosima::fastdds::dds::ParameterPropertyList_t::operator=
ParameterPropertyList_t & operator=(const ParameterPropertyList_t &parameter_properties)
Definition ParameterTypes.hpp:1495
eprosima::fastdds::dds::ParameterPropertyList_t::push_back_helper
void push_back_helper(const fastdds::rtps::octet *data, uint32_t size, uint32_t alignment)
Definition ParameterTypes.hpp:1669
eprosima::fastdds::dds::ParameterPropertyList_t::max_size
uint32_t max_size()
Getter for the maximum size of the ParameterPropertyList.
Definition ParameterTypes.hpp:1662
eprosima::fastdds::dds::ParameterPropertyList_t::ParameterPropertyList_t
ParameterPropertyList_t(uint32_t size)
Constructor with a defined maximum size.
Definition ParameterTypes.hpp:1453
eprosima::fastdds::dds::ParameterPropertyList_t::set_property
bool set_property(iterator pos, const std::pair< std::string, std::string > &new_value)
Setter of a new property value on a specific position.
Definition ParameterTypes.hpp:1621
eprosima::fastdds::dds::ParameterPropertyList_t::size
uint32_t size() const
Getter for the size of the ParameterPropertyList.
Definition ParameterTypes.hpp:1642
eprosima::fastdds::dds::ParameterPropertyList_t::push_back
bool push_back(const unsigned char *str1, uint32_t str1_size, const unsigned char *str2, uint32_t str2_size)
Introduce a new property in the ParameterPropertyList.
Definition ParameterTypes.hpp:1588
eprosima::fastdds::dds::ParameterPropertyList_t::ParameterPropertyList_t
ParameterPropertyList_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:1468
eprosima::fastdds::dds::ParameterPropertyList_t::set_max_size
void set_max_size(uint32_t size)
Setter for the maximum size of the ParameterPropertyList.
Definition ParameterTypes.hpp:1650
eprosima::fastdds::dds::ParameterPropertyList_t::push_back
bool push_back(const std::string &key, const std::string &value)
Introduce a new property in the ParameterPropertyList.
Definition ParameterTypes.hpp:1567
eprosima::fastdds::dds::ParameterPropertyList_t::clear
void clear()
Clears the ParameterPropertyList.
Definition ParameterTypes.hpp:1631
eprosima::fastdds::dds::ParameterPropertyList_t::end
iterator end()
Getter for the end of the ParameterPropertyList.
Definition ParameterTypes.hpp:1523
eprosima::fastdds::dds::ParameterPropertyList_t::end
const_iterator end() const
Getter for the end of the ParameterPropertyList.
Definition ParameterTypes.hpp:1543
eprosima::fastdds::dds::ParameterPropertyList_t::begin
iterator begin()
Getter for the first position of the ParameterPropertyList.
Definition ParameterTypes.hpp:1513
eprosima::fastdds::dds::ParameterPropertyList_t::ParameterPropertyList_t
ParameterPropertyList_t()
Constructor without parameters Sets PID_PROPERTY_LIST as the PID of the parameter.
Definition ParameterTypes.hpp:1441
eprosima::fastdds::dds::ParameterProtocolVersion_t
Definition ParameterTypes.hpp:584
eprosima::fastdds::dds::ParameterProtocolVersion_t::ParameterProtocolVersion_t
ParameterProtocolVersion_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:604
eprosima::fastdds::dds::ParameterProtocolVersion_t::protocolVersion
fastdds::rtps::ProtocolVersion_t protocolVersion
Protocol Version. By default, c_ProtocolVersion.
Definition ParameterTypes.hpp:588
eprosima::fastdds::dds::ParameterProtocolVersion_t::ParameterProtocolVersion_t
ParameterProtocolVersion_t()
Constructor without parameters.
Definition ParameterTypes.hpp:593
eprosima::fastdds::dds::ParameterSampleIdentity_t
Definition ParameterTypes.hpp:1695
eprosima::fastdds::dds::ParameterSampleIdentity_t::ParameterSampleIdentity_t
ParameterSampleIdentity_t()
Constructor without parameters.
Definition ParameterTypes.hpp:1704
eprosima::fastdds::dds::ParameterSampleIdentity_t::addToCDRMessage
bool addToCDRMessage(fastdds::rtps::CDRMessage_t *msg) const
Add the parameter to a CDRMessage_t message.
eprosima::fastdds::dds::ParameterSampleIdentity_t::readFromCDRMessage
bool readFromCDRMessage(fastdds::rtps::CDRMessage_t *msg, uint16_t size)
Read the parameter from a CDRMessage_t message.
eprosima::fastdds::dds::ParameterSampleIdentity_t::ParameterSampleIdentity_t
ParameterSampleIdentity_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:1715
eprosima::fastdds::dds::ParameterSampleIdentity_t::sample_id
fastdds::rtps::SampleIdentity sample_id
Sample Identity By default, unknown.
Definition ParameterTypes.hpp:1699
eprosima::fastdds::dds::ParameterStatusInfo_t
Definition ParameterTypes.hpp:797
eprosima::fastdds::dds::ParameterStatusInfo_t::ParameterStatusInfo_t
ParameterStatusInfo_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:817
eprosima::fastdds::dds::ParameterStatusInfo_t::ParameterStatusInfo_t
ParameterStatusInfo_t(ParameterId_t pid, uint16_t in_length, uint8_t instatus)
Constructor using a parameter PID, the parameter length and status value.
Definition ParameterTypes.hpp:832
eprosima::fastdds::dds::ParameterStatusInfo_t::ParameterStatusInfo_t
ParameterStatusInfo_t()
Constructor without parameter.
Definition ParameterTypes.hpp:806
eprosima::fastdds::dds::ParameterStatusInfo_t::status
uint8_t status
Status By default, 0.
Definition ParameterTypes.hpp:801
eprosima::fastdds::dds::ParameterString_t
Definition ParameterTypes.hpp:349
eprosima::fastdds::dds::ParameterString_t::size
size_t size() const
Getter for the name size.
Definition ParameterTypes.hpp:414
eprosima::fastdds::dds::ParameterString_t::getName
const char * getName() const
Getter for the name.
Definition ParameterTypes.hpp:393
eprosima::fastdds::dds::ParameterString_t::ParameterString_t
ParameterString_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:365
eprosima::fastdds::dds::ParameterString_t::ParameterString_t
ParameterString_t(ParameterId_t pid, uint16_t in_length, const fastcdr::string_255 &strin)
Constructor using a parameter PID, the parameter length and a string.
Definition ParameterTypes.hpp:379
eprosima::fastdds::dds::ParameterString_t::setName
void setName(const char *name)
Setter for the name.
Definition ParameterTypes.hpp:403
eprosima::fastdds::dds::ParameterString_t::ParameterString_t
ParameterString_t()
Constructor without parameters.
Definition ParameterTypes.hpp:355
eprosima::fastdds::dds::ParameterTime_t
Definition ParameterTypes.hpp:921
eprosima::fastdds::dds::ParameterTime_t::time
fastdds::rtps::Time_t time
Time By default, 0.
Definition ParameterTypes.hpp:925
eprosima::fastdds::dds::ParameterTime_t::ParameterTime_t
ParameterTime_t()
Constructor without parameters.
Definition ParameterTypes.hpp:930
eprosima::fastdds::dds::ParameterTime_t::ParameterTime_t
ParameterTime_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:940
eprosima::fastdds::dds::ParameterVendorId_t
Definition ParameterTypes.hpp:620
eprosima::fastdds::dds::ParameterVendorId_t::ParameterVendorId_t
ParameterVendorId_t()
Constructor without parameters.
Definition ParameterTypes.hpp:629
eprosima::fastdds::dds::ParameterVendorId_t::vendorId
fastdds::rtps::VendorId_t vendorId
Vendor Id. By default, c_VendorId_eProsima.
Definition ParameterTypes.hpp:624
eprosima::fastdds::dds::ParameterVendorId_t::ParameterVendorId_t
ParameterVendorId_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length.
Definition ParameterTypes.hpp:640
eprosima::fastdds::rtps::SampleIdentity
This class is used to specify a sample.
Definition SampleIdentity.hpp:34
eprosima::fastdds::rtps::Time_t
Structure Time_t, used to describe times at RTPS protocol.
Definition Time_t.hpp:38
eprosima::fastdds::dds::parameter_property_participant_type
const std::string parameter_property_participant_type
Parameter property ID for participant type.
Definition ParameterTypes.hpp:1185
eprosima::fastdds::dds::parameter_enable_monitor_service
const char *const parameter_enable_monitor_service
Parameter property value for enabling the monitor service.
Definition ParameterTypes.hpp:1227
eprosima::fastdds::dds::parameter_policy_type_propagation
const char *const parameter_policy_type_propagation
Parameter property value for configuring type propagation.
Definition ParameterTypes.hpp:1234
eprosima::fastdds::dds::ParameterId_t
ParameterId_t
Enum for the unique parameter identifier.
Definition ParameterTypes.hpp:69
eprosima::fastdds::dds::parameter_property_persistence_guid
const std::string parameter_property_persistence_guid
Parameter property ID for persistence GUID.
Definition ParameterTypes.hpp:1178
eprosima::fastdds::dds::parameter_property_ds_version
const std::string parameter_property_ds_version
Parameter property ID for Discovery Server version.
Definition ParameterTypes.hpp:1192
eprosima::fastdds::dds::parameter_policy_physical_data_host
const char *const parameter_policy_physical_data_host
Parameter property value for Host physical data.
Definition ParameterTypes.hpp:1206
eprosima::fastdds::dds::parameter_property_current_ds_version
const std::string parameter_property_current_ds_version
Parameter property value for Discovery Server version.
Definition ParameterTypes.hpp:1199
eprosima::fastdds::dds::parameter_policy_physical_data_process
const char *const parameter_policy_physical_data_process
Parameter property value for Process physical data.
Definition ParameterTypes.hpp:1220
eprosima::fastdds::dds::parameter_serialize_optional_qos
const char *const parameter_serialize_optional_qos
Parameter property value for configuring serialization of optional QoS in Data(r/w).
Definition ParameterTypes.hpp:1241
eprosima::fastdds::dds::parameter_policy_physical_data_user
const char *const parameter_policy_physical_data_user
Parameter property value for User physical data.
Definition ParameterTypes.hpp:1213
eprosima::fastdds::dds::PID_TOPIC_NAME
@ PID_TOPIC_NAME
Definition ParameterTypes.hpp:74
eprosima::fastdds::dds::PID_SENTINEL
@ PID_SENTINEL
Definition ParameterTypes.hpp:72
eprosima::fastdds::dds::PID_TOPIC_DATA
@ PID_TOPIC_DATA
Definition ParameterTypes.hpp:77
eprosima::fastdds::dds::PID_GROUP_SEQ_NUM
@ PID_GROUP_SEQ_NUM
Definition ParameterTypes.hpp:124
eprosima::fastdds::dds::PID_PARTICIPANT_MANUAL_LIVELINESS_COUNT
@ PID_PARTICIPANT_MANUAL_LIVELINESS_COUNT
Definition ParameterTypes.hpp:105
eprosima::fastdds::dds::PID_DURABILITY_SERVICE
@ PID_DURABILITY_SERVICE
Definition ParameterTypes.hpp:79
eprosima::fastdds::dds::PID_UNICAST_LOCATOR
@ PID_UNICAST_LOCATOR
Definition ParameterTypes.hpp:98
eprosima::fastdds::dds::PID_LIVELINESS
@ PID_LIVELINESS
Definition ParameterTypes.hpp:82
eprosima::fastdds::dds::PID_OWNERSHIP
@ PID_OWNERSHIP
Definition ParameterTypes.hpp:88
eprosima::fastdds::dds::PID_EXPECTS_INLINE_QOS
@ PID_EXPECTS_INLINE_QOS
Definition ParameterTypes.hpp:104
eprosima::fastdds::dds::PID_COHERENT_SET
@ PID_COHERENT_SET
Definition ParameterTypes.hpp:120
eprosima::fastdds::dds::PID_LATENCY_BUDGET
@ PID_LATENCY_BUDGET
Definition ParameterTypes.hpp:81
eprosima::fastdds::dds::PID_RESOURCE_LIMITS
@ PID_RESOURCE_LIMITS
Definition ParameterTypes.hpp:87
eprosima::fastdds::dds::PID_GROUP_GUID
@ PID_GROUP_GUID
Definition ParameterTypes.hpp:109
eprosima::fastdds::dds::PID_TYPE_MAX_SIZE_SERIALIZED
@ PID_TYPE_MAX_SIZE_SERIALIZED
Definition ParameterTypes.hpp:114
eprosima::fastdds::dds::PID_SERVICE_INSTANCE_NAME
@ PID_SERVICE_INSTANCE_NAME
Definition ParameterTypes.hpp:163
eprosima::fastdds::dds::PID_DATASHARING
@ PID_DATASHARING
Definition ParameterTypes.hpp:173
eprosima::fastdds::dds::PID_PROTOCOL_VERSION
@ PID_PROTOCOL_VERSION
Definition ParameterTypes.hpp:96
eprosima::fastdds::dds::PID_RPC_MORE_REPLIES
@ PID_RPC_MORE_REPLIES
Definition ParameterTypes.hpp:189
eprosima::fastdds::dds::PID_READER_DATA_LIFECYCLE
@ PID_READER_DATA_LIFECYCLE
Definition ParameterTypes.hpp:183
eprosima::fastdds::dds::PID_BUILTIN_ENDPOINT_SET
@ PID_BUILTIN_ENDPOINT_SET
Definition ParameterTypes.hpp:111
eprosima::fastdds::dds::PID_PAD
@ PID_PAD
Definition ParameterTypes.hpp:71
eprosima::fastdds::dds::PID_WRITER_GROUP_INFO
@ PID_WRITER_GROUP_INFO
Definition ParameterTypes.hpp:125
eprosima::fastdds::dds::PID_READER_RESOURCE_LIMITS
@ PID_READER_RESOURCE_LIMITS
Definition ParameterTypes.hpp:185
eprosima::fastdds::dds::PID_PUBLISH_MODE
@ PID_PUBLISH_MODE
Definition ParameterTypes.hpp:179
eprosima::fastdds::dds::PID_RELIABILITY
@ PID_RELIABILITY
Definition ParameterTypes.hpp:83
eprosima::fastdds::dds::PID_VENDORID
@ PID_VENDORID
Definition ParameterTypes.hpp:97
eprosima::fastdds::dds::PID_PARTICIPANT_SECURITY_INFO
@ PID_PARTICIPANT_SECURITY_INFO
Definition ParameterTypes.hpp:151
eprosima::fastdds::dds::PID_CONTENT_FILTER_INFO
@ PID_CONTENT_FILTER_INFO
Definition ParameterTypes.hpp:119
eprosima::fastdds::dds::PID_TOPIC_ALIASES
@ PID_TOPIC_ALIASES
Definition ParameterTypes.hpp:165
eprosima::fastdds::dds::PID_DURABILITY
@ PID_DURABILITY
Definition ParameterTypes.hpp:78
eprosima::fastdds::dds::PID_METATRAFFIC_MULTICAST_LOCATOR
@ PID_METATRAFFIC_MULTICAST_LOCATOR
Definition ParameterTypes.hpp:103
eprosima::fastdds::dds::PID_PROPERTY_LIST
@ PID_PROPERTY_LIST
Definition ParameterTypes.hpp:113
eprosima::fastdds::dds::PID_USER_DATA
@ PID_USER_DATA
Definition ParameterTypes.hpp:73
eprosima::fastdds::dds::PID_DIRECTED_WRITE
@ PID_DIRECTED_WRITE
Definition ParameterTypes.hpp:121
eprosima::fastdds::dds::PID_ORIGINAL_WRITER_INFO
@ PID_ORIGINAL_WRITER_INFO
Definition ParameterTypes.hpp:122
eprosima::fastdds::dds::PID_BUILTIN_ENDPOINT_QOS
@ PID_BUILTIN_ENDPOINT_QOS
Definition ParameterTypes.hpp:112
eprosima::fastdds::dds::PID_DEFAULT_MULTICAST_LOCATOR
@ PID_DEFAULT_MULTICAST_LOCATOR
Definition ParameterTypes.hpp:101
eprosima::fastdds::dds::PID_DEADLINE
@ PID_DEADLINE
Definition ParameterTypes.hpp:80
eprosima::fastdds::dds::PID_RELATED_ENTITY_GUID
@ PID_RELATED_ENTITY_GUID
Definition ParameterTypes.hpp:164
eprosima::fastdds::dds::PID_WRITER_DATA_LIFECYCLE
@ PID_WRITER_DATA_LIFECYCLE
Definition ParameterTypes.hpp:178
eprosima::fastdds::dds::PID_TYPE_IDV1
@ PID_TYPE_IDV1
Definition ParameterTypes.hpp:142
eprosima::fastdds::dds::PID_IDENTITY_TOKEN
@ PID_IDENTITY_TOKEN
Definition ParameterTypes.hpp:149
eprosima::fastdds::dds::PID_PARTICIPANT_GUID
@ PID_PARTICIPANT_GUID
Definition ParameterTypes.hpp:108
eprosima::fastdds::dds::PID_TYPE_INFORMATION
@ PID_TYPE_INFORMATION
Definition ParameterTypes.hpp:146
eprosima::fastdds::dds::PID_IDENTITY_STATUS_TOKEN
@ PID_IDENTITY_STATUS_TOKEN
Definition ParameterTypes.hpp:157
eprosima::fastdds::dds::PID_DESTINATION_ORDER
@ PID_DESTINATION_ORDER
Definition ParameterTypes.hpp:85
eprosima::fastdds::dds::PID_MULTICAST_LOCATOR
@ PID_MULTICAST_LOCATOR
Definition ParameterTypes.hpp:99
eprosima::fastdds::dds::PID_GROUP_ENTITYID
@ PID_GROUP_ENTITYID
Definition ParameterTypes.hpp:110
eprosima::fastdds::dds::PID_KEY_HASH
@ PID_KEY_HASH
Definition ParameterTypes.hpp:127
eprosima::fastdds::dds::PID_PRESENTATION
@ PID_PRESENTATION
Definition ParameterTypes.hpp:90
eprosima::fastdds::dds::PID_RELATED_SAMPLE_IDENTITY
@ PID_RELATED_SAMPLE_IDENTITY
Definition ParameterTypes.hpp:166
eprosima::fastdds::dds::PID_NETWORK_CONFIGURATION_SET
@ PID_NETWORK_CONFIGURATION_SET
Definition ParameterTypes.hpp:174
eprosima::fastdds::dds::PID_LIFESPAN
@ PID_LIFESPAN
Definition ParameterTypes.hpp:84
eprosima::fastdds::dds::PID_DISABLE_POSITIVE_ACKS
@ PID_DISABLE_POSITIVE_ACKS
Definition ParameterTypes.hpp:172
eprosima::fastdds::dds::PID_TYPE_CONSISTENCY_ENFORCEMENT
@ PID_TYPE_CONSISTENCY_ENFORCEMENT
Definition ParameterTypes.hpp:145
eprosima::fastdds::dds::PID_RTPS_RELIABLE_WRITER
@ PID_RTPS_RELIABLE_WRITER
Definition ParameterTypes.hpp:180
eprosima::fastdds::dds::PID_CUSTOM_RELATED_SAMPLE_IDENTITY
@ PID_CUSTOM_RELATED_SAMPLE_IDENTITY
Definition ParameterTypes.hpp:175
eprosima::fastdds::dds::PID_OWNERSHIP_STRENGTH
@ PID_OWNERSHIP_STRENGTH
Definition ParameterTypes.hpp:89
eprosima::fastdds::dds::PID_WRITER_RESOURCE_LIMITS
@ PID_WRITER_RESOURCE_LIMITS
Definition ParameterTypes.hpp:181
eprosima::fastdds::dds::PID_ENDPOINT_GUID
@ PID_ENDPOINT_GUID
Definition ParameterTypes.hpp:116
eprosima::fastdds::dds::PID_PARTITION
@ PID_PARTITION
Definition ParameterTypes.hpp:91
eprosima::fastdds::dds::PID_DATA_TAGS
@ PID_DATA_TAGS
Definition ParameterTypes.hpp:160
eprosima::fastdds::dds::PID_ENTITY_NAME
@ PID_ENTITY_NAME
Definition ParameterTypes.hpp:115
eprosima::fastdds::dds::PID_DEFAULT_UNICAST_LOCATOR
@ PID_DEFAULT_UNICAST_LOCATOR
Definition ParameterTypes.hpp:100
eprosima::fastdds::dds::PID_TRANSPORT_PRIORITY
@ PID_TRANSPORT_PRIORITY
Definition ParameterTypes.hpp:93
eprosima::fastdds::dds::PID_METATRAFFIC_UNICAST_LOCATOR
@ PID_METATRAFFIC_UNICAST_LOCATOR
Definition ParameterTypes.hpp:102
eprosima::fastdds::dds::PID_PARTICIPANT_LEASE_DURATION
@ PID_PARTICIPANT_LEASE_DURATION
Definition ParameterTypes.hpp:106
eprosima::fastdds::dds::PID_CONTENT_FILTER_PROPERTY
@ PID_CONTENT_FILTER_PROPERTY
Definition ParameterTypes.hpp:107
eprosima::fastdds::dds::PID_STATUS_INFO
@ PID_STATUS_INFO
Definition ParameterTypes.hpp:128
eprosima::fastdds::dds::PID_TIME_BASED_FILTER
@ PID_TIME_BASED_FILTER
Definition ParameterTypes.hpp:92
eprosima::fastdds::dds::PID_GROUP_COHERENT_SET
@ PID_GROUP_COHERENT_SET
Definition ParameterTypes.hpp:123
eprosima::fastdds::dds::PID_GROUP_DATA
@ PID_GROUP_DATA
Definition ParameterTypes.hpp:76
eprosima::fastdds::dds::PID_WIREPROTOCOL_CONFIG
@ PID_WIREPROTOCOL_CONFIG
Definition ParameterTypes.hpp:187
eprosima::fastdds::dds::PID_PRODUCT_VERSION
@ PID_PRODUCT_VERSION
Definition ParameterTypes.hpp:169
eprosima::fastdds::dds::PID_ENDPOINT_SECURITY_INFO
@ PID_ENDPOINT_SECURITY_INFO
Definition ParameterTypes.hpp:154
eprosima::fastdds::dds::PID_RTPS_RELIABLE_READER
@ PID_RTPS_RELIABLE_READER
Definition ParameterTypes.hpp:184
eprosima::fastdds::dds::PID_RTPS_ENDPOINT
@ PID_RTPS_ENDPOINT
Definition ParameterTypes.hpp:176
eprosima::fastdds::dds::PID_SECURE_WRITER_GROUP_INFO
@ PID_SECURE_WRITER_GROUP_INFO
Definition ParameterTypes.hpp:126
eprosima::fastdds::dds::PID_HISTORY
@ PID_HISTORY
Definition ParameterTypes.hpp:86
eprosima::fastdds::dds::PID_TYPE_OBJECTV1
@ PID_TYPE_OBJECTV1
Definition ParameterTypes.hpp:143
eprosima::fastdds::dds::PID_DOMAIN_ID
@ PID_DOMAIN_ID
Definition ParameterTypes.hpp:94
eprosima::fastdds::dds::PID_PERSISTENCE_GUID
@ PID_PERSISTENCE_GUID
Definition ParameterTypes.hpp:170
eprosima::fastdds::dds::PID_DOMAIN_TAG
@ PID_DOMAIN_TAG
Definition ParameterTypes.hpp:95
eprosima::fastdds::dds::PID_MACHINE_ID
@ PID_MACHINE_ID
Definition ParameterTypes.hpp:171
eprosima::fastdds::dds::PID_PERMISSIONS_TOKEN
@ PID_PERMISSIONS_TOKEN
Definition ParameterTypes.hpp:150
eprosima::fastdds::dds::PID_DATA_REPRESENTATION
@ PID_DATA_REPRESENTATION
Definition ParameterTypes.hpp:144
eprosima::fastdds::dds::PID_TYPE_NAME
@ PID_TYPE_NAME
Definition ParameterTypes.hpp:75
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::DOMAIN_ID_UNKNOWN
const DomainId_t DOMAIN_ID_UNKNOWN
Definition Types.hpp:26
eprosima::fastdds::dds::set_proxy_property
void set_proxy_property(const T &p, const char *PID, PL &properties)
Definition ParameterTypes.hpp:1865
eprosima::fastdds::dds::get_proxy_property
T get_proxy_property(const char *const PID, PL &properties)
Definition ParameterTypes.hpp:1906
eprosima::fastdds::rtps::security
Definition EndpointSecurityAttributes.hpp:26
eprosima::fastdds::rtps::security::PluginEndpointSecurityAttributesMask
uint32_t PluginEndpointSecurityAttributesMask
Definition EndpointSecurityAttributes.hpp:28
eprosima::fastdds::rtps::security::EndpointSecurityAttributesMask
uint32_t EndpointSecurityAttributesMask
Definition EndpointSecurityAttributes.hpp:63
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::BuiltinEndpointSet_t
uint32_t BuiltinEndpointSet_t
Definition Types.hpp:87
eprosima::fastdds::rtps::ParameterNetworkConfigSet_t
fastdds::dds::ParameterNetworkConfigSet_t ParameterNetworkConfigSet_t
Definition ParameterTypes.hpp:1951
eprosima::fastdds::rtps::ParameterProtocolVersion_t
fastdds::dds::ParameterProtocolVersion_t ParameterProtocolVersion_t
Definition ParameterTypes.hpp:1941
eprosima::fastdds::rtps::octet
unsigned char octet
Definition Types.hpp:83
eprosima::fastdds::rtps::ParameterGuid_t
fastdds::dds::ParameterGuid_t ParameterGuid_t
Definition ParameterTypes.hpp:1939
eprosima::fastdds::rtps::ParameterTime_t
fastdds::dds::ParameterTime_t ParameterTime_t
Definition ParameterTypes.hpp:1949
eprosima::fastdds::rtps::ParameterIP4Address_t
fastdds::dds::ParameterIP4Address_t ParameterIP4Address_t
Definition ParameterTypes.hpp:1944
eprosima::fastdds::rtps::ParameterStatusInfo_t
fastdds::dds::ParameterStatusInfo_t ParameterStatusInfo_t
Definition ParameterTypes.hpp:1946
eprosima::fastdds::rtps::ParameterLocator_t
fastdds::dds::ParameterLocator_t ParameterLocator_t
Definition ParameterTypes.hpp:1936
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::rtps::ParameterId_t
fastdds::dds::ParameterId_t ParameterId_t
Definition ParameterTypes.hpp:1933
eprosima::fastdds::rtps::ParameterDomainId_t
fastdds::dds::ParameterDomainId_t ParameterDomainId_t
Definition ParameterTypes.hpp:1940
eprosima::fastdds::rtps::Count_t
uint32_t Count_t
Definition Types.hpp:89
eprosima::fastdds::rtps::ParameterBool_t
fastdds::dds::ParameterBool_t ParameterBool_t
Definition ParameterTypes.hpp:1945
eprosima::fastdds::rtps::c_ProtocolVersion
const ProtocolVersion_t c_ProtocolVersion
Definition Types.hpp:159
eprosima::fastdds::rtps::ParameterKey_t
fastdds::dds::ParameterKey_t ParameterKey_t
Definition ParameterTypes.hpp:1935
eprosima::fastdds::rtps::Parameter_t
fastdds::dds::Parameter_t Parameter_t
Definition ParameterTypes.hpp:1934
eprosima::fastdds::rtps::ParameterProductVersion_t
fastdds::dds::ParameterProductVersion_t ParameterProductVersion_t
Definition ParameterTypes.hpp:1943
eprosima::fastdds::rtps::iHandle2GUID
void iHandle2GUID(GUID_t &guid, const InstanceHandle_t &ihandle) noexcept
Convert InstanceHandle_t to GUID.
Definition InstanceHandle.hpp:249
eprosima::fastdds::rtps::ParameterPort_t
fastdds::dds::ParameterPort_t ParameterPort_t
Definition ParameterTypes.hpp:1938
eprosima::fastdds::rtps::ParameterCount_t
fastdds::dds::ParameterCount_t ParameterCount_t
Definition ParameterTypes.hpp:1947
eprosima::fastdds::rtps::NetworkConfigSet_t
uint32_t NetworkConfigSet_t
Definition Types.hpp:88
eprosima::fastdds::rtps::ParameterVendorId_t
fastdds::dds::ParameterVendorId_t ParameterVendorId_t
Definition ParameterTypes.hpp:1942
eprosima::fastdds::rtps::ParameterString_t
fastdds::dds::ParameterString_t ParameterString_t
Definition ParameterTypes.hpp:1937
eprosima::fastdds::rtps::ParameterBuiltinEndpointSet_t
fastdds::dds::ParameterBuiltinEndpointSet_t ParameterBuiltinEndpointSet_t
Definition ParameterTypes.hpp:1950
eprosima::fastdds::rtps::Locator
eprosima::fastdds::rtps::Locator_t Locator
Definition Locator.hpp:523
eprosima::fastdds::rtps::ParameterEntityId_t
fastdds::dds::ParameterEntityId_t ParameterEntityId_t
Definition ParameterTypes.hpp:1948
eprosima::fastdds::rtps::ParameterSampleIdentity_t
fastdds::dds::ParameterSampleIdentity_t ParameterSampleIdentity_t
Definition ParameterTypes.hpp:1953
eprosima::fastdds::rtps::ParameterPropertyList_t
fastdds::dds::ParameterPropertyList_t ParameterPropertyList_t
Definition ParameterTypes.hpp:1952
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::CDRMessage_t
Structure CDRMessage_t, contains a serialized message.
Definition CDRMessage_t.hpp:51
eprosima::fastdds::rtps::EntityId_t
Structure EntityId_t, entity id part of GUID_t.
Definition EntityId_t.hpp:77
eprosima::fastdds::rtps::GUID_t
Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
Definition Guid.hpp:40
eprosima::fastdds::rtps::InstanceHandle_t
Struct InstanceHandle_t, used to contain the key for WITH_KEY topics.
Definition InstanceHandle.hpp:154
eprosima::fastdds::rtps::ProductVersion_t
Definition ProductVersion_t.hpp:31
eprosima::fastdds::rtps::ProtocolVersion_t
Structure ProtocolVersion_t, contains the protocol version.
Definition Types.hpp:104
eprosima::fastdds::rtps::SerializedPayload_t
Structure SerializedPayload_t.
Definition SerializedPayload.hpp:59
eprosima::fastdds::rtps::SerializedPayload_t::max_size
uint32_t max_size
Maximum size of the payload.
Definition SerializedPayload.hpp:70
eprosima::fastdds::rtps::SerializedPayload_t::length
uint32_t length
Actual length of the data.
Definition SerializedPayload.hpp:66