Skip to content

Commit

Permalink
Refs #21222. Regenerated code
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware committed Jun 27, 2024
1 parent 31a309a commit 6a917af
Show file tree
Hide file tree
Showing 14 changed files with 806 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1308,9 +1308,9 @@ class DummyPubSubType : public eprosima::fastdds::dds::TopicDataType
}

eProsima_user_DllExport inline bool is_plain(
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
{
if(data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
if (data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
{
return is_plain_xcdrv2_impl();
}
Expand All @@ -1332,7 +1332,7 @@ class DummyPubSubType : public eprosima::fastdds::dds::TopicDataType

#endif // TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE

MD5 m_md5;
eprosima::fastdds::MD5 m_md5;
unsigned char* m_keyBuffer;

private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class EntityId_tPubSubType : public eprosima::fastdds::dds::TopicDataType
eProsima_user_DllExport inline bool is_plain(
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
{
if(data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
if (data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
{
return is_plain_xcdrv2_impl();
}
Expand Down Expand Up @@ -295,7 +295,7 @@ class GUID_tPubSubType : public eprosima::fastdds::dds::TopicDataType
eProsima_user_DllExport inline bool is_plain(
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
{
if(data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
if (data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
{
return is_plain_xcdrv2_impl();
}
Expand Down Expand Up @@ -441,7 +441,7 @@ class SequenceNumber_tPubSubType : public eprosima::fastdds::dds::TopicDataType
eProsima_user_DllExport inline bool is_plain(
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
{
if(data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
if (data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
{
return is_plain_xcdrv2_impl();
}
Expand Down Expand Up @@ -587,7 +587,7 @@ class SampleIdentityPubSubType : public eprosima::fastdds::dds::TopicDataType
eProsima_user_DllExport inline bool is_plain(
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
{
if(data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
if (data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
{
return is_plain_xcdrv2_impl();
}
Expand Down Expand Up @@ -831,7 +831,7 @@ namespace rpc
eProsima_user_DllExport inline bool is_plain(
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
{
if(data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
if (data_representation == eprosima::fastdds::dds::DataRepresentationId_t::XCDR2_DATA_REPRESENTATION)
{
return is_plain_xcdrv2_impl();
}
Expand Down
6 changes: 3 additions & 3 deletions test/blackbox/types/core/core_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4592,7 +4592,7 @@ class Submessage
const SubmessageHeader& _unknown_submsg)
{
unknown_submsg_() = _unknown_submsg;
m__d = 1;
m__d = 127;
}

/*!
Expand All @@ -4603,7 +4603,7 @@ class Submessage
SubmessageHeader&& _unknown_submsg)
{
unknown_submsg_() = _unknown_submsg;
m__d = 1;
m__d = 127;
}

/*!
Expand Down Expand Up @@ -4731,7 +4731,7 @@ class Submessage
}


char m__d {1};
char m__d {127};

union
{
Expand Down
4 changes: 2 additions & 2 deletions test/dds-types-test/declarations.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class ForwardUnion
}


int32_t m__d {2};
int32_t m__d {2147483647};

union
{
Expand Down Expand Up @@ -1761,7 +1761,7 @@ class ModuledForwardUnion
}


int32_t m__d {2};
int32_t m__d {2147483647};

union
{
Expand Down
4 changes: 2 additions & 2 deletions test/dds-types-test/external.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3762,7 +3762,7 @@ class recursive_union
}


uint8_t m__d {0};
uint8_t m__d {127};

union
{
Expand Down Expand Up @@ -4380,7 +4380,7 @@ class recursive_structure_container
}


uint8_t m__d {0};
uint8_t m__d {127};

union
{
Expand Down
4 changes: 2 additions & 2 deletions test/dds-types-test/helpers/basic_inner_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ class InnerUnionHelper
int16_t _shortValue)
{
shortValue_() = _shortValue;
m__d = 2;
m__d = 2147483647;
}

/*!
Expand Down Expand Up @@ -762,7 +762,7 @@ class InnerUnionHelper
}


int32_t m__d {2};
int32_t m__d {2147483647};

union
{
Expand Down
Loading

0 comments on commit 6a917af

Please sign in to comment.