QueueRemoveVisitor.inl

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 "EntryExit.h"
00009 
00010 namespace OpenDDS {
00011 namespace DCPS {
00012 
00013 ACE_INLINE
00014 QueueRemoveVisitor::QueueRemoveVisitor(
00015   const TransportQueueElement::MatchCriteria& mc)
00016   : mc_(mc)
00017   , status_(REMOVE_NOT_FOUND)
00018   , removed_bytes_(0)
00019 {
00020   DBG_ENTRY_LVL("QueueRemoveVisitor", "QueueRemoveVisitor", 6);
00021 }
00022 
00023 ACE_INLINE RemoveResult
00024 QueueRemoveVisitor::status() const
00025 {
00026   DBG_ENTRY_LVL("QueueRemoveVisitor", "status", 6);
00027   return this->status_;
00028 }
00029 
00030 ACE_INLINE int
00031 QueueRemoveVisitor::removed_bytes() const
00032 {
00033   DBG_ENTRY_LVL("QueueRemoveVisitor", "removed_bytes", 6);
00034   return static_cast<int>(this->removed_bytes_);
00035 }
00036 
00037 }
00038 }

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