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

Collaboration diagram for OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::GenericData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GenericData (const MetaStruct &meta, bool doAlloc=true)
 ~GenericData ()

Public Attributes

const MetaStructmeta_
void * ptr_

Detailed Description

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

Definition at line 154 of file MultiTopicDataReader_T.h.


Constructor & Destructor Documentation

template<typename Sample, typename TypedDataReader>
OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::GenericData::GenericData ( const MetaStruct meta,
bool  doAlloc = true 
) [inline, explicit]

Definition at line 155 of file MultiTopicDataReader_T.h.

00156       : meta_(meta), ptr_(doAlloc ? meta.allocate() : NULL) {}

template<typename Sample, typename TypedDataReader>
OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::GenericData::~GenericData (  )  [inline]

Definition at line 157 of file MultiTopicDataReader_T.h.

00157 { meta_.deallocate(ptr_); }


Member Data Documentation

template<typename Sample, typename TypedDataReader>
const MetaStruct& OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::GenericData::meta_

Definition at line 158 of file MultiTopicDataReader_T.h.

template<typename Sample, typename TypedDataReader>
void* OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::GenericData::ptr_

Definition at line 159 of file MultiTopicDataReader_T.h.

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


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