Define RCLCPP_SMART_PTR_ALIASES_ONLY

Define Documentation

RCLCPP_SMART_PTR_ALIASES_ONLY(...)

Defines aliases only for using the Class with smart pointers.

Same as RCLCPP_SMART_PTR_DEFINITIONS except it excludes the static method definitions which do not work on pure virtual classes and classes which are not CopyConstructable.

Use in the public section of the class. Make sure to include <memory> in the header when using this.