Skip to content

Commit

Permalink
Regenerate types with Fast DDS-Gen v3.3.1 (#5427)
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenioCollado authored Nov 28, 2024
1 parent 48a8776 commit 42b8b95
Show file tree
Hide file tree
Showing 56 changed files with 968 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ bool AdvancedConfigurationPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/Configurability/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/CustomListenerExample/TopicPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool TopicPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool CustomPayloadPoolDataPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloMsgPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/DisablePositiveACKs/TopicPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool TopicPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/Filtering/FilteringExamplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool FilteringExamplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/dds/FlowControlExample/FlowControlExample.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class FlowControlExample

private:

std::array<char, 600000> m_message;
std::array<char, 600000> m_message{0};
char m_wasFast{0};

};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool FlowControlExamplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/HelloWorldExample/HelloWorldPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/dds/HelloWorldExampleSharedMem/HelloWorld.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class HelloWorld

uint32_t m_index{0};
std::string m_message;
std::array<char, 1024*1024> m_data;
std::array<char, 1024*1024> m_data{0};

};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/HistoryKind/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/Keys/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/LateJoiners/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/LifespanQoSExample/LifespanPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool LifespanPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/LivelinessQoS/TopicPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool TopicPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool ExampleMessagePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
10 changes: 10 additions & 0 deletions examples/cpp/dds/RequestReplyExample/CalculatorPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool RequestTypePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down Expand Up @@ -273,6 +278,11 @@ bool ReplyTypePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class RequestTypePubSubType : public eprosima::fastdds::dds::TopicDataType
#ifdef TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
eProsima_user_DllExport inline bool is_bounded() const override
{
return false;
return true;
}

#endif // TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
5 changes: 5 additions & 0 deletions examples/cpp/dds/SampleConfig_Events/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool samplePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool LoanableHelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool LoanableHelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
Loading

0 comments on commit 42b8b95

Please sign in to comment.