diff --git a/rmw_opensplice_cpp/CMakeLists.txt b/rmw_opensplice_cpp/CMakeLists.txt index 6e3b3de5..49f5e4fe 100644 --- a/rmw_opensplice_cpp/CMakeLists.txt +++ b/rmw_opensplice_cpp/CMakeLists.txt @@ -79,6 +79,7 @@ add_library(rmw_opensplice_cpp SHARED src/rmw_wait_set.cpp src/serialization_format.cpp src/types.cpp + src/rmw_get_topic_info.cpp ) ament_target_dependencies(rmw_opensplice_cpp "rcpputils" diff --git a/rmw_opensplice_cpp/src/rmw_get_topic_info.cpp b/rmw_opensplice_cpp/src/rmw_get_topic_info.cpp new file mode 100644 index 00000000..6bb172cd --- /dev/null +++ b/rmw_opensplice_cpp/src/rmw_get_topic_info.cpp @@ -0,0 +1,45 @@ +// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "rmw/error_handling.h" +#include "rmw/rmw.h" +#include "rmw/types.h" + +#include "identifier.hpp" +#include "types.hpp" + +extern "C" +{ +rmw_ret_t +rmw_get_publishers_info_by_topic( + const rmw_node_t * node, + rcutils_allocator_t * allocator, + const char * topic_name, + bool no_mangle, + rmw_topic_info_array_t * publishers_info) +{ + return RMW_RET_UNSUPPORTED; +} + +rmw_ret_t +rmw_get_subscriptions_info_by_topic( + const rmw_node_t * node, + rcutils_allocator_t * allocator, + const char * topic_name, + bool no_mangle, + rmw_topic_info_array_t * subscriptions_info) +{ + return RMW_RET_UNSUPPORTED; +} +} // extern "C" \ No newline at end of file