File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,11 @@ using PreShutdownCallbackHandle = ShutdownCallbackHandle;
6565// / Context which encapsulates shared state between nodes and other similar entities.
6666/* *
6767 * A context also represents the lifecycle between init and shutdown of rclcpp.
68- * It is often used in conjunction with rclcpp::init, or rclcpp::init_local,
69- * and rclcpp::shutdown.
68+ * Nodes may be attached to a particular context by passing to the rclcpp::Node
69+ * constructor a rclcpp::NodeOptions instance in which the Context is set via
70+ * rclcpp::NodeOptions::context.
71+ * Nodes will be automatically removed from the context when destructed.
72+ * Contexts may be shutdown by calling rclcpp::shutdown.
7073 */
7174class Context : public std ::enable_shared_from_this<Context>
7275{
You can’t perform that action at this time.
0 commit comments