diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
commit | a5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch) | |
tree | bcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/Stream.i | |
download | ATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz |
Initial revision
Diffstat (limited to 'ace/Stream.i')
-rw-r--r-- | ace/Stream.i | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ace/Stream.i b/ace/Stream.i new file mode 100644 index 00000000000..2a0fcc438a2 --- /dev/null +++ b/ace/Stream.i @@ -0,0 +1,35 @@ +/* -*- C++ -*- */ +// $Id$ + +// Stream.i + +#include "ace/Log_Msg.h" + +template <ACE_SYNCH_1> ACE_INLINE ACE_Module<ACE_SYNCH_2> * +ACE_Stream<ACE_SYNCH_2>::head (void) +{ + ACE_TRACE ("ACE_Stream<ACE_SYNCH_2>::head"); + return this->stream_head_; +} + +template <ACE_SYNCH_1> ACE_INLINE ACE_Module<ACE_SYNCH_2> * +ACE_Stream<ACE_SYNCH_2>::tail (void) +{ + ACE_TRACE ("ACE_Stream<ACE_SYNCH_2>::tail"); + return this->stream_tail_; +} + +template <ACE_SYNCH_1> ACE_INLINE int +ACE_Stream<ACE_SYNCH_2>::wait (void) +{ + ACE_TRACE ("ACE_Stream<ACE_SYNCH_2>::wait"); + return this->final_close_.wait (); +} + +template <ACE_SYNCH_1> ACE_INLINE int +ACE_Stream_Iterator<ACE_SYNCH_2>::next (const ACE_Module<ACE_SYNCH_2> *&mod) +{ + ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_2>::next"); + mod = this->next_; + return this->next_ != 0; +} |