OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
AnyTopic.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_TOPIC_TANYTOPIC_HPP_
2 #define OMG_DDS_TOPIC_TANYTOPIC_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 
22 #include <dds/core/conformance.hpp>
23 #include <dds/core/types.hpp>
24 #include <dds/core/ref_traits.hpp>
28 
29 
30 namespace dds
31 {
32 namespace topic
33 {
34 
35 class AnyTopic;
36 }
37 }
38 
39 
54  public ::dds::core::Entity,
56 {
59 
60 
61  virtual ~AnyTopic();
64 public:
65 
66  //==========================================================================
67  //== QoS Management
68 
84 
117  void qos(const dds::topic::qos::TopicQos& qos);
118 
121 
124 
144 
145 #ifdef DOXYGEN_FOR_ISOCPP2
146  /*
147  * The above macro is never (and must never) be defined in normal compilation.
148  *
149  * The following code is for documenting proprietary API only.
150  */
151 
207  void dispose_all_data();
208 #endif /* DOXYGEN_FOR_ISOCPP2 */
209 
210 };
211 
212 
213 #endif /* OMG_DDS_TOPIC_TANYTOPIC_HPP_ */
Typeless base class for the typed Topic.
Definition: AnyTopic.hpp:53
This class is the abstract base class for all the DCPS objects.
Definition: Entity.hpp:55
#define OMG_DDS_IMPLICIT_REF_BASE(TYPE)
Definition: refmacros.hpp:70
This class is the base for Topic, ContentFilteredTopic and MultiTopic.
Definition: array.hpp:23
::dds::core::status::InconsistentTopicStatus inconsistent_topic_status() const
#define OMG_DDS_REF_TYPE_PROTECTED_DC(TYPE, BASE, DELEGATE)
Definition: refmacros.hpp:159
This struct provides the basic mechanism for an application to specify Quality of Service attributes ...
Definition: TopicQos.hpp:67
dds::topic::qos::TopicQos qos() const
const AnyTopic & operator>>(dds::topic::qos::TopicQos &qos) const
AnyTopic & operator<<(const dds::topic::qos::TopicQos &qos)