Function rmw_fastrtps_dynamic_cpp::get_response_datawriter

Function Documentation

eprosima::fastdds::dds::DataWriter *rmw_fastrtps_dynamic_cpp::get_response_datawriter(rmw_service_t *service)

Return a native Fast DDS DataWriter handle for the response.

The function returns NULL when either the service handle is NULL or when the service handle is from a different rmw implementation.

Returns:

native Fast DDS DataWriter handle if successful, otherwise NULL