Skip to content

publish shared_ptr of rcl_serialized_message#541

Merged
Karsten1987 merged 2 commits intomasterfrom
fix_532
Aug 24, 2018
Merged

publish shared_ptr of rcl_serialized_message#541
Karsten1987 merged 2 commits intomasterfrom
fix_532

Conversation

@Karsten1987
Copy link
Copy Markdown
Contributor

fixes #532

@Karsten1987 Karsten1987 added the in review Waiting for review (Kanban column) label Aug 24, 2018
@Karsten1987 Karsten1987 self-assigned this Aug 24, 2018
}

void
publish(std::shared_ptr<rcl_serialized_message_t> serialized_msg)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should the parameter be const to avoid modification?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done in 7e5b416

@Karsten1987 Karsten1987 merged commit 354d933 into master Aug 24, 2018
@Karsten1987 Karsten1987 deleted the fix_532 branch August 24, 2018 19:34
@Karsten1987 Karsten1987 removed the in review Waiting for review (Kanban column) label Aug 24, 2018
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
…ore shutdown (ros2#541)

fix ros2#540 
* if cache data exists, it needs to flush the data into the storage before shutdown.
* cache_ needs to reset after writing to storage.
* add reset_cache() method.

Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
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.

Remove asymmetry in subscribing/publishing serialized messages

2 participants