OpenDDS  Snapshot(2023/04/28-20:55)
TransportSendElement.inl
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #include "EntryExit.h"
9 
11 
14  const DataSampleElement* sample)
15  : TransportQueueElement(initial_count),
16  element_(sample)
17 {
18  DBG_ENTRY_LVL("TransportSendElement", "TransportSendElement", 6);
19 }
20 
21 
23 bool
25 {
26  return false;
27 }
28 
32 {
33  return element_->get_header().sequence_;
34 }
35 
39 {
40  return element_;
41 }
42 
const DataSampleHeader & get_header() const
const DataSampleElement * sample() const
Original sample from send listener.
virtual SequenceNumber sequence() const
TransportSendElement(int initial_count, const DataSampleElement *sample)
virtual bool owned_by_transport()
Is the sample created by the transport?
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition: EntryExit.h:68
Sequence number abstraction. Only allows positive 64 bit values.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define ACE_INLINE
Base wrapper class around a data/control sample to be sent.