OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librlink/] [RlinkPort.ipp] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 wfjm
// $Id: RlinkPort.ipp 666 2015-04-12 21:17:54Z mueller $
2 10 wfjm
//
3 30 wfjm
// Copyright 2011-2015 by Walter F.J. Mueller 
4 10 wfjm
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16 30 wfjm
// 2015-04-11   666   1.3    add fXon, XonEnable()
17 21 wfjm
// 2013-05-01   513   1.2.1  fTraceLevel now uint32_t
18 19 wfjm
// 2013-02-23   492   1.2    use RparseUrl
19
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
20 10 wfjm
// 2011-03-27   375   1.0    Initial version
21
// 2011-01-15   356   0.1    First draft
22
// ---------------------------------------------------------------------------
23
 
24
/*!
25
  \file
26 30 wfjm
  \version $Id: RlinkPort.ipp 666 2015-04-12 21:17:54Z mueller $
27 10 wfjm
  \brief   Implemenation (inline) of RlinkPort.
28
*/
29
 
30 19 wfjm
// all method definitions in namespace Retro
31 10 wfjm
namespace Retro {
32
 
33
//------------------------------------------+-----------------------------------
34
//! FIXME_docs
35
 
36
inline bool RlinkPort::IsOpen() const
37
{
38
  return fIsOpen;
39
}
40
 
41
//------------------------------------------+-----------------------------------
42
//! FIXME_docs
43
 
44 19 wfjm
inline const Retro::RparseUrl& RlinkPort::Url() const
45 10 wfjm
{
46
  return fUrl;
47
}
48
 
49
//------------------------------------------+-----------------------------------
50
//! FIXME_docs
51
 
52 30 wfjm
inline bool RlinkPort::XonEnable() const
53
{
54
  return fXon;
55
}
56
 
57
//------------------------------------------+-----------------------------------
58
//! FIXME_docs
59
 
60 10 wfjm
inline int RlinkPort::FdRead() const
61
{
62
  return fFdRead;
63
}
64
 
65
//------------------------------------------+-----------------------------------
66
//! FIXME_docs
67
 
68
inline int RlinkPort::FdWrite() const
69
{
70
  return fFdWrite;
71
}
72
 
73
//------------------------------------------+-----------------------------------
74
//! FIXME_docs
75
 
76 19 wfjm
inline void RlinkPort::SetLogFile(const boost::shared_ptr& splog)
77 10 wfjm
{
78 19 wfjm
  fspLog = splog;
79 10 wfjm
  return;
80
}
81
 
82
//------------------------------------------+-----------------------------------
83
//! FIXME_docs
84
 
85 21 wfjm
inline void RlinkPort::SetTraceLevel(uint32_t level)
86 10 wfjm
{
87
  fTraceLevel = level;
88
  return;
89
}
90
 
91
//------------------------------------------+-----------------------------------
92
//! FIXME_docs
93
 
94 21 wfjm
inline uint32_t RlinkPort::TraceLevel() const
95 10 wfjm
{
96
  return fTraceLevel;
97
}
98
 
99
//------------------------------------------+-----------------------------------
100
//! FIXME_docs
101
 
102
inline const Rstats& RlinkPort::Stats() const
103
{
104
  return fStats;
105
}
106
 
107
} // end namespace Retro

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.