12 #if !defined (__ACE_INLINE__) 22 : data_sample_(data_sample)
27 return this->data_sample_ == data_sample;
44 void OpenDDS::DCPS::ReceivedDataElement::operator
delete(
void* memory)
54 operator delete(memory);
58 : reader_(reader),
head_(0), tail_(0),
size_(0)
59 , read_sample_count_(0), not_read_sample_count_(0), sample_states_(0)
60 , instance_state_(instance_state)
82 if (it->previous_data_sample_ == 0) {
90 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE 129 bool released =
false;
133 released = released ||
remove(item);
134 if (!eval_all)
break;
150 bool released =
false;
153 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE 175 }
else if (item ==
tail_) {
204 if (item->zero_copy_cnt_) {
227 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE
241 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE 253 #ifndef OPENDDS_NO_OBJECT_MODEL_PROFILE 327 ACE_UNUSED_ARG(item);
local interface<%TYPE%> inout ::DDS::SampleInfoSeq in long in ::DDS::SampleStateMask sample_states
virtual void free(void *ptr)
ReceivedDataElement * previous_data_sample_
the previous data sample in the ReceivedDataElementList
DDS::Time_t source_timestamp_
Source time stamp for this data sample.
bool empty(bool value)
DataReader has become empty. Returns true if the instance was released.
void add_by_timestamp(ReceivedDataElement *data_sample)
ACE_Message_Block & head_
void decrement_not_read_count()
bool has_zero_copies() const
CORBA::ULong sample_states_
#define OPENDDS_ASSERT(C)
ReceivedDataElement * get_next_match(CORBA::ULong sample_states, ReceivedDataElement *prev)
void add(ReceivedDataElement *data_sample)
size_t size_
Number of elements in the list.
ReceivedDataElement * head_
The first element of the list.
ACE_New_Allocator * allocator_
DDS::SampleStateKind sample_state_
virtual bool operator()(ReceivedDataElement *data_sample)=0
void accept_coherent_change(ReceivedDataElement *item)
DDS::InstanceHandle_t instance_handle() const
InstanceState_rch instance_state_
ReceivedDataElement * tail_
The last element of the list.
const SampleStateKind READ_SAMPLE_STATE
void increment_read_count()
DataReaderImpl_wrch reader_
void mark_read(ReceivedDataElement *item)
bool remove(ReceivedDataElement *data_sample)
CORBA::ULong not_read_sample_count_
ReceivedDataElementList(const DataReaderImpl_rch &reader, const InstanceState_rch &instance_state=InstanceState_rch())
const SampleStateKind NOT_READ_SAMPLE_STATE
void apply_all(ReceivedDataFilter &match, ReceivedDataOperation &func)
void increment_not_read_count()
CORBA::ULong read_sample_count_
RcHandle< T > lock() const
bool matches(CORBA::ULong sample_states) const
ReceivedDataElement * next_data_sample_
the next data sample in the ReceivedDataElementList
void decrement_read_count()
~ReceivedDataElementList()
bool coherent_change_
Sample belongs to an active coherent change set.