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 ACE_INLINE 00011 OpenDDS::DCPS::BuildChainVisitor::BuildChainVisitor() 00012 : head_(0), 00013 tail_(0) 00014 { 00015 DBG_ENTRY_LVL("BuildChainVisitor","BuildChainVisitor",6); 00016 } 00017 00018 ACE_INLINE 00019 ACE_Message_Block* 00020 OpenDDS::DCPS::BuildChainVisitor::chain() 00021 { 00022 DBG_ENTRY_LVL("BuildChainVisitor","chain",6); 00023 00024 ACE_Message_Block* head = this->head_; 00025 this->head_ = this->tail_ = 0; 00026 return head; 00027 }