Skip to content

Commit

Permalink
Refs #21044. Regeneration of code
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed May 30, 2024
1 parent 8c96c69 commit d752219
Show file tree
Hide file tree
Showing 72 changed files with 815 additions and 1,724 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool AdvancedConfigurationPubSubType::getKey(

void AdvancedConfigurationPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_AdvancedConfiguration_type_identifier(type_ids);
register_AdvancedConfiguration_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/Configurability/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/CustomListenerExample/TopicPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool TopicPubSubType::getKey(

void TopicPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_Topic_type_identifier(type_ids);
register_Topic_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool CustomPayloadPoolDataPubSubType::getKey(

void CustomPayloadPoolDataPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_CustomPayloadPoolData_type_identifier(type_ids);
register_CustomPayloadPoolData_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloMsgPubSubType::getKey(

void HelloMsgPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloMsg_type_identifier(type_ids);
register_HelloMsg_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/DisablePositiveACKs/TopicPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool TopicPubSubType::getKey(

void TopicPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_Topic_type_identifier(type_ids);
register_Topic_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/Filtering/FilteringExamplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool FilteringExamplePubSubType::getKey(

void FilteringExamplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_FilteringExample_type_identifier(type_ids);
register_FilteringExample_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool FlowControlExamplePubSubType::getKey(

void FlowControlExamplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_FlowControlExample_type_identifier(type_ids);
register_FlowControlExample_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/HistoryKind/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/Keys/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/LateJoiners/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/LifespanQoSExample/LifespanPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool LifespanPubSubType::getKey(

void LifespanPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_Lifespan_type_identifier(type_ids);
register_Lifespan_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/LivelinessQoS/TopicPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool TopicPubSubType::getKey(

void TopicPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_Topic_type_identifier(type_ids);
register_Topic_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool ExampleMessagePubSubType::getKey(

void ExampleMessagePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_ExampleMessage_type_identifier(type_ids);
register_ExampleMessage_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool RequestTypePubSubType::getKey(

void RequestTypePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_RequestType_type_identifier(type_ids);
register_RequestType_type_identifier(type_identifiers_);
}

ReplyTypePubSubType::ReplyTypePubSubType()
Expand Down Expand Up @@ -415,8 +414,7 @@ bool ReplyTypePubSubType::getKey(

void ReplyTypePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_ReplyType_type_identifier(type_ids);
register_ReplyType_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/dds/SampleConfig_Events/samplePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool samplePubSubType::getKey(

void samplePubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_sample_type_identifier(type_ids);
register_sample_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool LoanableHelloWorldPubSubType::getKey(

void LoanableHelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_LoanableHelloWorld_type_identifier(type_ids);
register_LoanableHelloWorld_type_identifier(type_identifiers_);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool LoanableHelloWorldPubSubType::getKey(

void LoanableHelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_LoanableHelloWorld_type_identifier(type_ids);
register_LoanableHelloWorld_type_identifier(type_identifiers_);
}


Expand Down
3 changes: 1 addition & 2 deletions examples/cpp/hello_world/HelloWorldPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ bool HelloWorldPubSubType::getKey(

void HelloWorldPubSubType::register_type_object_representation()
{
eprosima::fastdds::dds::xtypes::TypeIdentifierPair type_ids;
register_HelloWorld_type_identifier(type_ids);
register_HelloWorld_type_identifier(type_identifiers_);
}


Expand Down
32 changes: 5 additions & 27 deletions include/fastdds/dds/topic/TopicDataType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,35 +204,13 @@ class TopicDataType
}

/**
* Get the type information
* Get the type identifiers
*
* @return @ref xtypes::TypeInformation
* @return @ref xtypes::TypeIdentifierPair
*/
FASTDDS_EXPORTED_API inline const xtypes::TypeInformation& type_information() const
FASTDDS_EXPORTED_API inline const xtypes::TypeIdentifierPair& type_identifiers() const
{
return type_information_;
}

/**
* Set type information
*
* @param info @ref xtypes::TypeInformation
*/
FASTDDS_EXPORTED_API inline void type_information(
const xtypes::TypeInformation& info)
{
type_information_ = info;
}

/**
* Set type information
*
* @param info @ref xtypes::TypeInformation
*/
FASTDDS_EXPORTED_API inline void type_information(
xtypes::TypeInformation&& info)
{
type_information_ = std::move(info);
return type_identifiers_;
}

/**
Expand Down Expand Up @@ -290,7 +268,7 @@ class TopicDataType

protected:

xtypes::TypeInformation type_information_;
xtypes::TypeIdentifierPair type_identifiers_;

private:

Expand Down
2 changes: 1 addition & 1 deletion include/fastdds/dds/topic/TypeSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class TypeSupport : public std::shared_ptr<TopicDataType>
return get()->m_typeSize == type_support->m_typeSize
&& get()->m_isGetKeyDefined == type_support->m_isGetKeyDefined
&& get()->m_topicDataTypeName == type_support->m_topicDataTypeName
&& get()->type_information() == type_support->type_information();
&& get()->type_identifiers_ == type_support->type_identifiers_;
}

/**
Expand Down
4 changes: 0 additions & 4 deletions include/fastdds/rtps/attributes/TopicAttributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class TopicAttributes
: topicKind(rtps::NO_KEY)
, topicName("UNDEF")
, topicDataType("UNDEF")
, auto_fill_type_information(true)
{
}

Expand All @@ -56,7 +55,6 @@ class TopicAttributes
topicKind = tKind;
topicName = name;
topicDataType = dataType;
auto_fill_type_information = true;
}

virtual ~TopicAttributes()
Expand Down Expand Up @@ -115,8 +113,6 @@ class TopicAttributes
TypeObjectV1 type;
//!XTYPES 1.2
xtypes::TypeInformationParameter type_information;
//!Tries to complete type information (TypeObjectV2)
bool auto_fill_type_information;

/**
* Method to check whether the defined QOS are correct.
Expand Down
Loading

0 comments on commit d752219

Please sign in to comment.