DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TBuiltinTopic.hpp
Go to the documentation of this file.
1 #ifndef OMG_TDDS_TOPIC_BUILT_IN_TOPIC_HPP_
2 #define OMG_TDDS_TOPIC_BUILT_IN_TOPIC_HPP_
3 
4 /* Copyright 2010, Object Management Group, Inc.
5  * Copyright 2010, PrismTech, Corp.
6  * Copyright 2010, Real-Time Innovations, Inc.
7  * All rights reserved.
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
23 #include <dds/core/Value.hpp>
26 
27 namespace dds { namespace topic {
28  template <typename D>
30 
31  template <typename D>
33 
34  template <typename D>
36 
37  template <typename D>
39 } }
40 
41 template <typename D>
43 public:
44  const dds::topic::BuiltinTopicKey& key() const;
45 
47 };
48 
49 template <typename D>
51 public:
53 
54  const std::string& name() const;
55  const std::string& type_name() const;
56 
58 
59 
60 #ifdef OMG_DDS_PERSISTENCE_SUPPORT
61 
62  const ::dds::core::policy::DurabilityService& durability_service() const
63 
64 #endif // OMG_DDS_PERSISTENCE_SUPPORT
65 
66 
78 };
79 
80 template <typename D>
82 public:
84  return this->delegate()->key();
85  }
87  return this->delegate()->key();
88  }
89  const std::string& topic_name() const {
90  return this->delegate()->topic_name();
91  }
92  const std::string& type_name() const {
93  return this->delegate()->type_name();
94  }
96  return this->delegate()->durability();
97  }
98 
99 
100 #ifdef OMG_DDS_PERSISTENCE_SUPPORT
101 
102  const ::dds::core::policy::DurabilityService& durability_service() const {
103  return this->delegate()->durability_service();
104  }
105 
106 #endif // OMG_DDS_PERSISTENCE_SUPPORT
107 
108 
110  return this->delegate()->delegate();
111  }
113  return this->delegate()->latency_budget();
114  }
116  return this->delegate()->liveliness();
117  }
119  return this->delegate()->reliability();
120  }
122  return this->delegate()->lifespan();
123  }
124 
126  return this->delegate()->user_data();
127  }
129  return this->delegate()->ownership();
130  }
131 
132 
133 #ifdef OMG_DDS_OWNERSHIP_SUPPORT
134 
135 const ::dds::core::policy::OwnershipStrength& ownership_strength() const {
136  return this->delegate()->ownership_strength();
137 }
138 
139 #endif // OMG_DDS_OWNERSHIP_SUPPORT
140 
141 
143  return this->delegate()->destination_order();
144 }
145 
147  return this->delegate()->presentation();
148 }
149 
151  return this->delegate()->partition();
152 }
153 
155  return this->delegate()->topic_data();
156 }
157 
159  return this->delegate()->group_data();
160 }
161 
162 };
163 
164 template <typename D>
166 public:
168  return this->delegate()->key();
169  }
171  return this->delegate()->key();
172  }
173  const std::string& topic_name() const {
174  return this->delegate()->topic_name();
175  }
176  const std::string& type_name() const {
177  return this->delegate()->type_name();
178  }
180  return this->delegate()->durability();
181  }
183  return this->delegate()->deadline();
184  }
186  return this->delegate()->latency_budget();
187  }
189  return this->delegate()->liveliness();
190  }
192  return this->delegate()->reliability();
193  }
195  return this->delegate()->ownership();
196  }
198  return this->delegate()->destination_order();
199  }
201  return this->delegate()->user_data();
202  }
204  return this->delegate()->time_based_filter();
205  }
206 
208  return this->delegate()->presentation();
209  }
211  return this->delegate()->partition();
212  }
213 
214 
216  return this->delegate()->topic_data();
217  }
218 
220  return this->delegate()->group_data();
221  }
222 
223 };
224 
225 #endif /* OMG_TDDS_TOPIC_BUILT_IN_TOPIC_HPP_ */