18 : sub_loan_count_(initial_count),
22 DBG_ENTRY_LVL(
"TransportQueueElement",
"TransportQueueElement", 6);
110 return data_ == payload->
rd_ptr();
118 return element_ == &candidate;
virtual bool matches(const TransportQueueElement &candidate) const
const GUID_t GUID_UNKNOWN
Nil value for GUID.
bool data_dropped(bool dropped_by_transport=false)
TransportQueueElement(unsigned long initial_count)
#define OPENDDS_ASSERT(C)
char * rd_ptr(void) const
virtual void release_element(bool dropped_by_transport)=0
Invoked when the counter reaches 0.
Atomic< unsigned long > sub_loan_count_
Counts the number of outstanding sub-loans.
bool dropped_
Flag flipped to true if any DataLink dropped the sample.
bool decision_made(bool dropped_by_transport)
Common logic for data_dropped() and data_delivered().
bool released_
If the callback to DW is made.
virtual bool matches(const TransportQueueElement &candidate) const
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual GUID_t publication_id() const =0
Accessor for the publication id that sent the sample.
bool released() const
Is the listener get called ?
The Internal API and Implementation of OpenDDS.
virtual bool matches(const TransportQueueElement &candidate) const
Base wrapper class around a data/control sample to be sent.
virtual const ACE_Message_Block * msg_payload() const =0
The marshalled payload only (sample data)