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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librw11/] [Rw11Cntl.ipp] - Blame information for rev 36

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

Line No. Rev Author Line
1 19 wfjm
// $Id: Rw11Cntl.ipp 495 2013-03-06 17:13:48Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller 
4
//
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
// 2013-03-06   495   1.0    Initial version
17
// 2013-02-05   483   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11Cntl.ipp 495 2013-03-06 17:13:48Z mueller $
23
  \brief   Implemenation (inline) of Rw11Cntl.
24
*/
25
 
26
// all method definitions in namespace Retro
27
namespace Retro {
28
 
29
//------------------------------------------+-----------------------------------
30
//! FIXME_docs
31
 
32
inline void Rw11Cntl::SetCpu(Rw11Cpu* pcpu)
33
{
34
  fpCpu = pcpu;
35
  return;
36
}
37
 
38
//------------------------------------------+-----------------------------------
39
//! FIXME_docs
40
 
41
inline Rw11Cpu& Rw11Cntl::Cpu() const
42
{
43
  return *fpCpu;
44
}
45
 
46
//------------------------------------------+-----------------------------------
47
//! FIXME_docs
48
 
49
inline Rw11& Rw11Cntl::W11() const
50
{
51
  return fpCpu->W11();
52
}
53
 
54
//------------------------------------------+-----------------------------------
55
//! FIXME_docs
56
 
57
inline RlinkServer& Rw11Cntl::Server() const
58
{
59
  return fpCpu->Server();
60
}
61
 
62
//------------------------------------------+-----------------------------------
63
//! FIXME_docs
64
 
65
inline RlinkConnect& Rw11Cntl::Connect() const
66
{
67
  return fpCpu->Connect();
68
}
69
 
70
//------------------------------------------+-----------------------------------
71
//! FIXME_docs
72
 
73
inline RlogFile& Rw11Cntl::LogFile() const
74
{
75
  return fpCpu->LogFile();
76
}
77
 
78
//------------------------------------------+-----------------------------------
79
//! FIXME_docs
80
 
81
inline const std::string& Rw11Cntl::Type() const
82
{
83
  return fType;
84
}
85
 
86
//------------------------------------------+-----------------------------------
87
//! FIXME_docs
88
 
89
inline const std::string& Rw11Cntl::Name() const
90
{
91
  return fName;
92
}
93
 
94
//------------------------------------------+-----------------------------------
95
//! FIXME_docs
96
 
97
inline uint16_t Rw11Cntl::Base() const
98
{
99
  return fBase;
100
}
101
 
102
//------------------------------------------+-----------------------------------
103
//! FIXME_docs
104
 
105
inline int Rw11Cntl::Lam() const
106
{
107
  return fLam;
108
}
109
 
110
//------------------------------------------+-----------------------------------
111
//! FIXME_docs
112
 
113
inline bool Rw11Cntl::Enable() const
114
{
115
  return fEnable;
116
}
117
 
118
//------------------------------------------+-----------------------------------
119
//! FIXME_docs
120
 
121
inline const Rw11Probe& Rw11Cntl::ProbeStatus() const
122
{
123
  return fProbe;
124
}
125
 
126
//------------------------------------------+-----------------------------------
127
//! FIXME_docs
128
 
129
inline bool Rw11Cntl::IsStarted() const
130
{
131
  return fStarted;
132
}
133
 
134
//------------------------------------------+-----------------------------------
135
//! FIXME_docs
136
 
137
inline void Rw11Cntl::SetTraceLevel(uint32_t level)
138
{
139
  fTraceLevel = level;
140
  return;
141
}
142
 
143
//------------------------------------------+-----------------------------------
144
//! FIXME_docs
145
 
146
inline uint32_t Rw11Cntl::TraceLevel() const
147
{
148
  return fTraceLevel;
149
}
150
 
151
//------------------------------------------+-----------------------------------
152
//! FIXME_docs
153
 
154
inline const Rstats& Rw11Cntl::Stats() const
155
{
156
  return fStats;
157
}
158
 
159
} // end namespace Retro

powered by: WebSVN 2.1.0

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