Cyclone ISO C++ API Reference Guide
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
find.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_SUB_FIND_HPP_
2 #define OMG_DDS_SUB_FIND_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 <string>
23 
24 #include <dds/sub/detail/find.hpp>
25 
26 namespace dds
27 {
28 namespace sub
29 {
30 
48 
69 template <typename READER, typename FwdIterator>
70 uint32_t
71 find(const dds::sub::Subscriber& sub,
72  const std::string &topic_name,
73  FwdIterator begin, uint32_t max_size);
74 
92 template <typename READER, typename BinIterator>
93 uint32_t
94 find(const dds::sub::Subscriber& sub,
95  const std::string &topic_name,
96  BinIterator begin);
97 
117 template <typename READER, typename T, typename FwdIterator>
118 uint32_t
119 find(const dds::sub::Subscriber& sub,
120  const dds::topic::TopicDescription& topic_description,
121  FwdIterator begin, uint32_t max_size);
122 
140 template <typename READER, typename T, typename BinIterator>
141 uint32_t
142 find(const dds::sub::Subscriber& sub,
143  const dds::topic::TopicDescription& topic_description,
144  BinIterator begin);
145 
175 template <typename READER, typename FwdIterator>
176 uint32_t
177 find(const dds::sub::Subscriber& sub,
178  const dds::sub::status::DataState& data_state,
179  FwdIterator begin, uint32_t max_size);
180 
208 template <typename READER, typename BinIterator>
209 uint32_t
210 find(const dds::sub::Subscriber& sub,
211  const dds::sub::status::DataState& rs,
212  BinIterator begin);
213 
214 }
215 }
216 
217 #endif /* OMG_DDS_SUB_FIND_HPP_ */
dds::sub::Subscriber
A Subscriber is the object responsible for the actual reception of the data resulting from its subscr...
Definition: Subscriber.hpp:53
dds::sub::status::DataState
Class to hold sample DataState information.
Definition: DataState.hpp:371
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::sub::builtin_subscriber
const dds::sub::Subscriber builtin_subscriber(const dds::domain::DomainParticipant &dp)
dds::sub::find
uint32_t find(const dds::sub::Subscriber &sub, const std::string &topic_name, FwdIterator begin, uint32_t max_size)
dds::domain::DomainParticipant
A DomainParticipant represents the local membership of the application in a Domain.
Definition: DomainParticipant.hpp:65
dds::topic::TopicDescription
This class is the base for Topic, ContentFilteredTopic and MultiTopic.
Definition: TopicDescription.hpp:48