Skip to content

Commit f04d13c

Browse files
author
Mauro Passerino
committed
Update doc
1 parent 176d479 commit f04d13c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rclcpp/include/rclcpp/executors/timers_manager.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ class TimersManager
7474
~TimersManager();
7575

7676
/**
77-
* @brief Adds a new TimerBase to the storage.
78-
* This object will keep ownership of the timer.
77+
* @brief Adds a new TimerBase::WeakPtr to the storage.
78+
* This object will store a weak pointer of the added timer
79+
* in a heap data structure.
7980
* @param timer the timer to be added
8081
*/
8182
void add_timer(rclcpp::TimerBase::SharedPtr timer);

0 commit comments

Comments
 (0)