Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
ReplierAttributes.hpp
1// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
19#ifndef REPLIERATTRIBUTES_HPP_
20#define REPLIERATTRIBUTES_HPP_
21
22#include "PublisherAttributes.h"
23#include "SubscriberAttributes.h"
24
25namespace eprosima {
26namespace fastrtps {
27
29{
30public:
31 ReplierAttributes() = default;
32
33 bool operator==(const ReplierAttributes& b) const
34 {
35 return (this->service_name == b.service_name) &&
38 (this->publisher == b.publisher) &&
39 (this->subscriber == b.subscriber);
40 }
41
42 std::string service_name;
43 std::string request_type;
44 std::string reply_type;
45 std::string request_topic_name;
46 std::string reply_topic_name;
49};
50
51} /* namespace fastrtps */
52} /* namespace eprosima */
53
54#endif /* REPLIERATTRIBUTES_HPP_ */
Class PublisherAttributes, used by the user to define the attributes of a Publisher.
Definition PublisherAttributes.h:41
Definition ReplierAttributes.hpp:29
std::string request_type
Definition ReplierAttributes.hpp:43
std::string service_name
Definition ReplierAttributes.hpp:42
std::string reply_topic_name
Definition ReplierAttributes.hpp:46
SubscriberAttributes subscriber
Definition ReplierAttributes.hpp:48
std::string request_topic_name
Definition ReplierAttributes.hpp:45
PublisherAttributes publisher
Definition ReplierAttributes.hpp:47
std::string reply_type
Definition ReplierAttributes.hpp:44
bool operator==(const ReplierAttributes &b) const
Definition ReplierAttributes.hpp:33
Class SubscriberAttributes, used by the user to define the attributes of a Subscriber.
Definition SubscriberAttributes.h:39
eProsima namespace.
Definition LibrarySettingsAttributes.h:23