/src/Fast-DDS/include/fastrtps/attributes/RequesterAttributes.hpp
Line | Count | Source (jump to first uncovered line) |
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 | | |
15 | | /** |
16 | | * @file RequesterAttributes.hpp |
17 | | */ |
18 | | |
19 | | #ifndef REQUESTERATTRIBUTES_HPP_ |
20 | | #define REQUESTERATTRIBUTES_HPP_ |
21 | | |
22 | | #include "PublisherAttributes.h" |
23 | | #include "SubscriberAttributes.h" |
24 | | |
25 | | namespace eprosima { |
26 | | namespace fastrtps { |
27 | | |
28 | | class RequesterAttributes |
29 | | { |
30 | | public: |
31 | 12.1k | RequesterAttributes() = default; |
32 | | |
33 | | bool operator==(const RequesterAttributes& b) const |
34 | 0 | { |
35 | 0 | return (this->service_name == b.service_name) && |
36 | 0 | (this->request_topic_name == b.request_topic_name) && |
37 | 0 | (this->reply_topic_name == b.reply_topic_name) && |
38 | 0 | (this->publisher == b.publisher) && |
39 | 0 | (this->subscriber == b.subscriber); |
40 | 0 | } |
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; |
47 | | PublisherAttributes publisher; |
48 | | SubscriberAttributes subscriber; |
49 | | }; |
50 | | |
51 | | |
52 | | } /* namespace fastrtps */ |
53 | | } /* namespace eprosima */ |
54 | | |
55 | | #endif /* REQUESTERATTRIBUTES_HPP_ */ |