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

initial import for lifecycle subscriber #292

Closed
wants to merge 1 commit into from

Conversation

Karsten1987
Copy link
Contributor

@wjwwood initial import for lifecycle_subscriber and the respective fixes for the subscription factory.

This is work in progress.

@Karsten1987 Karsten1987 added the in progress Actively being worked on (Kanban column) label Dec 15, 2016
@Karsten1987 Karsten1987 self-assigned this Dec 15, 2016
Copy link
Contributor Author

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It compiles, but segfaults with the first callback with invalid allocator

@@ -77,8 +77,7 @@ create_subscription_factory(
AnySubscriptionCallback<MessageT, Alloc> any_subscription_callback(allocator);
any_subscription_callback.set(std::forward<CallbackT>(callback));

auto message_alloc =
std::make_shared<typename subscription::Subscription<MessageT, Alloc>::MessageAlloc>();
auto message_alloc = std::make_shared<typename subscription::Subscription<MessageT, Alloc>::MessageAlloc>();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we have to create a SubscriptionT allocator here

@dirk-thomas dirk-thomas removed the in progress Actively being worked on (Kanban column) label Feb 7, 2017
@mikaelarguedas
Copy link
Member

@Karsten1987 what is the status of this ? Should this stay stale or be closed ?

@Karsten1987
Copy link
Contributor Author

The status is as mentioned in the above comment. This commit compiles, but segfaults. I'll have to debug this in purpose with @wjwwood.
We can put this into the backlog tho.

@mikaelarguedas mikaelarguedas added the ready Work is about to start (Kanban column) label Aug 2, 2017
@mikaelarguedas mikaelarguedas removed the ready Work is about to start (Kanban column) label Aug 23, 2017
@ivanpauno
Copy link
Member

Closing because this has stayed stale too long.
@Karsten1987 if you think that anything should happen here feel free to reopen, open a new PR or a new issue.

@ivanpauno ivanpauno closed this Oct 8, 2020
@clalancette clalancette deleted the lifecycle_subscriber branch January 15, 2021 16:32
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
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.

4 participants