Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Stream.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: Stream.i,v 1.1.1.2 2001/12/04 14:33:09 chad Exp $
00003 
00004 // Stream.i
00005 
00006 template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> *
00007 ACE_Stream<ACE_SYNCH_USE>::head (void)
00008 {
00009   ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::head");
00010   return this->stream_head_;
00011 }
00012 
00013 template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> *
00014 ACE_Stream<ACE_SYNCH_USE>::tail (void)
00015 {
00016   ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::tail");
00017   return this->stream_tail_;
00018 }
00019 
00020 template <ACE_SYNCH_DECL> ACE_INLINE int
00021 ACE_Stream<ACE_SYNCH_USE>::wait (void)
00022 {
00023   ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::wait");
00024   return this->final_close_.wait ();
00025 }
00026 
00027 template <ACE_SYNCH_DECL> ACE_INLINE int
00028 ACE_Stream_Iterator<ACE_SYNCH_USE>::next (const ACE_Module<ACE_SYNCH_USE> *&mod)
00029 {
00030   ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::next");
00031   mod = this->next_;
00032   return this->next_ != 0;
00033 }
00034 
00035 template <ACE_SYNCH_DECL> ACE_INLINE int
00036 ACE_Stream_Iterator<ACE_SYNCH_USE>::done (void) const
00037 {
00038   ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::done");
00039   return this->next_ == 0;
00040 }
00041 
00042 template <ACE_SYNCH_DECL> int
00043 ACE_Stream_Iterator<ACE_SYNCH_USE>::advance (void)
00044 {
00045   ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::advance");
00046   this->next_ = this->next_->next ();
00047   return this->next_ != 0;
00048 }
00049 

Generated on Mon Jun 16 11:21:29 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002