TransportRetainedElement.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #include "DCPS/DdsDcps_pch.h"
00009 #include "TransportRetainedElement.h"
00010
00011 #if !defined (__ACE_INLINE__)
00012 #include "TransportRetainedElement.inl"
00013 #endif
00014
00015 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00016
00017 OpenDDS::DCPS::TransportRetainedElement::~TransportRetainedElement()
00018 {
00019 DBG_ENTRY_LVL("TransportRetainedElement","~TransportRetainedElement",6);
00020 }
00021
00022 void
00023 OpenDDS::DCPS::TransportRetainedElement::release_element(
00024 bool
00025 )
00026 {
00027 DBG_ENTRY_LVL("TransportRetainedElement","release_element",6);
00028 delete this;
00029 }
00030
00031 OpenDDS::DCPS::RepoId
00032 OpenDDS::DCPS::TransportRetainedElement::publication_id() const
00033 {
00034 DBG_ENTRY_LVL("TransportRetainedElement","publication_id",6);
00035 return this->publication_id_;
00036 }
00037
00038 const ACE_Message_Block*
00039 OpenDDS::DCPS::TransportRetainedElement::msg() const
00040 {
00041 DBG_ENTRY_LVL("TransportRetainedElement","msg",6);
00042 return this->msg_.get();
00043 }
00044
00045 const ACE_Message_Block*
00046 OpenDDS::DCPS::TransportRetainedElement::msg_payload() const
00047 {
00048 DBG_ENTRY_LVL("TransportRetainedElement", "msg_payload", 6);
00049 return this->msg_->cont();
00050 }
00051
00052 OPENDDS_END_VERSIONED_NAMESPACE_DECL