Skip to main content

pamoja_ros2_entity_kind_suffix

Function pamoja_ros2_entity_kind_suffix 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ros2_entity_kind_suffix( kind: PamojaEntityKind, ) -> *const c_char
Expand description

Returns what the middleware appends to a name for a subsystem.

§Arguments

  • kind - the subsystem.

§Returns

"" for a topic, "Request" for a service request, and "Reply" for a service response, as a null-terminated string with static lifetime, which the caller does not free.