Function rcl_publisher_event_type_is_supported
Defined in File event.h
Function Documentation
-
bool rcl_publisher_event_type_is_supported(const rcl_publisher_event_type_t event_type)
Check if a publisher event type is supported by the active RMW implementation.
This API allows application code to introspect at runtime whether a particular publisher event type is supported by the currently loaded RMW implementation, enabling portable code that adapts gracefully when switching between RMW implementations.
Attribute
Adherence
Allocates Memory
No
Thread-Safe
Yes
Uses Atomics
No
Lock-Free
Yes
- Parameters:
event_type – [in] the publisher event type to check
- Returns:
trueif the event type is supported,falseotherwise