OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo Struct Reference

List of all members.

Public Member Functions

 SampleWithInfo (const OPENDDS_STRING &topic, const DDS::SampleInfo &sampinfo)
void combine (const SampleWithInfo &other)
 OPENDDS_MAP (OPENDDS_STRING, DDS::InstanceHandle_t) info_

Public Attributes

Sample sample_
DDS::ViewStateKind view_

Detailed Description

template<typename Sample, typename TypedDataReader>
struct OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo

Definition at line 96 of file MultiTopicDataReader_T.h.


Constructor & Destructor Documentation

template<typename Sample, typename TypedDataReader>
OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::SampleWithInfo ( const OPENDDS_STRING &  topic,
const DDS::SampleInfo sampinfo 
) [inline]

Definition at line 97 of file MultiTopicDataReader_T.h.

References DDS::SampleInfo::instance_handle.

00098       : sample_(),
00099         view_(sampinfo.view_state) {
00100       info_[topic] = sampinfo.instance_handle;
00101     }


Member Function Documentation

template<typename Sample, typename TypedDataReader>
void OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::combine ( const SampleWithInfo other  )  [inline]

Definition at line 102 of file MultiTopicDataReader_T.h.

References DDS::NEW_VIEW_STATE, and OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::view_.

00102                                               {
00103       info_.insert(other.info_.begin(), other.info_.end());
00104       if (other.view_ == DDS::NEW_VIEW_STATE) view_ = DDS::NEW_VIEW_STATE;
00105     }

template<typename Sample, typename TypedDataReader>
OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::OPENDDS_MAP ( OPENDDS_STRING  ,
DDS::InstanceHandle_t   
)


Member Data Documentation

template<typename Sample, typename TypedDataReader>
Sample OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::sample_

Definition at line 106 of file MultiTopicDataReader_T.h.

template<typename Sample, typename TypedDataReader>
DDS::ViewStateKind OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::view_

Definition at line 107 of file MultiTopicDataReader_T.h.

Referenced by OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::SampleWithInfo::combine().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:20 2016 for OpenDDS by  doxygen 1.4.7