-
Notifications
You must be signed in to change notification settings - Fork 688
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
Dynamic Subscription (REP-2011 subset): BONUS: Allocator Refactor #1405
Comments
This was referenced Apr 7, 2023
This was referenced Apr 10, 2023
After discussion, the future work here is as follows:
What I'll suggest is that after we get the first two items done, we close out this issue and open a new one to track the remaining work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
No long detailed description this time, unfortunately...
This issue describes and lists the relevant PRs that build on top of the PRs in #1374 with non-essential, bonus changes for ease of review and decoupling.
The base PRs should be prioritized.
The PRs in #1374 assumed that most of the objects being introduced can only live on the heap, but this wave of PRs allows those objects to be created on the stack and then initialized.
The changes here are namely refactors across the entire stack for function signatures to take in allocators, and splitting of
create()
functions intoinit()
andcreate()
(likewise for destroy intofini()
anddestroy()
.)That is, splitting the steps of:
And similarly for destruction:
NOTE
These changes will be occurring mostly in the rmw and rosidl layers
Relevant PRs
Dynamic Subscription (BONUS: Allocators): rclcpp rclcpp#2160TODOs
I might not get all of them, but wow am I going to try:
(Note: Edits in each lower level struct will need changes propagated upwards, but the higher level structs are what users are more likely to interact with.)
Dynamic Type Support Impls (Do these even make sense to take allocators? 🤔 I don't think I will support them)rosidl_dynamic_typesupport_serialization_support_impl_trosidl_dynamic_typesupport_dynamic_type_impl_trosidl_dynamic_typesupport_dynamic_type_builder_impl_trosidl_dynamic_typesupport_dynamic_data_impl_trclcpp (I'm not even going to think about this one yet)The text was updated successfully, but these errors were encountered: