Skip to content

Commit f35ec50

Browse files
Added rmw_event_type_is_supported (#395) (#396)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]> (cherry picked from commit 5cf8420) Co-authored-by: Alejandro Hernández Cordero <[email protected]>
1 parent 880b0f9 commit f35ec50

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rmw/include/rmw/event.h

+11
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,17 @@ RMW_WARN_UNUSED
130130
rmw_ret_t
131131
rmw_event_fini(rmw_event_t * event);
132132

133+
134+
/// Check if an event type is supported by the RMW implementation.
135+
/*
136+
* \param[in] rmw_event_type to check
137+
* \return True if the event is supported false otherwise.
138+
*/
139+
RMW_PUBLIC
140+
RMW_WARN_UNUSED
141+
bool
142+
rmw_event_type_is_supported(rmw_event_type_t rmw_event_type);
143+
133144
#ifdef __cplusplus
134145
}
135146
#endif

0 commit comments

Comments
 (0)