00001
00002
00003
00004
00005
00006
00007
00008 #ifndef OPENDDS_DCPS_RAWDATASAMPLE_H
00009 #define OPENDDS_DCPS_RAWDATASAMPLE_H
00010
00011 #include "dds/DCPS/DataSampleHeader.h"
00012
00013 #include "ace/Basic_Types.h"
00014
00015 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00016 class ACE_Message_Block;
00017 ACE_END_VERSIONED_NAMESPACE_DECL
00018
00019 namespace OpenDDS {
00020 namespace DCPS {
00021
00022 class OpenDDS_Dcps_Export RawDataSample
00023 {
00024 public:
00025 RawDataSample();
00026 RawDataSample(MessageId,
00027 ACE_INT32 sec,
00028 ACE_UINT32 nano_sec,
00029 PublicationId pid,
00030 bool byte_order,
00031 ACE_Message_Block* blk);
00032
00033 RawDataSample(const RawDataSample&);
00034 ~RawDataSample();
00035 RawDataSample& operator=(const RawDataSample&);
00036
00037
00038 MessageId message_id_;
00039
00040 DDS::Time_t source_timestamp_;
00041
00042 PublicationId publication_id_;
00043
00044
00045 bool sample_byte_order_;
00046
00047 ACE_Message_Block* sample_;
00048 };
00049
00050 }
00051 }
00052
00053 #endif