Fast DDS  Version 3.3.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 <fastdds/dds/core/policy/QosPolicies.hpp>
27#include <fastdds/dds/topic/TopicDataType.hpp>
28#include <fastdds/rtps/common/InstanceHandle.hpp>
29#include <fastdds/rtps/common/SerializedPayload.hpp>
30#include <fastdds/utils/md5.hpp>
31
32#include "dds_xtypes_typeobject.hpp"
33
34
35#if !defined(FASTDDS_GEN_API_VER) || (FASTDDS_GEN_API_VER != 3)
36#error \
37 Generated dds_xtypes_typeobject is not compatible with current installed Fast DDS. Please, regenerate it with fastddsgen.
38#endif // FASTDDS_GEN_API_VER
39
40namespace eprosima {
41
42namespace fastdds {
43
44namespace dds {
45
46
47namespace xtypes {
48
49
50typedef uint8_t EquivalenceKind;
51typedef uint8_t TypeKind;
52typedef uint8_t TypeIdentiferKind;
53typedef eprosima::fastcdr::fixed_string<MEMBER_NAME_MAX_LENGTH> MemberName;
54typedef eprosima::fastcdr::fixed_string<TYPE_NAME_MAX_LENGTH> QualifiedTypeName;
55typedef uint8_t PrimitiveTypeId;
56typedef std::array<uint8_t, 14> EquivalenceHash;
57typedef std::array<uint8_t, 4> NameHash;
58typedef uint32_t LBound;
59typedef std::vector<eprosima::fastdds::dds::xtypes::LBound> LBoundSeq;
60typedef uint8_t SBound;
61typedef std::vector<eprosima::fastdds::dds::xtypes::SBound> SBoundSeq;
79
80#ifndef SWIG
81namespace detail {
82
83template<typename Tag, typename Tag::type M>
85{
86 friend constexpr typename Tag::type get(
87 Tag)
88 {
89 return M;
90 }
91
92};
93
100
102
103template <typename T, typename Tag>
104inline size_t constexpr StringSTypeDefn_offset_of()
105{
106 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
107}
108
109} // namespace detail
110#endif // ifndef SWIG
111
112
113
114
115#ifndef SWIG
116namespace detail {
117
118template<typename Tag, typename Tag::type M>
120{
121 friend constexpr typename Tag::type get(
122 Tag)
123 {
124 return M;
125 }
126
127};
128
135
137
138template <typename T, typename Tag>
139inline size_t constexpr StringLTypeDefn_offset_of()
140{
141 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
142}
143
144} // namespace detail
145#endif // ifndef SWIG
146
147
148
149typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifier> TypeIdentifierSeq;
150typedef uint32_t MemberId;
151typedef std::vector<eprosima::fastdds::dds::xtypes::AppliedAnnotationParameter> AppliedAnnotationParameterSeq;
152typedef std::vector<eprosima::fastdds::dds::xtypes::AppliedAnnotation> AppliedAnnotationSeq;
153
154#ifndef SWIG
155namespace detail {
156
157template<typename Tag, typename Tag::type M>
159{
160 friend constexpr typename Tag::type get(
161 Tag)
162 {
163 return M;
164 }
165
166};
167
174
176
177template <typename T, typename Tag>
178inline size_t constexpr MinimalMemberDetail_offset_of()
179{
180 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
181}
182
183} // namespace detail
184#endif // ifndef SWIG
185
186
187
188typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteStructMember> CompleteStructMemberSeq;
189typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalStructMember> MinimalStructMemberSeq;
190typedef std::vector<int32_t> UnionCaseLabelSeq;
191typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteUnionMember> CompleteUnionMemberSeq;
192typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalUnionMember> MinimalUnionMemberSeq;
193typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteAnnotationParameter> CompleteAnnotationParameterSeq;
194typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalAnnotationParameter> MinimalAnnotationParameterSeq;
195
196#ifndef SWIG
197namespace detail {
198
199template<typename Tag, typename Tag::type M>
201{
202 friend constexpr typename Tag::type get(
203 Tag)
204 {
205 return M;
206 }
207
208};
209
216
218
219template <typename T, typename Tag>
220inline size_t constexpr CommonCollectionHeader_offset_of()
221{
222 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
223}
224
225} // namespace detail
226#endif // ifndef SWIG
227
228
229
230typedef uint16_t BitBound;
231typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteEnumeratedLiteral> CompleteEnumeratedLiteralSeq;
232typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalEnumeratedLiteral> MinimalEnumeratedLiteralSeq;
233
234#ifndef SWIG
235namespace detail {
236
237template<typename Tag, typename Tag::type M>
239{
240 friend constexpr typename Tag::type get(
241 Tag)
242 {
243 return M;
244 }
245
246};
247
254
256
257template <typename T, typename Tag>
258inline size_t constexpr CommonEnumeratedHeader_offset_of()
259{
260 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
261}
262
263} // namespace detail
264#endif // ifndef SWIG
265
266
267
268typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteBitflag> CompleteBitflagSeq;
269typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalBitflag> MinimalBitflagSeq;
270
271#ifndef SWIG
272namespace detail {
273
274template<typename Tag, typename Tag::type M>
276{
277 friend constexpr typename Tag::type get(
278 Tag)
279 {
280 return M;
281 }
282
283};
284
291
293
294template <typename T, typename Tag>
295inline size_t constexpr CommonBitmaskHeader_offset_of()
296{
297 return ((::size_t) &reinterpret_cast<char const volatile&>((((T*)0)->*get(Tag()))));
298}
299
300} // namespace detail
301#endif // ifndef SWIG
302
303
304
307typedef std::vector<eprosima::fastdds::dds::xtypes::CompleteBitfield> CompleteBitfieldSeq;
308typedef std::vector<eprosima::fastdds::dds::xtypes::MinimalBitfield> MinimalBitfieldSeq;
309typedef std::vector<eprosima::fastdds::dds::xtypes::TypeObject> TypeObjectSeq;
311typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifierTypeObjectPair> TypeIdentifierTypeObjectPairSeq;
312typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifierPair> TypeIdentifierPairSeq;
313typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentfierWithSize> TypeIdentfierWithSizeSeq;
314typedef std::vector<eprosima::fastdds::dds::xtypes::TypeIdentifierWithDependencies> TypeIdentifierWithDependenciesSeq;
315typedef std::vector<eprosima::fastdds::dds::xtypes::TypeInformation> TypeInformationSeq;
316
317} // namespace xtypes
318
319
320} // namespace dds
321
322} // namespace fastdds
323
324} // namespace eprosima
325
326
327#endif // FAST_DDS_GENERATED__DDS_XTYPES_TYPEOBJECT_PUBSUBTYPES_HPP
328
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:81
size_t constexpr StringSTypeDefn_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:104
size_t constexpr MinimalMemberDetail_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:178
size_t constexpr CommonBitmaskHeader_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:295
size_t constexpr CommonEnumeratedHeader_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:258
size_t constexpr StringLTypeDefn_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:139
size_t constexpr CommonCollectionHeader_offset_of()
Definition dds_xtypes_typeobjectPubSubTypes.hpp:220
Definition QosPolicies.hpp:2491
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:286
eprosima::fastdds::dds::xtypes::BitBound CommonBitmaskHeader::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:287
friend constexpr type get(CommonBitmaskHeader_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:276
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:277
Definition dds_xtypes_typeobjectPubSubTypes.hpp:211
eprosima::fastdds::dds::xtypes::LBound CommonCollectionHeader::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:212
friend constexpr type get(CommonCollectionHeader_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:201
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:202
Definition dds_xtypes_typeobjectPubSubTypes.hpp:249
friend constexpr type get(CommonEnumeratedHeader_f)
eprosima::fastdds::dds::xtypes::BitBound CommonEnumeratedHeader::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:250
Definition dds_xtypes_typeobjectPubSubTypes.hpp:239
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:240
Definition dds_xtypes_typeobjectPubSubTypes.hpp:169
eprosima::fastdds::dds::xtypes::NameHash MinimalMemberDetail::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:170
friend constexpr type get(MinimalMemberDetail_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:159
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:160
Definition dds_xtypes_typeobjectPubSubTypes.hpp:130
friend constexpr type get(StringLTypeDefn_f)
eprosima::fastdds::dds::xtypes::LBound StringLTypeDefn::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:131
Definition dds_xtypes_typeobjectPubSubTypes.hpp:120
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:121
Definition dds_xtypes_typeobjectPubSubTypes.hpp:95
eprosima::fastdds::dds::xtypes::SBound StringSTypeDefn::* type
Definition dds_xtypes_typeobjectPubSubTypes.hpp:96
friend constexpr type get(StringSTypeDefn_f)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:85
friend constexpr Tag::type get(Tag)
Definition dds_xtypes_typeobjectPubSubTypes.hpp:86