Cyclone ISO C++ API Reference Guide
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
discovery.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_TOPIC_DISCOVER_HPP_
2 #define OMG_DDS_TOPIC_DISCOVER_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 
23 
24 namespace dds
25 {
26 namespace topic
27 {
28 
71 template <typename TOPIC>
73  const std::string& name,
75 
96 template <typename ANYTOPIC, typename FwdIterator>
97 uint32_t discover(const dds::domain::DomainParticipant& dp, FwdIterator begin, uint32_t max_size);
98 
115 template <typename ANYTOPIC, typename BinIterator>
116 uint32_t discover_all(const dds::domain::DomainParticipant& dp, BinIterator begin);
117 
130 
145 template <typename FwdIterator>
146 void ignore(const dds::domain::DomainParticipant& dp, FwdIterator begin, FwdIterator end);
147 
148 }
149 }
150 
151 #include <dds/topic/detail/discovery.hpp>
152 
153 #endif /* OMG_DDS_TOPIC_DISCOVER_HPP_ */
dds::core::Duration
Definition: Duration.hpp:42
dds::core::InstanceHandle
Class to hold the handle associated with in sample instance.
Definition: InstanceHandle.hpp:40
dds::topic::discover
TOPIC discover(const dds::domain::DomainParticipant &dp, const std::string &name, const dds::core::Duration &timeout=dds::core::Duration::infinite())
DomainParticipant.hpp
OMG_DDS_API
#define OMG_DDS_API
Definition: macros.hpp:52
dds
Definition: array.hpp:30
dds::core::begin
T::iterator begin(T &t)
Definition: array.hpp:34
dds::core::end
T::iterator end(T &t)
Definition: array.hpp:39
dds::core::Duration::infinite
static const Duration infinite()
dds::topic::discover_all
uint32_t discover_all(const dds::domain::DomainParticipant &dp, BinIterator begin)
dds::topic::ignore
void ignore(const dds::domain::DomainParticipant &dp, const dds::core::InstanceHandle &handle)
dds::domain::DomainParticipant
A DomainParticipant represents the local membership of the application in a Domain.
Definition: DomainParticipant.hpp:65