Program Listing for File rmw_qos.hpp

Return to documentation for file (/tmp/ws/src/rmw_gurumdds/rmw_gurumdds_shared_cpp/include/rmw_gurumdds_shared_cpp/rmw_qos.hpp)

// Copyright 2021 GurumNetworks, Inc.
//
// 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.

#ifndef RMW_GURUMDDS_SHARED_CPP__RMW_QOS_HPP_
#define RMW_GURUMDDS_SHARED_CPP__RMW_QOS_HPP_

#include "rmw/qos_profiles.h"

#include "rmw_gurumdds_shared_cpp/visibility_control.h"

RMW_GURUMDDS_SHARED_CPP_PUBLIC
rmw_ret_t
qos_profile_check_compatible(
  const rmw_qos_profile_t publisher_profile,
  const rmw_qos_profile_t subscription_profile,
  rmw_qos_compatibility_type_t * compatibility,
  char * reason,
  size_t reason_size);

#endif  // RMW_GURUMDDS_SHARED_CPP__RMW_QOS_HPP_