Skip to content

Commit

Permalink
Remove guard condition listener
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
  • Loading branch information
Mauro Passerino authored and wjwwood committed Apr 5, 2021
1 parent e06d3f4 commit 906fa07
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions rmw/include/rmw/rmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -2861,29 +2861,6 @@ rmw_client_set_listener_callback(
rmw_listener_callback_t listener_callback,
const void * user_data);

/// Set callback function of the rmw guard condition listener.
/**
* This API sets the callback function which will be called whenever the
* guard condition listener is notified about the guard condition being triggered.
* The callback may be called from a thread that the rmw implementation
* created, rather than a thread owned by the user, i.e. some thread other
* than user owned threads calling rmw functions such as rmw_wait() or
* rmw_publish().
*
* \param[in] rmw_guard_condition The rmw guard condition to which the listener belongs
* \param[in] listener_callback The callback to be called by the listener
* \param[in] user_data Used as arg for the call of the listener_callback
* \return `RMW_RET_OK` if callback was set to the listener, or
* \return `RMW_RET_UNSUPPORTED` if the API is not implemented in the dds implementation
*/
RMW_PUBLIC
RMW_WARN_UNUSED
rmw_ret_t
rmw_guard_condition_set_listener_callback(
rmw_guard_condition_t * rmw_guard_condition,
rmw_listener_callback_t listener_callback,
const void * user_data);

/// Set callback function of the rmw event listener.
/**
* This API sets the callback function which will be called whenever the
Expand Down

0 comments on commit 906fa07

Please sign in to comment.