Unbounded_Queue.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Unbounded_Queue.inl,v 4.2 2005/10/28 23:55:10 ossama Exp
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 Thu Nov 9 09:42:08 2006 for ACE by doxygen 1.3.6