Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21560] Regenerate types with Fast DDS-Gen v3.3.1 #5427

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading