Unbounded_Queue.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Unbounded_Queue.inl 80826 2008-03-04 14:51:23Z wotte $
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 template <class T> ACE_INLINE size_t
00008 ACE_Unbounded_Queue<T>::size (void) const
00009 {
00010   return this->cur_size_;
00011 }
00012 
00013 template <class T> ACE_INLINE int
00014 ACE_Unbounded_Queue<T>::is_empty (void) const
00015 {
00016   //  ACE_TRACE ("ACE_Unbounded_Queue<T>::is_empty");
00017   return this->head_ == this->head_->next_;
00018 }
00019 
00020 template <class T> ACE_INLINE int
00021 ACE_Unbounded_Queue<T>::is_full (void) const
00022 {
00023   //  ACE_TRACE ("ACE_Unbounded_Queue<T>::is_full");
00024   return 0; // We should implement a "node of last resort for this..."
00025 }
00026 
00027 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:18:43 2010 for ACE by  doxygen 1.4.7