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 : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 11 : 12 : namespace OpenDDS { 13 : namespace DCPS { 14 : 15 : ACE_INLINE 16 0 : QueueRemoveVisitor::QueueRemoveVisitor( 17 : const TransportQueueElement::MatchCriteria& mc, 18 0 : bool remove_all) 19 0 : : mc_(mc) 20 0 : , status_(REMOVE_NOT_FOUND) 21 0 : , removed_bytes_(0) 22 0 : , remove_all_(remove_all) 23 : { 24 : DBG_ENTRY_LVL("QueueRemoveVisitor", "QueueRemoveVisitor", 6); 25 0 : } 26 : 27 : ACE_INLINE RemoveResult 28 0 : QueueRemoveVisitor::status() const 29 : { 30 : DBG_ENTRY_LVL("QueueRemoveVisitor", "status", 6); 31 0 : return this->status_; 32 : } 33 : 34 : ACE_INLINE int 35 0 : QueueRemoveVisitor::removed_bytes() const 36 : { 37 : DBG_ENTRY_LVL("QueueRemoveVisitor", "removed_bytes", 6); 38 0 : return static_cast<int>(this->removed_bytes_); 39 : } 40 : 41 : } 42 : } 43 : 44 : OPENDDS_END_VERSIONED_NAMESPACE_DECL