OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
discovery.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_SUB_DISCOVERY_HPP_
2 #define OMG_DDS_SUB_DISCOVERY_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/sub/DataReader.hpp>
26 
27 namespace dds
28 {
29 namespace sub
30 {
31 
60  const dds::core::InstanceHandle& handle);
61 
73 template <typename FwdIterator>
74 void ignore(const dds::domain::DomainParticipant& dp, FwdIterator begin, FwdIterator end);
75 
76 
77 //==========================================================================
78 //== Discovery Management
129 template <typename T>
130 ::dds::core::InstanceHandleSeq
132 
186 template <typename T, typename FwdIterator>
187 uint32_t
189  FwdIterator begin, uint32_t max_size);
190 
230 template <typename T>
233  const ::dds::core::InstanceHandle& h);
234 
235 }
236 }
237 #endif /* OMG_DDS_SUB_DISCOVERY_HPP_ */
void ignore(const dds::domain::DomainParticipant &dp, const dds::core::InstanceHandle &handle)
DataReader allows the applicatin to access published sample data.
Definition: DataReader.hpp:34
const dds::topic::PublicationBuiltinTopicData matched_publication_data(const dds::sub::DataReader< T > &dr, const ::dds::core::InstanceHandle &h)
A DomainParticipant represents the local membership of the application in a Domain.
Class to hold the handle associated with in sample instance.
Definition: array.hpp:23
Class that contains information about available DataWriters within the system.
#define OMG_DDS_API
Definition: macros.hpp:52
::dds::core::InstanceHandleSeq matched_publications(const dds::sub::DataReader< T > &dr)