Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add call-through function for notifying about network interfaces #344

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions rmw/include/rmw/rmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -2787,8 +2787,19 @@ RMW_WARN_UNUSED
rmw_ret_t
rmw_set_log_severity(rmw_log_severity_t severity);

/// Notify fast-dds to re-scan networks
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RMW should be agnostic from implementation details, Fast-DDS should be removed.

/**
* \param[in] context The ROS context to call notify networks on.
* \return RMW_RET_OK if successful, otherwise an appropriate error code
*/
RMW_PUBLIC
RMW_WARN_UNUSED
rmw_ret_t
rmw_notify_participant_dynamic_network_interface(rmw_context_t * context);

#ifdef __cplusplus
}
#endif

#endif // RMW__RMW_H_