Skip to content

Commit 01c2111

Browse files
committed
fix comments
Signed-off-by: Alberto Soragna <[email protected]>
1 parent 4ad66d1 commit 01c2111

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

rclcpp/include/rclcpp/experimental/subscription_intra_process_base.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ class SubscriptionIntraProcessBase : public rclcpp::Waitable
149149
}
150150

151151
/// Unset the callback registered for new messages, if any.
152-
RCLCPP_PUBLIC
153152
void
154153
clear_on_ready_callback() override
155154
{

rclcpp/include/rclcpp/qos_event.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ class QOSEventHandlerBase : public Waitable
147147
*
148148
* \param[in] callback functor to be called when a new event occurs
149149
*/
150-
RCLCPP_PUBLIC
151150
void
152151
set_on_ready_callback(std::function<void(size_t, int)> callback) override
153152
{
@@ -198,7 +197,6 @@ class QOSEventHandlerBase : public Waitable
198197
}
199198

200199
/// Unset the callback registered for new events, if any.
201-
RCLCPP_PUBLIC
202200
void
203201
clear_on_ready_callback() override
204202
{

rclcpp/include/rclcpp/waitable.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ class Waitable
206206

207207
/// Set a callback to be called whenever the waitable becomes ready.
208208
/**
209-
* The callback receives a size_t which is the number of responses received
209+
* The callback receives a size_t which is the number of times the waitable was ready
210210
* since the last time this callback was called.
211-
* Normally this is 1, but can be > 1 if responses were received before any
211+
* Normally this is 1, but can be > 1 if waitable was triggered before any
212212
* callback was set.
213213
*
214214
* The callback also receives an int identifier argument.

0 commit comments

Comments
 (0)