Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client/service QoS getters #196

Merged
merged 3 commits into from
Nov 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions rmw_implementation/src/functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,11 @@ RMW_INTERFACE_FN(
rmw_ret_t, RMW_RET_ERROR,
4, ARG_TYPES(const rmw_client_t *, rmw_service_info_t *, void *, bool *))

RMW_INTERFACE_FN(
rmw_client_get_actual_qos,
rmw_ret_t, RMW_RET_ERROR,
2, ARG_TYPES(const rmw_client_t *, rmw_qos_profile_t *))

RMW_INTERFACE_FN(
rmw_create_service,
rmw_service_t *, nullptr,
Expand All @@ -511,6 +516,11 @@ RMW_INTERFACE_FN(
rmw_ret_t, RMW_RET_ERROR,
3, ARG_TYPES(const rmw_service_t *, rmw_request_id_t *, void *))

RMW_INTERFACE_FN(
rmw_service_get_actual_qos,
rmw_ret_t, RMW_RET_ERROR,
2, ARG_TYPES(const rmw_service_t *, rmw_qos_profile_t *))

RMW_INTERFACE_FN(
rmw_take_event,
rmw_ret_t, RMW_RET_ERROR,
Expand Down Expand Up @@ -752,13 +762,15 @@ void prefetch_symbols(void)
GET_SYMBOL(rmw_count_subscribers)
GET_SYMBOL(rmw_get_gid_for_publisher)
GET_SYMBOL(rmw_compare_gids_equal)
GET_SYMBOL(rmw_service_get_actual_qos);
GET_SYMBOL(rmw_service_server_is_available)
GET_SYMBOL(rmw_set_log_severity)
GET_SYMBOL(rmw_get_publishers_info_by_topic)
GET_SYMBOL(rmw_get_subscriptions_info_by_topic)
GET_SYMBOL(rmw_qos_profile_check_compatible)
GET_SYMBOL(rmw_publisher_get_network_flow_endpoints)
GET_SYMBOL(rmw_subscription_get_network_flow_endpoints)
GET_SYMBOL(rmw_client_get_actual_qos);
}

void * symbol_rmw_init = nullptr;
Expand Down Expand Up @@ -830,10 +842,12 @@ unload_library()
symbol_rmw_return_loaned_message_from_subscription = nullptr;
symbol_rmw_create_client = nullptr;
symbol_rmw_destroy_client = nullptr;
symbol_rmw_client_get_actual_qos = nullptr;
symbol_rmw_send_request = nullptr;
symbol_rmw_take_response = nullptr;
symbol_rmw_create_service = nullptr;
symbol_rmw_destroy_service = nullptr;
symbol_rmw_service_get_actual_qos = nullptr;
symbol_rmw_take_request = nullptr;
symbol_rmw_send_response = nullptr;
symbol_rmw_take_event = nullptr;
Expand Down