8 #ifndef OPENDDS_DCPS_DATASAMPLEHEADER_H 9 #define OPENDDS_DCPS_DATASAMPLEHEADER_H 23 #if !defined (ACE_LACKS_PRAGMA_ONCE) 32 class ReceivedDataSample;
81 MESSAGE_ID_OFFSET = 0,
82 SUBMESSAGE_ID_OFFSET = 1,
229 size_t get_serialized_size()
const;
232 static size_t get_max_serialized_size();
246 size_t size,
bool use_data_alloc);
252 bool valid_data()
const;
256 switch (message_id_) {
279 int remove() {
return 0; }
306 #ifndef OPENDDS_SAFETY_PROFILE 318 #endif //OPENDDS_SAFETY_PROFILE 325 #if defined(__ACE_INLINE__)
const LogLevel::Value value
char message_id_
The enum MessageId.
ACE_UINT32 message_length() const
bool key_fields_only_
Only the key fields of the data sample are present in the payload.
#define OpenDDS_Dcps_Export
ACE_UINT32 source_timestamp_nanosec_
bool more_fragments() const
Cached_Allocator_With_Overflow< DataSampleHeader, ACE_Null_Mutex > DataSampleHeaderAllocator
DDS::InstanceStateKind instance_state() const
void pdu_remaining(size_t)
MessageId
One byte message id (<256)
ACE_CDR::Boolean operator<<(Serializer &serializer, CoherentChangeControl &value)
Marshal/Insertion into a buffer.
Holds a data sample received by the transport.
unsigned long InstanceStateKind
A fixed-size allocator that caches items for quicker access but if the pool is exhausted it will use ...
ACE_Guard< ACE_Lock > guard_
size_t serialized_size_
Keep track of the amount of data read from a buffer.
GUIDSeq content_filter_entries_
ACE_UINT32 message_length_
bool more_fragments_
The current "Data Sample" needs reassembly before further processing.
char submessage_id_
Implementation-specific sub-message Ids.
static ACE_UINT8 mask_flag(DataSampleHeaderFlag2 flag)
ACE_INT32 source_timestamp_sec_
int tryacquire_write_upgrade()
sequence< GUID_t > GUIDSeq
Sequence number abstraction. Only allows positive 64 bit values.
const InstanceStateKind NOT_ALIVE_DISPOSED_INSTANCE_STATE
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
ACE_INT32 lifespan_duration_sec_
const char * to_string(MessageId value)
ACE_UINT32 lifespan_duration_nanosec_
The Internal API and Implementation of OpenDDS.
const InstanceStateKind NOT_ALIVE_NO_WRITERS_INSTANCE_STATE
static ACE_UINT8 mask_flag(DataSampleHeaderFlag flag)
const InstanceStateKind ALIVE_INSTANCE_STATE