Skip to content

Commit 7359136

Browse files
committed
Add Shared and WeakPtr attributed to controller interface base
1 parent 1a5a1ad commit 7359136

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

controller_interface/include/controller_interface/controller_interface_base.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,10 @@ class ControllerInterfaceBase : public rclcpp_lifecycle::node_interfaces::Lifecy
366366

367367
protected:
368368
pal_statistics::RegistrationsRAII stats_registrations_;
369+
370+
public:
371+
using SharedPtr = std::shared_ptr<ControllerInterfaceBase>;
372+
using WeakPtr = std::weak_ptr<ControllerInterfaceBase>;
369373
};
370374

371375
using ControllerInterfaceBaseSharedPtr = std::shared_ptr<ControllerInterfaceBase>;

0 commit comments

Comments
 (0)