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

Subversion Repositories w11

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

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

Line No. Rev Author Line
1 21 wfjm
// $Id: RlinkPort.ipp 513 2013-05-01 14:02:06Z mueller $
2 10 wfjm
//
3 19 wfjm
// Copyright 2011-2013 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 21 wfjm
// 2013-05-01   513   1.2.1  fTraceLevel now uint32_t
17 19 wfjm
// 2013-02-23   492   1.2    use RparseUrl
18
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
19 10 wfjm
// 2011-03-27   375   1.0    Initial version
20
// 2011-01-15   356   0.1    First draft
21
// ---------------------------------------------------------------------------
22
 
23
/*!
24
  \file
25 21 wfjm
  \version $Id: RlinkPort.ipp 513 2013-05-01 14:02:06Z mueller $
26 10 wfjm
  \brief   Implemenation (inline) of RlinkPort.
27
*/
28
 
29 19 wfjm
// all method definitions in namespace Retro
30 10 wfjm
namespace Retro {
31
 
32
//------------------------------------------+-----------------------------------
33
//! FIXME_docs
34
 
35
inline bool RlinkPort::IsOpen() const
36
{
37
  return fIsOpen;
38
}
39
 
40
//------------------------------------------+-----------------------------------
41
//! FIXME_docs
42
 
43 19 wfjm
inline const Retro::RparseUrl& RlinkPort::Url() const
44 10 wfjm
{
45
  return fUrl;
46
}
47
 
48
//------------------------------------------+-----------------------------------
49
//! FIXME_docs
50
 
51
inline int RlinkPort::FdRead() const
52
{
53
  return fFdRead;
54
}
55
 
56
//------------------------------------------+-----------------------------------
57
//! FIXME_docs
58
 
59
inline int RlinkPort::FdWrite() const
60
{
61
  return fFdWrite;
62
}
63
 
64
//------------------------------------------+-----------------------------------
65
//! FIXME_docs
66
 
67 19 wfjm
inline void RlinkPort::SetLogFile(const boost::shared_ptr& splog)
68 10 wfjm
{
69 19 wfjm
  fspLog = splog;
70 10 wfjm
  return;
71
}
72
 
73
//------------------------------------------+-----------------------------------
74
//! FIXME_docs
75
 
76 21 wfjm
inline void RlinkPort::SetTraceLevel(uint32_t level)
77 10 wfjm
{
78
  fTraceLevel = level;
79
  return;
80
}
81
 
82
//------------------------------------------+-----------------------------------
83
//! FIXME_docs
84
 
85 21 wfjm
inline uint32_t RlinkPort::TraceLevel() const
86 10 wfjm
{
87
  return fTraceLevel;
88
}
89
 
90
//------------------------------------------+-----------------------------------
91
//! FIXME_docs
92
 
93
inline const Rstats& RlinkPort::Stats() const
94
{
95
  return fStats;
96
}
97
 
98
} // end namespace Retro

powered by: WebSVN 2.1.0

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