Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Stubs for rmw_get_publishers_info_by_topic and rmw_get_subscriptions_info_by_topic #289

Merged
merged 6 commits into from
Jan 14, 2020
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions rmw_opensplice_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
45 changes: 45 additions & 0 deletions rmw_opensplice_cpp/src/rmw_get_topic_info.cpp
Original file line number Diff line number Diff line change
@@ -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 *,
rcutils_allocator_t *,
const char *,
bool,
rmw_topic_info_array_t *)
{
return RMW_RET_UNSUPPORTED;
ivanpauno marked this conversation as resolved.
Show resolved Hide resolved
}

rmw_ret_t
rmw_get_subscriptions_info_by_topic(
const rmw_node_t *,
rcutils_allocator_t *,
const char *,
bool,
rmw_topic_info_array_t *)
{
return RMW_RET_UNSUPPORTED;
ivanpauno marked this conversation as resolved.
Show resolved Hide resolved
}
} // extern "C"