Define RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE

Define Documentation

RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(...)

Defines aliases and static functions for using the Class with smart pointers.

Same as RCLCPP_SMART_PTR_DEFINITIONS except it excludes the static Class::make_unique() method definition which does not work on classes which are not CopyConstructable.

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