8 #ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTQUEUEELEMENT_H 9 #define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTQUEUEELEMENT_H 32 typedef std::pair<TransportQueueElement*, TransportQueueElement*>
TqePair;
64 virtual bool unique()
const = 0;
75 virtual bool unique()
const {
return false; }
85 virtual bool unique()
const {
return true; }
95 virtual bool unique()
const {
return true; }
107 bool data_dropped(
bool dropped_by_transport =
false);
111 bool data_delivered();
118 virtual bool requires_exclusive_packet()
const;
121 virtual GUID_t publication_id()
const = 0;
142 virtual bool is_control(
GUID_t pub_id)
const;
145 bool released()
const;
146 void released(
bool flag);
155 virtual bool owned_by_transport() = 0;
166 virtual TqePair fragment(
size_t size);
182 return seq_l < seq_r || (seq_l == seq_r && lhs < rhs);
193 virtual void release_element(
bool dropped_by_transport) = 0;
198 bool was_dropped()
const;
202 bool decision_made(
bool dropped_by_transport);
220 #if defined(__ACE_INLINE__) #define ACE_BEGIN_VERSIONED_NAMESPACE_DECL
virtual bool is_request_ack() const
virtual SequenceNumber sequence() const
std::pair< TransportQueueElement *, TransportQueueElement * > TqePair
virtual bool is_last_fragment() const
Is this QueueElement the last result of fragmentation?
const GUID_t GUID_UNKNOWN
Nil value for GUID.
#define OpenDDS_Dcps_Export
MatchOnPubId(const GUID_t &id)
virtual bool is_retained_replaced() const
Atomic< unsigned long > sub_loan_count_
Counts the number of outstanding sub-loans.
virtual bool unique() const
virtual bool unique() const
virtual bool is_fragment() const
Is this QueueElement the result of fragmentation?
MatchOnElement(const TransportQueueElement *element)
bool operator()(const TransportQueueElement *lhs, const TransportQueueElement *rhs) const
bool dropped_
Flag flipped to true if any DataLink dropped the sample.
const TransportQueueElement * element_
bool released_
If the callback to DW is made.
#define ACE_END_VERSIONED_NAMESPACE_DECL
const TqePair null_tqe_pair
MatchOnDataPayload(const char *data)
Sequence number abstraction. Only allows positive 64 bit values.
virtual GUID_t subscription_id() const
Accessor for the subscription id, if sent the sample is sent to 1 sub.
static SequenceNumber SEQUENCENUMBER_UNKNOWN()
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual bool unique() const
typedef OPENDDS_VECTOR(ActionConnectionRecord) ConnectionRecords
The Internal API and Implementation of OpenDDS.
Base wrapper class around a data/control sample to be sent.