summaryrefslogtreecommitdiff
path: root/ace/Stream.i
blob: 2a0fcc438a2fc0dd1a0ec207b7d1f52592a5400b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
}