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 namespace OpenDDS { 00021 namespace DCPS { 00022 00023 //class ReceivedDataElement; 00024 //class SubscriptionInstance; 00025 00026 /// Rake is an abbreviation for "read or take". This struct holds the 00027 /// data used by the data structures in RakeResults<T>. 00028 struct OpenDDS_Dcps_Export RakeData { 00029 ReceivedDataElement* rde_; 00030 SubscriptionInstance* si_; 00031 size_t index_in_instance_; 00032 }; 00033 00034 } // namespace DCPS 00035 } // namespace OpenDDS 00036 00037 #endif