Cyclone ISO C++ API Reference Guide
|
Go to the documentation of this file. 1 #ifndef OMG_DDS_SUB_TDATA_READER_HPP_
2 #define OMG_DDS_SUB_TDATA_READER_HPP_
21 #include <dds/core/detail/conformance.hpp>
104 template <
typename T>
112 typedef ::dds::sub::DataReaderListener<T>
Listener;
370 template <
typename SamplesFWIterator>
394 template <
typename SamplesFWIterator>
418 template <
typename SamplesBIIterator>
420 read(SamplesBIIterator sbit);
441 template <
typename SamplesBIIterator>
443 take(SamplesBIIterator sbit);
446 typename DELEGATE<T>::Selector impl_;
771 template <
typename Functor>
776 typename DELEGATE<T>::ManipulatorSelector impl_;
804 const ::dds::topic::Topic<T>& topic);
857 const ::dds::topic::Topic<T>& topic,
862 #ifdef OMG_DDS_CONTENT_SUBSCRIPTION_SUPPORT
866 const ::dds::topic::ContentFilteredTopic<T>& topic);
870 const ::dds::topic::ContentFilteredTopic<T>& topic,
876 #ifdef OMG_DDS_MULTI_TOPIC_SUPPORT
880 const ::dds::topic::MultiTopic<T>& topic);
884 const ::dds::topic::MultiTopic<T>& topic,
1032 template <
typename Functor>
1244 template <
typename SamplesFWIterator>
1246 read(SamplesFWIterator sfit,
1247 uint32_t max_samples);
1307 template <
typename SamplesFWIterator>
1309 take(SamplesFWIterator sfit,
1310 uint32_t max_samples);
1373 template <
typename SamplesBIIterator>
1375 read(SamplesBIIterator sbit);
1435 template <
typename SamplesBIIterator>
1437 take(SamplesBIIterator sbit);
Query objects contain expressions that allow the application to specify a filter on the locally avail...
A Subscriber is the object responsible for the actual reception of the data resulting from its subscr...
dds::sub::LoanedSamples< T > read()
dds::topic::TopicInstance< T > key_value(const dds::core::InstanceHandle &h)
Class to hold sample DataState information.
ManipulatorSelector & operator>>(dds::sub::LoanedSamples< T > &samples)
ManipulatorSelector & state(const dds::sub::status::DataState &state)
StatusMask is a bitmap or bitset field.
#define OMG_DDS_IMPLICIT_REF_BASE(TYPE)
ManipulatorSelector & content(const dds::sub::Query &query)
Class to hold the handle associated with in sample instance.
const dds::core::InstanceHandle lookup_instance(const T &key) const
Listener * listener() const
LoanedSamples< T > read()
dds::sub::qos::DataReaderQos qos() const
This class encapsulates and automates the management of loaned samples.
Selector & next_instance(const dds::core::InstanceHandle &handle)
A TopicInstance encapsulates a dds::sub::Sample and its associated dds::core::InstanceHandle.
DataReader(const dds::sub::Subscriber &sub, const ::dds::topic::Topic< T > &topic)
dds::sub::LoanedSamples< T > take()
Typeless base class for the typed DataReader.
#define OMG_DDS_REF_TYPE_PROTECTED_DC_T(TYPE, BASE, T_PARAM, DELEGATE)
DataReader & operator>>(dds::sub::LoanedSamples< T > &ls)
Selector & state(const dds::sub::status::DataState &state)
ManipulatorSelector & next_instance(const dds::core::InstanceHandle &handle)
DataReader events Listener.
ManipulatorSelector(DataReader &dr)
LoanedSamples< T > take()
Selector & max_samples(uint32_t maxsamples)
::dds::sub::DataReaderListener< T > Listener
DataReader allows the applicatin to access published sample data.
This class provides the basic mechanism for an application to specify Quality of Service attributes f...
dds::sub::status::DataState default_filter_state()
Selector & instance(const dds::core::InstanceHandle &handle)
ManipulatorSelector & max_samples(uint32_t n)
Selector & content(const dds::sub::Query &query)
ManipulatorSelector & instance(const dds::core::InstanceHandle &handle)