Function rmw_fastrtps_shared_cpp::cast_error_dds_to_rmw

Function Documentation

rmw_ret_t rmw_fastrtps_shared_cpp::cast_error_dds_to_rmw(eprosima::fastrtps::types::ReturnCode_t code)

Convert a Fast DDS return code into the corresponding rmw_ret_t

Parameters:

code[in] The Fast DDS return code to be translated

Returns:

the corresponding rmw_ret_t value