Skip to content

Commit

Permalink
Regenerate types with Gen v4.0.1 (#5223)
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso authored Sep 12, 2024
1 parent 35dbc4b commit f910007
Show file tree
Hide file tree
Showing 14 changed files with 250 additions and 203 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ class TypeLookup_getTypes_Result
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_result.~TypeLookup_getTypes_Out();};
new(&m_result) TypeLookup_getTypes_Out();
;

}

return m_result;
Expand Down Expand Up @@ -1263,7 +1263,7 @@ class TypeLookup_getTypeDependencies_Result
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_result.~TypeLookup_getTypeDependencies_Out();};
new(&m_result) TypeLookup_getTypeDependencies_Out();
;

}

return m_result;
Expand Down Expand Up @@ -1613,7 +1613,7 @@ class TypeLookup_Call
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_getTypes.~TypeLookup_getTypes_In();};
new(&m_getTypes) TypeLookup_getTypes_In();
;

}

return m_getTypes;
Expand All @@ -1631,7 +1631,7 @@ class TypeLookup_Call
selected_member_ = 0x00000002;
member_destructor_ = [&]() {m_getTypeDependencies.~TypeLookup_getTypeDependencies_In();};
new(&m_getTypeDependencies) TypeLookup_getTypeDependencies_In();
;

}

return m_getTypeDependencies;
Expand Down Expand Up @@ -2162,7 +2162,7 @@ class TypeLookup_Return
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_getType.~TypeLookup_getTypes_Result();};
new(&m_getType) TypeLookup_getTypes_Result();
;

}

return m_getType;
Expand All @@ -2180,7 +2180,7 @@ class TypeLookup_Return
selected_member_ = 0x00000002;
member_destructor_ = [&]() {m_getTypeDependencies.~TypeLookup_getTypeDependencies_Result();};
new(&m_getTypeDependencies) TypeLookup_getTypeDependencies_Result();
;

}

return m_getTypeDependencies;
Expand Down
18 changes: 9 additions & 9 deletions src/cpp/statistics/types/monitorservice_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ class MonitorServiceData
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_entity_proxy.~vector();};
new(&m_entity_proxy) std::vector<uint8_t>();
;

}

return m_entity_proxy;
Expand All @@ -2125,7 +2125,7 @@ class MonitorServiceData
selected_member_ = 0x00000002;
member_destructor_ = [&]() {m_connection_list.~vector();};
new(&m_connection_list) std::vector<Connection>();
;

}

return m_connection_list;
Expand All @@ -2143,7 +2143,7 @@ class MonitorServiceData
selected_member_ = 0x00000003;
member_destructor_ = [&]() {m_incompatible_qos_status.~IncompatibleQoSStatus_s();};
new(&m_incompatible_qos_status) IncompatibleQoSStatus_s();
;

}

return m_incompatible_qos_status;
Expand All @@ -2161,7 +2161,7 @@ class MonitorServiceData
selected_member_ = 0x00000004;
member_destructor_ = [&]() {m_inconsistent_topic_status.~InconsistentTopicStatus_s();};
new(&m_inconsistent_topic_status) InconsistentTopicStatus_s();
;

}

return m_inconsistent_topic_status;
Expand All @@ -2179,7 +2179,7 @@ class MonitorServiceData
selected_member_ = 0x00000005;
member_destructor_ = [&]() {m_liveliness_lost_status.~LivelinessLostStatus_s();};
new(&m_liveliness_lost_status) LivelinessLostStatus_s();
;

}

return m_liveliness_lost_status;
Expand All @@ -2197,7 +2197,7 @@ class MonitorServiceData
selected_member_ = 0x00000006;
member_destructor_ = [&]() {m_liveliness_changed_status.~LivelinessChangedStatus_s();};
new(&m_liveliness_changed_status) LivelinessChangedStatus_s();
;

}

