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

[20590] Feature: topic keys with non breaking ABI (iron backport) #4

Merged
merged 26 commits into from
Mar 6, 2024

Conversation

Mario-DL
Copy link
Member

Backport from #2 to vulcanexus-iron

…ods for supporting keys

Signed-off-by: Mario Dominguez <[email protected]>
…called from outside in headers

Signed-off-by: Mario Dominguez <[email protected]>
…ate_members_for_cdr_serialize

Signed-off-by: Mario Dominguez <[email protected]>
…ate_members_for_get_serialized_size

Signed-off-by: Mario Dominguez <[email protected]>
…ate_members_for_max_serialized_size

Signed-off-by: Mario Dominguez <[email protected]>
…alize_key and cdr_deserialize_key methods that are not going to be used nor exported if the type do not have keys

Signed-off-by: Mario Dominguez <[email protected]>
…e called from outside in headers

Signed-off-by: Mario Dominguez <[email protected]>
…erate_members_for_cdr_serialize. Also, generate proxy methods only when the type has a key

Signed-off-by: Mario Dominguez <[email protected]>
…erate_members_for_get_serialized_size adn proxy

Signed-off-by: Mario Dominguez <[email protected]>
…erate_members_for_max_serialized_size and proxy

Signed-off-by: Mario Dominguez <[email protected]>
@MiguelCompany MiguelCompany changed the title [20310] Feature: topic keys with non breaking ABI (iron backport) [20590] Feature: topic keys with non breaking ABI (iron backport) Mar 5, 2024
Signed-off-by: Mario Dominguez <[email protected]>
@MiguelCompany MiguelCompany merged commit 7092633 into vulcanexus-iron Mar 6, 2024
1 check passed
@MiguelCompany MiguelCompany deleted the feature/iron/no-abi-break-keys branch March 6, 2024 10:18
Mario-DL added a commit that referenced this pull request Mar 7, 2024
* Refs #20156: Initial infraestructure for get_key_type_support() api method

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20156: Return either true or false depending if the msg has keys

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20156: Update message_type_support_key_callbacks_t structure

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20156: Implement rosidl_typesupport_fastrtps_c generator methods for supporting keys

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20156: Implement rosidl_typesupport_fastrtps_cpp generator methods for supporting keys

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20310: Define v2 ABI identifier

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20310: Replace get_key_type_support() with a raw pointer to the structure

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: Clean unsued old methods

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: set _key as suffix in get_serialized and calculate_max_serialized

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: export key methods to be called from outside in headers

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: source file forward declarations

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: generator refactor: generate_members_for_cdr_serialize

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: generator refactor: generate_members_for_get_serialized_size

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: generator refactor: generate_members_for_max_serialized_size

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: update suffix in __key_callback structure

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_c: avoid generating cdr_serialize_key and cdr_deserialize_key methods that are not going to be used nor exported if the type do not have keys

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: export key methods to be called from outside in headers

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: source file forward declarations

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: generator refactor: generate_members_for_cdr_serialize. Also, generate proxy methods only when the type has a key

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: generator refactor: generate_members_for_get_serialized_size adn proxy

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: generator refactor: generate_members_for_max_serialized_size and proxy

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: dummy cdr_deserialize_key method and proxy

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20151: rosidl_typesupport_fastrtps_cpp: update suffix in __key_callback structure

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20310: Review 2 suggestions on rosidl_typesupport_fastrtps_cpp

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20310: Review 2 suggestions on rosidl_typesupport_fastrtps_c

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20310: NIT

Signed-off-by: Mario Dominguez <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants