DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TReadCondition.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_SUB_TCOND_READ_CONDITION_HPP_
2 #define OMG_DDS_SUB_TCOND_READ_CONDITION_HPP_
3 
4 
5 /* Copyright 2010, Object Management Group, Inc.
6  * Copyright 2010, PrismTech, Corp.
7  * Copyright 2010, Real-Time Innovations, Inc.
8  * All rights reserved.
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 
24 
25 namespace dds { namespace sub { namespace cond {
26  template <typename DELEGATE>
28 } } }
29 
42 template <typename DELEGATE>
44 public:
46 
47 public:
48  template <typename T>
49  TReadCondition(const dds::sub::DataReader<T>& dr, const dds::sub::status::DataState& status);
50 
51  template <typename T, typename FUN>
52  TReadCondition(const dds::sub::DataReader<T>& dr, const dds::sub::status::DataState& status, const FUN& functor);
53 
55 
56 public:
62  const dds::sub::status::DataState state_filter() const;
63  const AnyDataReader& data_reader() const;
64 
65 };
66 
67 
68 #endif /* OMG_DDS_SUB_TCOND_READ_CONDITION_HPP_ */
69 
70