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

Added rmw_event_type_is_supported #395

Open
wants to merge 2 commits 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/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,17 @@ RMW_WARN_UNUSED
rmw_ret_t
rmw_event_fini(rmw_event_t * event);


/// Check if an event type is supported by the RMW implementation.
/*
* \param[in] rmw_event_type to check
* \return True if the event is supported false otherwise.
*/
RMW_PUBLIC
RMW_WARN_UNUSED
bool
rmw_event_type_is_supported(rmw_event_type_t rmw_event_type);

#ifdef __cplusplus
}
#endif
Expand Down