summaryrefslogtreecommitdiff
path: root/ACE/ace/IO_Cntl_Msg.inl
blob: c90b1be554d82ae8eb8e3e25874daf5afa38fb2f (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
52
53
54
55
56
57
58
59
60
61
// -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL

ACE_INLINE
ACE_IO_Cntl_Msg::ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c) :
  cmd_ (c),
  count_ (0),
  error_ (0),
  rval_ (0)
{
}

ACE_INLINE ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds
ACE_IO_Cntl_Msg::cmd ()
{
  return this->cmd_;
}

ACE_INLINE void
ACE_IO_Cntl_Msg::cmd (ACE_IO_Cntl_Cmds c)
{
  this->cmd_ = c;
}

ACE_INLINE size_t
ACE_IO_Cntl_Msg::count ()
{
  return this->count_;
}

ACE_INLINE void
ACE_IO_Cntl_Msg::count (size_t c)
{
  this->count_ = c;
}

ACE_INLINE int
ACE_IO_Cntl_Msg::error ()
{
  return this->error_;
}

ACE_INLINE void
ACE_IO_Cntl_Msg::error (int e)
{
  this->error_ = e;
}

ACE_INLINE int
ACE_IO_Cntl_Msg::rval ()
{
  return this->rval_;
}

ACE_INLINE void
ACE_IO_Cntl_Msg::rval (int r)
{
  this->rval_ = r;
}

ACE_END_VERSIONED_NAMESPACE_DECL