Fast DDS  Version 3.6.1.0
Fast DDS
Loading...
Searching...
No Matches
dds_xtypes_typeobjectPubSubTypes.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
21
22
23#ifndef FAST_DDS_GENERATED__DDS_XTYPES_TYPEOBJECT_PUBSUBTYPES_HPP
24#define FAST_DDS_GENERATED__DDS_XTYPES_TYPEOBJECT_PUBSUBTYPES_HPP
25
26#include <mutex>
27
28#include <fastdds/dds/core/policy/QosPolicies.hpp>
29#include <fastdds/dds/topic/TopicDataType.hpp>
30#include <fastdds/rtps/common/InstanceHandle.hpp>
31#include <fastdds/rtps/common/SerializedPayload.hpp>
32#include <fastdds/utils/md5.hpp>
33
34#include "dds_xtypes_typeobject.hpp"
35
36
37#if !defined(FASTDDS_GEN_API_VER) || (FASTDDS_GEN_API_VER != 3)
38#error \
39 Generated dds_xtypes_typeobject is not compatible with current installed Fast DDS. Please, regenerate it with fastddsgen.
40#endif // FASTDDS_GEN_API_VER
41
42namespace eprosima {
43
44namespace fastdds {
45
46namespace dds {
47
48
49namespace xtypes {
50
51
52typedef uint8_t EquivalenceKind;
53typedef uint8_t TypeKind;
54typedef uint8_t TypeIdentiferKind;
55typedef eprosima::fastcdr::fixed_string<MEMBER_NAME_MAX_LENGTH> MemberName;
56typedef eprosima::fastcdr::fixed_string<TYPE_NAME_MAX_LENGTH> QualifiedTypeName;
57typedef uint8_t PrimitiveTypeId;
58typedef std::array<uint8_t, 14> EquivalenceHash;
59typedef std::array<uint8_t, 4> NameHash;
60typedef uint32_t LBound;
61typedef std::vector<eprosima::fastdds::dds::xtypes::LBound> LBoundSeq;
62typedef uint8_t SBound;
63typedef std::vector<eprosima::fastdds::dds::xtypes::SBound> SBoundSeq;
81
82#ifndef SWIG
83namespace detail {
84
85template<typename Tag, typename Tag::type M>
87{
88 friend constexpr typename Tag::type get(
89 Tag)
90 {
91 return M;
92 }
93
94};
95
102
104
105template <typename T, typename Tag>
106inline size_t constexpr StringSTypeDefn_offset_of()
107{
108 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
109}
110
111} // namespace detail
112#endif // ifndef SWIG
113
114
115
116
117#ifndef SWIG
118namespace detail {
119
120template<typename Tag, typename Tag::type M>
122{
123 friend constexpr typename Tag::type get(
124 Tag)
125 {
126 return M;
127 }
128
129};
130
137
139
140template <typename T, typename Tag>
141inline size_t constexpr StringLTypeDefn_offset_of()
142{
143 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
144}
145
146} // namespace detail
147#endif // ifndef SWIG
148
149
150
151typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifier> TypeIdentifierSeq;
152typedef uint32_t MemberId;
153typedef std::vector<eprosima::fastdds::dds::xtypes::AppliedAnnotationParameter> AppliedAnnotationParameterSeq;
154typedef std::vector<eprosima::fastdds::dds::xtypes::AppliedAnnotation> AppliedAnnotationSeq;
155
156#ifndef SWIG
157namespace detail {
158
159template<typename Tag, typename Tag::type M>
161{
162 friend constexpr typename Tag::type get(
163 Tag)
164 {
165 return M;
166 }
167
168};
169
176
178
179template <typename T, typename Tag>
180inline size_t constexpr MinimalMemberDetail_offset_of()
181{
182 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
183}
184
185} // namespace detail
186#endif // ifndef SWIG
187
188
189
190typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteStructMember> CompleteStructMemberSeq;
191typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalStructMember> MinimalStructMemberSeq;
192typedef std::vector<int32_t> UnionCaseLabelSeq;
193typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteUnionMember> CompleteUnionMemberSeq;
194typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalUnionMember> MinimalUnionMemberSeq;
195typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteAnnotationParameter> CompleteAnnotationParameterSeq;
196typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalAnnotationParameter> MinimalAnnotationParameterSeq;
197
198#ifndef SWIG
199namespace detail {
200
201template<typename Tag, typename Tag::type M>
203{
204 friend constexpr typename Tag::type get(
205 Tag)
206 {
207 return M;
208 }
209
210};
211
218
220
221template <typename T, typename Tag>
222inline size_t constexpr CommonCollectionHeader_offset_of()
223{
224 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
225}
226
227} // namespace detail
228#endif // ifndef SWIG
229
230
231
232typedef uint16_t BitBound;
233typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteEnumeratedLiteral> CompleteEnumeratedLiteralSeq;
234typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalEnumeratedLiteral> MinimalEnumeratedLiteralSeq;
235
236#ifndef SWIG
237namespace detail {
238
239template<typename Tag, typename Tag::type M>
241{
242 friend constexpr typename Tag::type get(
243 Tag)
244 {
245 return M;
246 }
247
248};
249
256
258
259template <typename T, typename Tag>
260inline size_t constexpr CommonEnumeratedHeader_offset_of()
261{
262 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
263}
264
265} // namespace detail
266#endif // ifndef SWIG
267
268
269
270typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteBitflag> CompleteBitflagSeq;
271typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalBitflag> MinimalBitflagSeq;
272
273#ifndef SWIG
274namespace detail {
275
276template<typename Tag, typename Tag::type M>
278{
279 friend constexpr typename Tag::type get(
280 Tag)
281 {
282 return M;
283 }
284
285};
286
293
295
296template <typename T, typename Tag>
297inline size_t constexpr CommonBitmaskHeader_offset_of()
298{
299 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
300}
301
302} // namespace detail
303#endif // ifndef SWIG
304
305
306
309typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteBitfield> CompleteBitfieldSeq;
310typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalBitfield> MinimalBitfieldSeq;
311typedef std::vector<eprosima::fastdds::dds::xtypes::TypeObject> TypeObjectSeq;
313typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifierTypeObjectPair> TypeIdentifierTypeObjectPairSeq;
314typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifierPair> TypeIdentifierPairSeq;
315typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentfierWithSize> TypeIdentfierWithSizeSeq;
316typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifierWithDependencies> TypeIdentifierWithDependenciesSeq;
317typedef std::vector<eprosima::fastdds::dds::xtypes::TypeInformation> TypeInformationSeq;
318
319} // namespace xtypes
320
321
322} // namespace dds
323
324} // namespace fastdds
325
326} // namespace eprosima
327
328
329#endif // FAST_DDS_GENERATED__DDS_XTYPES_TYPEOBJECT_PUBSUBTYPES_HPP
330
This class represents the structure CommonBitmaskHeader defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:18804
This class represents the structure CommonCollectionHeader defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:14506
This class represents the structure CommonEnumeratedHeader defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:17380
This class represents the structure CompleteEnumeratedHeader defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:17503
This class represents the structure MinimalEnumeratedHeader defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:17683
This class represents the structure MinimalMemberDetail defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:7541
This class represents the structure StringLTypeDefn defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:620
This class represents the structure StringSTypeDefn defined by the user in the IDL file.
Definition dds_xtypes_typeobject.hpp:497
Definition Condition.hpp:34
Definition dds_xtypes_typeobjectPubSubTypes.hpp:83
size_t constexpr StringSTypeDefn_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:106
size_t constexpr MinimalMemberDetail_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:180
size_t constexpr CommonBitmaskHeader_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:297
size_t constexpr CommonEnumeratedHeader_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:260
size_t constexpr StringLTypeDefn_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:141
size_t constexpr CommonCollectionHeader_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:222
Definition QosPolicies.hpp:2489
MemberFlag BitsetMemberFlag
Definition dds_xtypes_typeobject.hpp:457
std::vector< MinimalBitfield > MinimalBitfieldSeq
Definition dds_xtypes_typeobject.hpp:19986
MemberFlag CollectionElementFlag
Definition dds_xtypes_typeobject.hpp:441
std::vector< TypeObject > TypeObjectSeq
Definition dds_xtypes_typeobject.hpp:23842
std::vector< TypeIdentifierWithDependencies > TypeIdentifierWithDependenciesSeq
Definition dds_xtypes_typeobject.hpp:24599
std::vector< CompleteUnionMember > CompleteUnionMemberSeq
Definition dds_xtypes_typeobject.hpp:9748
std::vector< AppliedAnnotation > AppliedAnnotationSeq
Definition dds_xtypes_typeobject.hpp:6589
std::vector< TypeIdentifierPair > TypeIdentifierPairSeq
Definition dds_xtypes_typeobject.hpp:24208
TypeFlag BitsetTypeFlag
Definition dds_xtypes_typeobject.hpp:487
std::vector< CompleteEnumeratedLiteral > CompleteEnumeratedLiteralSeq
Definition dds_xtypes_typeobject.hpp:17191
TypeFlag CollectionTypeFlag
Definition dds_xtypes_typeobject.hpp:477
std::vector< MinimalStructMember > MinimalStructMemberSeq
Definition dds_xtypes_typeobject.hpp:8031
TypeFlag EnumTypeFlag
Definition dds_xtypes_typeobject.hpp:483
std::vector< LBound > LBoundSeq
Definition dds_xtypes_typeobject.hpp:134
std::vector< MinimalEnumeratedLiteral > MinimalEnumeratedLiteralSeq
Definition dds_xtypes_typeobject.hpp:17373
uint32_t LBound
Definition dds_xtypes_typeobject.hpp:132
eprosima::fastcdr::fixed_string< TYPE_NAME_MAX_LENGTH > QualifiedTypeName
Definition dds_xtypes_typeobject.hpp:124
MemberFlag EnumeratedLiteralFlag
Definition dds_xtypes_typeobject.hpp:449
TypeFlag AliasTypeFlag
Definition dds_xtypes_typeobject.hpp:481
MemberFlag UnionDiscriminatorFlag
Definition dds_xtypes_typeobject.hpp:447
uint8_t EquivalenceKind
Definition dds_xtypes_typeobject.hpp:72
TypeFlag UnionTypeFlag
Definition dds_xtypes_typeobject.hpp:475
std::vector< MinimalUnionMember > MinimalUnionMemberSeq
Definition dds_xtypes_typeobject.hpp:9930
std::vector< SBound > SBoundSeq
Definition dds_xtypes_typeobject.hpp:139
TypeFlag StructTypeFlag
Definition dds_xtypes_typeobject.hpp:473
std::vector< TypeIdentfierWithSize > TypeIdentfierWithSizeSeq
Definition dds_xtypes_typeobject.hpp:24380
std::vector< AppliedAnnotationParameter > AppliedAnnotationParameterSeq
Definition dds_xtypes_typeobject.hpp:6407
eprosima::fastcdr::fixed_string< MEMBER_NAME_MAX_LENGTH > MemberName
Definition dds_xtypes_typeobject.hpp:121
std::vector< TypeIdentifier > TypeIdentifierSeq
Definition dds_xtypes_typeobject.hpp:4235
std::vector< MinimalAnnotationParameter > MinimalAnnotationParameterSeq
Definition dds_xtypes_typeobject.hpp:11922
std::vector< MinimalBitflag > MinimalBitflagSeq
Definition dds_xtypes_typeobject.hpp:18797
std::array< uint8_t, 4 > NameHash
Definition dds_xtypes_typeobject.hpp:130
MemberFlag StructMemberFlag
Definition dds_xtypes_typeobject.hpp:443
std::array< uint8_t, 14 > EquivalenceHash
Definition dds_xtypes_typeobject.hpp:128
std::vector< CompleteBitfield > CompleteBitfieldSeq
Definition dds_xtypes_typeobject.hpp:19804
TypeFlag BitmaskTypeFlag
Definition dds_xtypes_typeobject.hpp:485
MinimalEnumeratedHeader MinimalBitmaskHeader
Definition dds_xtypes_typeobject.hpp:18924
MemberFlag UnionMemberFlag
Definition dds_xtypes_typeobject.hpp:445
TypeFlag AnnotationTypeFlag
Definition dds_xtypes_typeobject.hpp:479
std::vector< TypeIdentifierTypeObjectPair > TypeIdentifierTypeObjectPairSeq
Definition dds_xtypes_typeobject.hpp:24026
uint16_t BitBound
Definition dds_xtypes_typeobject.hpp:16839
MemberFlag AliasMemberFlag
Definition dds_xtypes_typeobject.hpp:453
uint8_t TypeIdentiferKind
Definition dds_xtypes_typeobject.hpp:107
uint8_t PrimitiveTypeId
Definition dds_xtypes_typeobject.hpp:126
std::vector< TypeInformation > TypeInformationSeq
Definition dds_xtypes_typeobject.hpp:24781
std::vector< CompleteBitflag > CompleteBitflagSeq
Definition dds_xtypes_typeobject.hpp:18615
std::vector< CompleteAnnotationParameter > CompleteAnnotationParameterSeq
Definition dds_xtypes_typeobject.hpp:11693
MemberFlag BitflagFlag
Definition dds_xtypes_typeobject.hpp:455
uint16_t MemberFlag
Definition dds_xtypes_typeobject.hpp:440
MemberFlag AnnotationParameterFlag
Definition dds_xtypes_typeobject.hpp:451
uint16_t TypeFlag
Definition dds_xtypes_typeobject.hpp:472
CompleteEnumeratedHeader CompleteBitmaskHeader
Definition dds_xtypes_typeobject.hpp:18922
TypeObjectSeq StronglyConnectedComponent
Definition dds_xtypes_typeobject.hpp:23844
std::vector< CompleteStructMember > CompleteStructMemberSeq
Definition dds_xtypes_typeobject.hpp:7849
uint8_t TypeKind
Definition dds_xtypes_typeobject.hpp:77
uint8_t SBound
Definition dds_xtypes_typeobject.hpp:137
Definition BuiltinTopicKey.hpp:26
uint32_t MemberId
Definition dynamic_language_binding.hpp:122
std::vector< int32_t > UnionCaseLabelSeq
Definition dynamic_language_binding.hpp:124
eProsima namespace.
Definition dds_xtypes_typeobjectPubSubTypes.hpp:288
eprosima::fastdds::dds::xtypes::BitBound CommonBitmaskHeader::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:289
friend constexpr type get(CommonBitmaskHeader_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:278
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:279
Definition dds_xtypes_typeobjectPubSubTypes.hpp:213
eprosima::fastdds::dds::xtypes::LBound CommonCollectionHeader::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:214
friend constexpr type get(CommonCollectionHeader_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:203
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:204
Definition dds_xtypes_typeobjectPubSubTypes.hpp:251
friend constexpr type get(CommonEnumeratedHeader_f)
eprosima::fastdds::dds::xtypes::BitBound CommonEnumeratedHeader::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:252
Definition dds_xtypes_typeobjectPubSubTypes.hpp:241
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:242
Definition dds_xtypes_typeobjectPubSubTypes.hpp:171
eprosima::fastdds::dds::xtypes::NameHash MinimalMemberDetail::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:172
friend constexpr type get(MinimalMemberDetail_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:161
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:162
Definition dds_xtypes_typeobjectPubSubTypes.hpp:132
friend constexpr type get(StringLTypeDefn_f)
eprosima::fastdds::dds::xtypes::LBound StringLTypeDefn::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:133
Definition dds_xtypes_typeobjectPubSubTypes.hpp:122
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:123
Definition dds_xtypes_typeobjectPubSubTypes.hpp:97
eprosima::fastdds::dds::xtypes::SBound StringSTypeDefn::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:98
friend constexpr type get(StringSTypeDefn_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:87
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:88