Skip to content

Resolve "Process symbols to make them more readable"

Closes #4 (closed)

Depends on !6 (merged)

This removes redundant or useless information from symbol strings so that they're shorter and easier to read.

Example, using the examples_rclcpp_minimal_subscriber package:

  1. member function (subscriber_member_function):
  • original: std::_Bind<void (MinimalSubscriber::*(MinimalSubscriber*, std::_Placeholder<1>))(std::shared_ptr<std_msgs::msg::String_<std::allocator<void> > >) const>
  • processed: void (MinimalSubscriber::?)(std::shared_ptr<std_msgs::msg::String>) const
  1. lambda (subscriber_lambda):
  • original: MinimalSubscriber::MinimalSubscriber()::{lambda(std::unique_ptr<std_msgs::msg::String_<std::allocator<void> >, std::default_delete<std_msgs::msg::String_<std::allocator<void> > > >)#1}
  • processed: MinimalSubscriber::MinimalSubscriber()::{lambda(std::unique_ptr<std_msgs::msg::String>)#1}
  1. function (subscriber_not_composable, adding target_link_libraries(subscriber_not_composable -rdynamic)):
  • original: topic_callback(std::shared_ptr<std_msgs::msg::String_<std::allocator<void> > >)
  • processed: topic_callback(std::shared_ptr<std_msgs::msg::String>)

For member functions, I'm using ? to convey that the method name isn't known (yet).

Lambdas

Edited by Christophe Bédard

Merge request reports