8 #ifndef OPENDDS_DCPS_RECEIVEDDATAELEMENTLIST_H 9 #define OPENDDS_DCPS_RECEIVEDDATAELEMENTLIST_H 20 #include <dds/DdsDcpsInfrastructureC.h> 24 #if !defined (ACE_LACKS_PRAGMA_ONCE) 36 : pub_(header.publication_id_),
37 registered_data_(received_data),
39 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
40 coherent_change_(header.coherent_change_),
41 group_coherent_(header.group_coherent_),
42 publisher_id_(header.publisher_id_),
44 valid_data_(received_data != 0),
45 disposed_generation_count_(0),
46 no_writers_generation_count_(0),
48 sequence_(header.sequence_),
49 previous_data_sample_(0),
72 if (0 == --ref_count_) {
105 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE 141 void operator delete(
void* memory);
157 template <
typename DataTypeWithAllocator>
170 delete static_cast<DataTypeWithAllocator*
> (registered_data_);
215 bool has_zero_copies()
const;
220 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE 240 void increment_read_count();
241 void decrement_read_count();
242 void increment_not_read_count();
243 void decrement_not_read_count();
255 #if defined (__ACE_INLINE__) local interface<%TYPE%> inout ::DDS::SampleInfoSeq in long in ::DDS::SampleStateMask sample_states
#define ACE_GUARD(MUTEX, OBJ, LOCK)
DDS::Time_t to_dds_time() const
ReceivedDataElement * previous_data_sample_
the previous data sample in the ReceivedDataElementList
ReceivedDataElement element_
DDS::Time_t source_timestamp_
Source time stamp for this data sample.
const ReceivedDataElement * peek_tail()
#define OpenDDS_Dcps_Export
DDS::Time_t destination_timestamp_
Reception time stamp for this data sample.
bool group_coherent_
Sample belongs to a group coherent changes.
ACE_UINT32 source_timestamp_nanosec_
ReceivedDataElement(const DataSampleHeader &header, void *received_data, ACE_Recursive_Thread_Mutex *mx)
CORBA::ULong sample_states_
size_t size_
Number of elements in the list.
ReceivedDataElement * head_
The first element of the list.
unsigned long SampleStateKind
void *const registered_data_
bool valid_data() const
Returns true if the sample has a complete serialized payload.
bool valid_data_
Do we contain valid data.
size_t disposed_generation_count_
static TimePoint_T< SystemClock > now()
SequenceNumber sequence_
The data sample's sequence number.
Atomic< long > ref_count_
ACE_New_Allocator * allocator_
DDS::SampleStateKind sample_state_
Christopher Diggins *renamed files *fixing compilation errors *adding Visual C project file *removed make Max Lybbert *removed references to missing and unused header
virtual ~ReceivedDataFilter()
ReceivedDataElementWithType(const DataSampleHeader &header, DataTypeWithAllocator *received_data, ACE_Recursive_Thread_Mutex *mx)
GUID_t publisher_id_
Publisher id represent group identifier.
virtual ~ReceivedDataOperation()
RcHandle< InstanceState > InstanceState_rch
InstanceState_rch instance_state_
ReceivedDataElement * tail_
The last element of the list.
ACE_INT32 source_timestamp_sec_
~ReceivedDataElementWithType()
DataReaderImpl_wrch reader_
ACE_Recursive_Thread_Mutex * mx_
Sequence number abstraction. Only allows positive 64 bit values.
CORBA::ULong not_read_sample_count_
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual ~ReceivedDataElement()
const SampleStateKind NOT_READ_SAMPLE_STATE
Atomic< long > zero_copy_cnt_
CORBA::ULong read_sample_count_
ReceivedDataElement * next_data_sample_
the next data sample in the ReceivedDataElementList
The Internal API and Implementation of OpenDDS.
size_t no_writers_generation_count_
bool coherent_change_
Sample belongs to an active coherent change set.