1 #ifndef OMG_DDS_SUB_TDATA_READER_HPP_ 2 #define OMG_DDS_SUB_TDATA_READER_HPP_ 104 template <
typename T>
112 typedef ::dds::sub::DataReaderListener<T>
Listener;
370 template <
typename SamplesFWIterator>
372 read(SamplesFWIterator sfit, uint32_t max_samples);
394 template <
typename SamplesFWIterator>
396 take(SamplesFWIterator sfit, uint32_t max_samples);
418 template <
typename SamplesBIIterator>
420 read(SamplesBIIterator sbit);
441 template <
typename SamplesBIIterator>
443 take(SamplesBIIterator sbit);
446 typename DELEGATE<T>::Selector impl_;
566 void read_mode(
bool readmode);
771 template <
typename Functor>
776 typename DELEGATE<T>::ManipulatorSelector impl_;
811 const ::dds::topic::Topic<T>& topic);
871 const ::dds::topic::Topic<T>& topic,
876 #ifdef OMG_DDS_CONTENT_SUBSCRIPTION_SUPPORT 880 const ::dds::topic::ContentFilteredTopic<T>& topic);
884 const ::dds::topic::ContentFilteredTopic<T>& topic,
890 #ifdef OMG_DDS_MULTI_TOPIC_SUPPORT 894 const ::dds::topic::MultiTopic<T>& topic);
898 const ::dds::topic::MultiTopic<T>& topic,
1046 template <
typename Functor>
1258 template <
typename SamplesFWIterator>
1260 read(SamplesFWIterator sfit,
1321 template <
typename SamplesFWIterator>
1323 take(SamplesFWIterator sfit,
1324 uint32_t max_samples);
1387 template <
typename SamplesBIIterator>
1389 read(SamplesBIIterator sbit);
1449 template <
typename SamplesBIIterator>
1451 take(SamplesBIIterator sbit);
DataReader events Listener.
dds::sub::status::DataState default_filter_state()
Listener * listener() const
A Subscriber is the object responsible for the actual reception of the data resulting from its subscr...
#define OMG_DDS_IMPLICIT_REF_BASE(TYPE)
DataReader & operator>>(dds::sub::LoanedSamples< T > &ls)
dds::topic::TopicInstance< T > key_value(const dds::core::InstanceHandle &h)
A TopicInstance encapsulates a dds::sub::Sample and its associated dds::core::InstanceHandle.
This class provides the basic mechanism for an application to specify Quality of Service attributes f...
Selector & content(const dds::sub::Query &query)
Selector & max_samples(uint32_t maxsamples)
Query objects contain expressions that allow the application to specify a filter on the locally avail...
dds::sub::LoanedSamples< T > take()
dds::sub::qos::DataReaderQos qos() const
DataReader allows the applicatin to access published sample data.
Class to hold sample DataState information.
Typeless base class for the typed DataReader.
Selector & state(const dds::sub::status::DataState &state)
DataReader(const dds::sub::Subscriber &sub, const ::dds::topic::Topic< T > &topic)
Class to hold the handle associated with in sample instance.
dds::sub::LoanedSamples< T > read()
Selector & next_instance(const dds::core::InstanceHandle &handle)
Selector & instance(const dds::core::InstanceHandle &handle)
#define OMG_DDS_REF_TYPE_PROTECTED_DC_T(TYPE, BASE, T_PARAM, DELEGATE)
StatusMask is a bitmap or bitset field.
This class encapsulates and automates the management of loaned samples.
const dds::core::InstanceHandle lookup_instance(const T &key) const
::dds::sub::DataReaderListener< T > Listener