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 stub for content filtered topic #77

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions rmw_connextdds/src/rmw_api_impl_ndds.cpp
Expand Up @@ -717,6 +717,32 @@ rmw_subscription_get_actual_qos(
}


rmw_ret_t
rmw_subscription_set_content_filter(
rmw_subscription_t * subscription,
const rmw_subscription_content_filter_options_t * options)
{
UNUSED_ARG(subscription);
UNUSED_ARG(options);
RMW_CONNEXT_LOG_NOT_IMPLEMENTED
return RMW_RET_UNSUPPORTED;
}


rmw_ret_t
rmw_subscription_get_content_filter(
const rmw_subscription_t * subscription,
rcutils_allocator_t * allocator,
rmw_subscription_content_filter_options_t * options)
{
UNUSED_ARG(subscription);
UNUSED_ARG(allocator);
UNUSED_ARG(options);
RMW_CONNEXT_LOG_NOT_IMPLEMENTED
return RMW_RET_UNSUPPORTED;
}


rmw_ret_t
rmw_destroy_subscription(
rmw_node_t * node,
Expand Down
1 change: 1 addition & 0 deletions rmw_connextdds_common/src/common/rmw_impl.cpp
Expand Up @@ -1815,6 +1815,7 @@ rmw_connextdds_create_subscriber(
topic_name_len + 1);
rmw_subscriber->options = *subscriber_options;
rmw_subscriber->can_loan_messages = false;
rmw_subscriber->is_cft_enabled = false;

if (!internal) {
if (RMW_RET_OK != rmw_sub_impl->enable()) {
Expand Down
26 changes: 26 additions & 0 deletions rmw_connextddsmicro/src/rmw_api_impl_rtime.cpp
Expand Up @@ -717,6 +717,32 @@ rmw_subscription_get_actual_qos(
}


rmw_ret_t
rmw_subscription_set_content_filter(
rmw_subscription_t * subscription,
const rmw_subscription_content_filter_options_t * options)
{
UNUSED_ARG(subscription);
UNUSED_ARG(options);
RMW_CONNEXT_LOG_NOT_IMPLEMENTED
return RMW_RET_UNSUPPORTED;
}


rmw_ret_t
rmw_subscription_get_content_filter(
const rmw_subscription_t * subscription,
rcutils_allocator_t * allocator,
rmw_subscription_content_filter_options_t * options)
{
UNUSED_ARG(subscription);
UNUSED_ARG(allocator);
UNUSED_ARG(options);
RMW_CONNEXT_LOG_NOT_IMPLEMENTED
return RMW_RET_UNSUPPORTED;
}


rmw_ret_t
rmw_destroy_subscription(
rmw_node_t * node,
Expand Down