return m_liveliness_changed_status;
Expand All @@ -2215,7 +2215,7 @@ class MonitorServiceData
selected_member_ = 0x00000007;
member_destructor_ = [&]() {m_deadline_missed_status.~DeadlineMissedStatus_s();};
new(&m_deadline_missed_status) DeadlineMissedStatus_s();
;

}

return m_deadline_missed_status;
Expand All @@ -2233,7 +2233,7 @@ class MonitorServiceData
selected_member_ = 0x00000008;
member_destructor_ = [&]() {m_sample_lost_status.~SampleLostStatus_s();};
new(&m_sample_lost_status) SampleLostStatus_s();
;

}

return m_sample_lost_status;
Expand All @@ -2251,7 +2251,7 @@ class MonitorServiceData
selected_member_ = 0x00000009;
member_destructor_ = nullptr;
m_statuses_size = {0};
;

}

return m_statuses_size;
Expand Down
16 changes: 8 additions & 8 deletions src/cpp/statistics/types/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3767,7 +3767,7 @@ class Data
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_writer_reader_data.~WriterReaderData();};
new(&m_writer_reader_data) WriterReaderData();
;

}

return m_writer_reader_data;
Expand All @@ -3785,7 +3785,7 @@ class Data
selected_member_ = 0x00000002;
member_destructor_ = [&]() {m_locator2locator_data.~Locator2LocatorData();};
new(&m_locator2locator_data) Locator2LocatorData();
;

}

return m_locator2locator_data;
Expand All @@ -3803,7 +3803,7 @@ class Data
selected_member_ = 0x00000003;
member_destructor_ = [&]() {m_entity_data.~EntityData();};
new(&m_entity_data) EntityData();
;

}

return m_entity_data;
Expand All @@ -3821,7 +3821,7 @@ class Data
selected_member_ = 0x00000004;
member_destructor_ = [&]() {m_entity2locator_traffic.~Entity2LocatorTraffic();};
new(&m_entity2locator_traffic) Entity2LocatorTraffic();
;

}

return m_entity2locator_traffic;
Expand All @@ -3839,7 +3839,7 @@ class Data
selected_member_ = 0x00000005;
member_destructor_ = [&]() {m_entity_count.~EntityCount();};
new(&m_entity_count) EntityCount();
;

}

return m_entity_count;
Expand All @@ -3857,7 +3857,7 @@ class Data
selected_member_ = 0x00000006;
member_destructor_ = [&]() {m_discovery_time.~DiscoveryTime();};
new(&m_discovery_time) DiscoveryTime();
;

}

return m_discovery_time;
Expand All @@ -3875,7 +3875,7 @@ class Data
selected_member_ = 0x00000007;
member_destructor_ = [&]() {m_sample_identity_count.~SampleIdentityCount();};
new(&m_sample_identity_count) SampleIdentityCount();
;

}

return m_sample_identity_count;
Expand All @@ -3893,7 +3893,7 @@ class Data
selected_member_ = 0x00000008;
member_destructor_ = [&]() {m_physical_data.~PhysicalData();};
new(&m_physical_data) PhysicalData();
;

}

return m_physical_data;
Expand Down
15 changes: 9 additions & 6 deletions test/blackbox/types/core/core_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4102,7 +4102,10 @@ class Submessage
*/
eProsima_user_DllExport Submessage()
{
unknown_submsg_();
selected_member_ = 0x00000005;
member_destructor_ = [&]() {m_unknown_submsg.~SubmessageHeader();};
new(&m_unknown_submsg) SubmessageHeader();

}

