Function ros_trace_rclcpp_subscription_init

Function Documentation

void ros_trace_rclcpp_subscription_init(const void *subscription_handle, const void *subscription)

rclcpp_subscription_init

Subscription object initialisation. Links the rclcpp::*Subscription* object to a rcl_subscription_t handle. Needed since there could be more than 1 rclcpp::*Subscription* object for one rcl subscription (e.g. when using intra-process).

Parameters:
  • subscription_handle[in] pointer to the rcl_subscription_t handle of the subscription this object belongs to

  • subscription[in] pointer to this subscription object (e.g. rclcpp::*Subscription*)