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 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00011 
00012 namespace OpenDDS {
00013 namespace DCPS {
00014 
00015 ACE_INLINE
00016 QueueRemoveVisitor::QueueRemoveVisitor(
00017   const TransportQueueElement::MatchCriteria& mc)
00018   : mc_(mc)
00019   , status_(REMOVE_NOT_FOUND)
00020   , removed_bytes_(0)
00021 {
00022   DBG_ENTRY_LVL("QueueRemoveVisitor", "QueueRemoveVisitor", 6);
00023 }
00024 
00025 ACE_INLINE RemoveResult
00026 QueueRemoveVisitor::status() const
00027 {
00028   DBG_ENTRY_LVL("QueueRemoveVisitor", "status", 6);
00029   return this->status_;
00030 }
00031 
00032 ACE_INLINE int
00033 QueueRemoveVisitor::removed_bytes() const
00034 {
00035   DBG_ENTRY_LVL("QueueRemoveVisitor", "removed_bytes", 6);
00036   return static_cast<int>(this->removed_bytes_);
00037 }
00038 
00039 }
00040 }
00041 
00042 OPENDDS_END_VERSIONED_NAMESPACE_DECL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1