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 2 : OpenDDS::DCPS::CopyChainVisitor::CopyChainVisitor( 12 : BasicQueue<TransportQueueElement>& target, 13 : MessageBlockAllocator* mb_allocator, 14 : DataBlockAllocator* db_allocator, 15 : bool duplicate 16 4 : ) : target_(target) 17 2 : , mb_allocator_(mb_allocator) 18 2 : , db_allocator_(db_allocator) 19 2 : , status_(0) 20 2 : , duplicate_(duplicate) 21 : { 22 : DBG_ENTRY_LVL("CopyChainVisitor", "CopyChainVisitor", 6); 23 2 : } 24 : 25 : ACE_INLINE 26 : int 27 : OpenDDS::DCPS::CopyChainVisitor::status() const 28 : { 29 : return status_; 30 : }