Line data Source code
1 : /* 2 : * 3 : * 4 : * Distributed under the OpenDDS License. 5 : * See: http://www.opendds.org/license.html 6 : */ 7 : 8 : #include "EntryExit.h" 9 : 10 : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 11 : 12 : ACE_INLINE 13 2 : OpenDDS::DCPS::TransportSendElement::TransportSendElement(int initial_count, 14 2 : const DataSampleElement* sample) 15 : : TransportQueueElement(initial_count), 16 2 : element_(sample) 17 : { 18 : DBG_ENTRY_LVL("TransportSendElement", "TransportSendElement", 6); 19 2 : } 20 : 21 : 22 : ACE_INLINE 23 : bool 24 0 : OpenDDS::DCPS::TransportSendElement::owned_by_transport() 25 : { 26 0 : return false; 27 : } 28 : 29 : ACE_INLINE 30 : OpenDDS::DCPS::SequenceNumber 31 0 : OpenDDS::DCPS::TransportSendElement::sequence() const 32 : { 33 0 : return element_->get_header().sequence_; 34 : } 35 : 36 : ACE_INLINE 37 : const OpenDDS::DCPS::DataSampleElement* 38 : OpenDDS::DCPS::TransportSendElement::sample() const 39 : { 40 : return element_; 41 : } 42 : 43 : OPENDDS_END_VERSIONED_NAMESPACE_DECL