Class Plugin

Inheritance Relationships

Base Type

  • public qt_gui_cpp::Plugin

Class Documentation

class Plugin : public qt_gui_cpp::Plugin

The base class for C++ plugins which use the ROS client library. A plugin must not call rclcpp::init() as this is performed once by the framework.

Public Functions

inline Plugin()
inline virtual void shutdownPlugin()

Shutdown and clean up the plugin before unloading. I.e. unregister subscribers and stop timers.

inline virtual void passInNode(std::shared_ptr<rclcpp::Node> node)

Protected Attributes

rclcpp::Node::SharedPtr node_