/*!
Expand Down Expand Up @@ -4652,7 +4655,7 @@ class Submessage
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_heartbeat_submsg.~HeartBeatSubmessage();};
new(&m_heartbeat_submsg) HeartBeatSubmessage();
;

}

return m_heartbeat_submsg;
Expand All @@ -4670,7 +4673,7 @@ class Submessage
selected_member_ = 0x00000002;
member_destructor_ = [&]() {m_info_ts_submsg.~InfoTimestampSubmessage();};
new(&m_info_ts_submsg) InfoTimestampSubmessage();
;

}

return m_info_ts_submsg;
Expand All @@ -4688,7 +4691,7 @@ class Submessage
selected_member_ = 0x00000003;
member_destructor_ = [&]() {m_info_src_submsg.~InfoSourceSubmessage();};
new(&m_info_src_submsg) InfoSourceSubmessage();
;

}

return m_info_src_submsg;
Expand All @@ -4706,7 +4709,7 @@ class Submessage
selected_member_ = 0x00000004;
member_destructor_ = [&]() {m_info_dst_submsg.~InfoDestinationSubmessage();};
new(&m_info_dst_submsg) InfoDestinationSubmessage();
;

}

return m_info_dst_submsg;
Expand All @@ -4724,7 +4727,7 @@ class Submessage
selected_member_ = 0x00000005;
member_destructor_ = [&]() {m_unknown_submsg.~SubmessageHeader();};
new(&m_unknown_submsg) SubmessageHeader();
;

}

return m_unknown_submsg;
Expand Down
18 changes: 9 additions & 9 deletions test/blackbox/types/statistics/monitorservice_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ class MonitorServiceData
selected_member_ = 0x00000001;
member_destructor_ = [&]() {m_entity_proxy.~vector();};
new(&m_entity_proxy) std::vector<uint8_t>();
;

}

return m_entity_proxy;
Expand All @@ -2125,7 +2125,7 @@ class MonitorServiceData
selected_member_ = 0x00000002;
member_destructor_ = [&]() {m_connection_list.~vector();};
new(&m_connection_list) std::vector<Connection>();
;

}

return m_connection_list;
Expand All @@ -2143,7 +2143,7 @@ class MonitorServiceData
selected_member_ = 0x00000003;
member_destructor_ = [&]() {m_incompatible_qos_status.~IncompatibleQoSStatus_s();};
new(&m_incompatible_qos_status) IncompatibleQoSStatus_s();
;

}

return m_incompatible_qos_status;
Expand All @@ -2161,7 +2161,7 @@ class MonitorServiceData
selected_member_ = 0x00000004;
member_destructor_ = [&]() {m_inconsistent_topic_status.~InconsistentTopicStatus_s();};
new(&m_inconsistent_topic_status) InconsistentTopicStatus_s();
;

}

return m_inconsistent_topic_status;
Expand All @@ -2179,7 +2179,7 @@ class MonitorServiceData
selected_member_ = 0x00000005;
member_destructor_ = [&]() {m_liveliness_lost_status.~LivelinessLostStatus_s();};
new(&m_liveliness_lost_status) LivelinessLostStatus_s();
;

}

return m_liveliness_lost_status;
Expand All @@ -2197,7 +2197,7 @@ class MonitorServiceData
selected_member_ = 0x00000006;
member_destructor_ = [&]() {m_liveliness_changed_status.~LivelinessChangedStatus_s();};
new(&m_liveliness_changed_status) LivelinessChangedStatus_s();
;

}

return m_liveliness_changed_status;
Expand All @@ -2215,7 +2215,7 @@ class MonitorServiceData
selected_member_ = 0x00000007;
member_destructor_ = [&]() {m_deadline_missed_status.~DeadlineMissedStatus_s();};
new(&m_deadline_missed_status) DeadlineMissedStatus_s();
;

}

return m_deadline_missed_status;
Expand All @@ -2233,7 +2233,7 @@ class MonitorServiceData
selected_member_ = 0x00000008;
member_destructor_ = [&]() {m_sample_lost_status.~SampleLostStatus_s();};
new(&m_sample_lost_status) SampleLostStatus_s();
;

}

return m_sample_lost_status;
Expand All @@ -2251,7 +2251,7 @@ class MonitorServiceData
selected_member_ = 0x00000009;
member_destructor_ = nullptr;
m_statuses_size = {0};
;

}

return m_statuses_size;
Expand Down
Loading

0 comments on commit f910007

Please sign in to comment.