Fix subscription instrumentation for ConstSharedPtr[WithInfo]Callback (#1872)
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
parent
a8baa3ce88
commit
7e1740a52b
1 changed files with 10 additions and 0 deletions
|
@ -246,6 +246,16 @@ public:
|
||||||
rclcpp_callback_register,
|
rclcpp_callback_register,
|
||||||
(const void *)this,
|
(const void *)this,
|
||||||
get_symbol(shared_ptr_with_info_callback_));
|
get_symbol(shared_ptr_with_info_callback_));
|
||||||
|
} else if (const_shared_ptr_callback_) {
|
||||||
|
TRACEPOINT(
|
||||||
|
rclcpp_callback_register,
|
||||||
|
(const void *)this,
|
||||||
|
get_symbol(const_shared_ptr_callback_));
|
||||||
|
} else if (const_shared_ptr_with_info_callback_) {
|
||||||
|
TRACEPOINT(
|
||||||
|
rclcpp_callback_register,
|
||||||
|
(const void *)this,
|
||||||
|
get_symbol(const_shared_ptr_with_info_callback_));
|
||||||
} else if (unique_ptr_callback_) {
|
} else if (unique_ptr_callback_) {
|
||||||
TRACEPOINT(
|
TRACEPOINT(
|
||||||
rclcpp_callback_register,
|
rclcpp_callback_register,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue