Skip to content

Commit 176d479

Browse files
author
Mauro Passerino
committed
Update timers_manager.hpp documentation
1 parent 39e5a7c commit 176d479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rclcpp/include/rclcpp/executors/timers_manager.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ namespace executors
4040
*
4141
* Timers management
4242
* This class provides APIs to add and remove timers.
43-
* This class keeps ownership of the added timers through a shared pointer.
43+
* It keeps a list of weak pointers from added timers, and owns them only when
44+
* have expired and need to be executed.
4445
* Timers are kept ordered in a binary-heap priority queue.
4546
* Calls to add/remove APIs will temporarily block the execution of the timers and
4647
* will require to reorder the internal priority queue of timers.

0 commit comments

Comments
 (0)