TransportReplacedElement.cpp

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 "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/
00009 #include "TransportReplacedElement.h"
00010 
00011 #if !defined (__ACE_INLINE__)
00012 #include "TransportReplacedElement.inl"
00013 #endif /* __ACE_INLINE__ */
00014 
00015 OpenDDS::DCPS::TransportReplacedElement::~TransportReplacedElement()
00016 {
00017   DBG_ENTRY_LVL("TransportReplacedElement","~TransportReplacedElement",6);
00018 }
00019 
00020 void
00021 OpenDDS::DCPS::TransportReplacedElement::release_element(bool dropped_by_transport)
00022 {
00023   ACE_UNUSED_ARG(dropped_by_transport);
00024   DBG_ENTRY_LVL("TransportReplacedElement","release_element",6);
00025 
00026   if (this->msg_ != 0) {
00027     this->msg_->release();
00028     this->msg_ = 0;
00029   }
00030 
00031   if (allocator_) {
00032     allocator_->free(this);
00033   }
00034 }
00035 

Generated on Fri Feb 12 20:05:28 2016 for OpenDDS by  doxygen 1.4.7