DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TMultiTopic.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_T_TOPIC_MULTI_TOPIC_HPP_
2 #define OMG_DDS_T_TOPIC_MULTI_TOPIC_HPP_
3 
4 /* Copyright 2010, Object Management Group, Inc.
5  * Copyright 2010, PrismTech, Inc.
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 <vector>
23 
25 #include <dds/core/types.hpp>
27 
28 namespace dds { namespace topic {
29 
30 #ifdef OMG_DDS_MULTI_TOPIC_SUPPORT
31 
32  template <typename T, template <typename Q> class DELEGATE>
33  class MultiTopic : public TopicDescription <T, DELEGATE> {
34  public:
35  OMG_DDS_REF_TYPE_T(MultiTopic, TopicDescription, T, DELEGATE)
36 
37  public:
38  template <typename FWDIterator>
39  MultiTopic(const dds::domain::DomainParticipant& dp,
40  const std::string& name,
41  const std::string expression,
42  const FWDIterator& params_begin,
43  const FWDIterator& params_end);
44 
45  virtual ~MultiTopic();
46 
47  public:
48  public:
49 
50  const std::string expression() const;
51 
52  void expression_parameters(const FWDIterator& params_begin,
53  const FWDIterator& params_end);
54 
55  dds::core::StringSeq void expression_parameters() const;
56 
57  };
58 
59 #endif // OMG_DDS_MULTI_TOPIC_SUPPORT
60 
61 } }
62 
63 
64 #endif /* OMG_DDS_T_TOPIC_CONTENT_FILTERED_TOPIC_HPP_ */