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

Subversion Repositories w11

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 21 wfjm
// $Id: Rw11Unit.ipp 513 2013-05-01 14:02:06Z mueller $
2 19 wfjm
//
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 21 wfjm
// 2013-05-01   513   1.0.1  add fAttachOpts, (Set)AttachOpts()
17 19 wfjm
// 2013-03-06   495   1.0    Initial version
18
// 2013-02-13   488   0.1    First draft
19
// ---------------------------------------------------------------------------
20
 
21
/*!
22
  \file
23 21 wfjm
  \version $Id: Rw11Unit.ipp 513 2013-05-01 14:02:06Z mueller $
24 19 wfjm
  \brief   Implemenation (inline) of Rw11Unit.
25
*/
26
 
27
// all method definitions in namespace Retro
28
namespace Retro {
29
 
30
//------------------------------------------+-----------------------------------
31
//! FIXME_docs
32
 
33
inline size_t Rw11Unit::Index() const
34
{
35
  return fIndex;
36
}
37
 
38
//------------------------------------------+-----------------------------------
39
//! FIXME_docs
40
 
41
inline std::string Rw11Unit::Name() const
42
{
43
  return fpCntlBase->UnitName(fIndex);
44
}
45
 
46
//------------------------------------------+-----------------------------------
47
//! FIXME_docs
48
 
49 21 wfjm
inline void Rw11Unit::SetAttachOpts(const std::string& opts)
50
{
51
  fAttachOpts = opts;
52
  return;
53
}
54
 
55
//------------------------------------------+-----------------------------------
56
//! FIXME_docs
57
 
58
inline const std::string& Rw11Unit::AttachOpts() const
59
{
60
  return fAttachOpts;
61
}
62
 
63
//------------------------------------------+-----------------------------------
64
//! FIXME_docs
65
 
66 19 wfjm
inline Rw11Cntl& Rw11Unit::CntlBase() const
67
{
68
  return *fpCntlBase;
69
}
70
 
71
//------------------------------------------+-----------------------------------
72
//! FIXME_docs
73
 
74
inline Rw11Cpu& Rw11Unit::Cpu() const
75
{
76
  return fpCntlBase->Cpu();
77
}
78
 
79
//------------------------------------------+-----------------------------------
80
//! FIXME_docs
81
 
82
inline Rw11& Rw11Unit::W11() const
83
{
84
  return fpCntlBase->W11();
85
}
86
 
87
//------------------------------------------+-----------------------------------
88
//! FIXME_docs
89
 
90
inline RlinkServer& Rw11Unit::Server() const
91
{
92
  return fpCntlBase->Server();
93
}
94
 
95
//------------------------------------------+-----------------------------------
96
//! FIXME_docs
97
 
98
inline RlinkConnect& Rw11Unit::Connect() const
99
{
100
  return fpCntlBase->Connect();
101
}
102
 
103
//------------------------------------------+-----------------------------------
104
//! FIXME_docs
105
 
106
inline RlogFile& Rw11Unit::LogFile() const
107
{
108
  return fpCntlBase->LogFile();
109
}
110
 
111
//------------------------------------------+-----------------------------------
112
//! FIXME_docs
113
 
114
inline const Rstats& Rw11Unit::Stats() const
115
{
116
  return fStats;
117
}
118
 
119
} // end namespace Retro

powered by: WebSVN 2.1.0

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