summaryrefslogtreecommitdiff
path: root/ace/Stream.inl
blob: 24ff6840431c7633e2ad6669499e01525104763d (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// -*- C++ -*-
//
// $Id$

ACE_BEGIN_VERSIONED_NAMESPACE_DECL

template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> *
ACE_Stream<ACE_SYNCH_USE>::head (void)
{
  ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::head");
  return this->stream_head_;
}

template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> *
ACE_Stream<ACE_SYNCH_USE>::tail (void)
{
  ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::tail");
  return this->stream_tail_;
}

template <ACE_SYNCH_DECL> ACE_INLINE int
ACE_Stream<ACE_SYNCH_USE>::wait (void)
{
  ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::wait");
  return this->final_close_.wait ();
}

template <ACE_SYNCH_DECL> ACE_INLINE int
ACE_Stream_Iterator<ACE_SYNCH_USE>::next (const ACE_Module<ACE_SYNCH_USE> *&mod)
{
  ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::next");
  mod = this->next_;
  return this->next_ != 0;
}

template <ACE_SYNCH_DECL> ACE_INLINE int
ACE_Stream_Iterator<ACE_SYNCH_USE>::done (void) const
{
  ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::done");
  return this->next_ == 0;
}

template <ACE_SYNCH_DECL> int
ACE_Stream_Iterator<ACE_SYNCH_USE>::advance (void)
{
  ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::advance");
  this->next_ = this->next_->next ();
  return this->next_ != 0;
}

ACE_END_VERSIONED_NAMESPACE_DECL