publish shared_ptr of rcl_serialized_message (#541)
* publish shared_ptr of rcl_serialized_message * const parameter
This commit is contained in:
parent
25a9b4e339
commit
354d933870
1 changed files with 6 additions and 0 deletions
|
@ -289,6 +289,12 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
publish(std::shared_ptr<const rcl_serialized_message_t> serialized_msg)
|
||||||
|
{
|
||||||
|
return this->publish(serialized_msg.get());
|
||||||
|
}
|
||||||
|
|
||||||
std::shared_ptr<MessageAlloc> get_allocator() const
|
std::shared_ptr<MessageAlloc> get_allocator() const
|
||||||
{
|
{
|
||||||
return message_allocator_;
|
return message_allocator_;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue