Program Listing for File ServiceTypeSupport.hpp
↰ Return to documentation for file (include/rmw_fastrtps_dynamic_cpp/ServiceTypeSupport.hpp
)
// Copyright 2016-2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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_FASTRTPS_DYNAMIC_CPP__SERVICETYPESUPPORT_HPP_
#define RMW_FASTRTPS_DYNAMIC_CPP__SERVICETYPESUPPORT_HPP_
#include <cassert>
#include "fastcdr/FastBuffer.h"
#include "fastcdr/Cdr.h"
#include "TypeSupport.hpp"
#include "rosidl_typesupport_introspection_cpp/field_types.hpp"
namespace rmw_fastrtps_dynamic_cpp
{
template<typename ServiceMembersType, typename MessageMembersType>
class RequestTypeSupport : public TypeSupport<MessageMembersType>
{
public:
RequestTypeSupport(const ServiceMembersType * members, const void * ros_type_support);
};
template<typename ServiceMembersType, typename MessageMembersType>
class ResponseTypeSupport : public TypeSupport<MessageMembersType>
{
public:
ResponseTypeSupport(const ServiceMembersType * members, const void * ros_type_support);
};
} // namespace rmw_fastrtps_dynamic_cpp
#include "ServiceTypeSupport_impl.hpp"
#endif // RMW_FASTRTPS_DYNAMIC_CPP__SERVICETYPESUPPORT_HPP_