TransportSendElement.inl

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
00006  */
00007 
00008 #include "EntryExit.h"
00009 
00010 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00011 
00012 ACE_INLINE
00013 OpenDDS::DCPS::TransportSendElement::TransportSendElement(int initial_count,
00014                                                           const DataSampleElement* sample)
00015   : TransportQueueElement(initial_count),
00016     element_(sample)
00017 {
00018   DBG_ENTRY_LVL("TransportSendElement","TransportSendElement",6);
00019 }
00020 
00021 
00022 ACE_INLINE
00023 bool
00024 OpenDDS::DCPS::TransportSendElement::owned_by_transport()
00025 {
00026   return false;
00027 }
00028 
00029 ACE_INLINE
00030 OpenDDS::DCPS::SequenceNumber
00031 OpenDDS::DCPS::TransportSendElement::sequence() const
00032 {
00033   return this->element_->get_header().sequence_;
00034 }
00035 
00036 ACE_INLINE
00037 const OpenDDS::DCPS::DataSampleElement*
00038 OpenDDS::DCPS::TransportSendElement::sample() const
00039 {
00040   return this->element_;
00041 }
00042 
00043 OPENDDS_END_VERSIONED_NAMESPACE_DECL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1