00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef RAKEDATA_H 00009 #define RAKEDATA_H 00010 00011 #include /**/ "ace/pre.h" 00012 #include "dcps_export.h" 00013 #include "ReceivedDataElementList.h" 00014 #include "SubscriptionInstance.h" 00015 00016 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00017 # pragma once 00018 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00019 00020 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00021 00022 namespace OpenDDS { 00023 namespace DCPS { 00024 00025 /// Rake is an abbreviation for "read or take". This struct holds the 00026 /// data used by the data structures in RakeResults<T>. 00027 struct OpenDDS_Dcps_Export RakeData { 00028 ReceivedDataElement* rde_; 00029 SubscriptionInstance_rch si_; 00030 size_t index_in_instance_; 00031 }; 00032 00033 } // namespace DCPS 00034 } // namespace OpenDDS 00035 00036 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00037 00038 #endif