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 : ACE_INLINE 11 0 : OpenDDS::DCPS::BuildChainVisitor::BuildChainVisitor() 12 0 : : head_(0), 13 0 : tail_(0) 14 : { 15 : DBG_ENTRY_LVL("BuildChainVisitor", "BuildChainVisitor", 6); 16 0 : } 17 : 18 : ACE_INLINE 19 : ACE_Message_Block* 20 0 : OpenDDS::DCPS::BuildChainVisitor::chain() 21 : { 22 : DBG_ENTRY_LVL("BuildChainVisitor", "chain", 6); 23 : 24 0 : ACE_Message_Block* head = head_; 25 0 : head_ = tail_ = 0; 26 0 : return head; 27 : }