w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11Unit.ipp
Go to the documentation of this file.
1// $Id: Rw11Unit.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2019-06-07 1160 1.0.2 Stats() not longer const
8// 2013-05-01 513 1.0.1 add fAttachOpts, (Set)AttachOpts()
9// 2013-03-06 495 1.0 Initial version
10// 2013-02-13 488 0.1 First draft
11// ---------------------------------------------------------------------------
12
17// all method definitions in namespace Retro
18namespace Retro {
19
20//------------------------------------------+-----------------------------------
22
23inline size_t Rw11Unit::Index() const
24{
25 return fIndex;
26}
27
28//------------------------------------------+-----------------------------------
30
31inline std::string Rw11Unit::Name() const
32{
33 return fpCntlBase->UnitName(fIndex);
34}
35
36//------------------------------------------+-----------------------------------
38
39inline void Rw11Unit::SetAttachOpts(const std::string& opts)
40{
41 fAttachOpts = opts;
42 return;
43}
44
45//------------------------------------------+-----------------------------------
47
48inline const std::string& Rw11Unit::AttachOpts() const
49{
50 return fAttachOpts;
51}
52
53//------------------------------------------+-----------------------------------
55
57{
58 return *fpCntlBase;
59}
60
61//------------------------------------------+-----------------------------------
63
64inline Rw11Cpu& Rw11Unit::Cpu() const
65{
66 return fpCntlBase->Cpu();
67}
68
69//------------------------------------------+-----------------------------------
71
72inline Rw11& Rw11Unit::W11() const
73{
74 return fpCntlBase->W11();
75}
76
77//------------------------------------------+-----------------------------------
79
81{
82 return fpCntlBase->Server();
83}
84
85//------------------------------------------+-----------------------------------
87
89{
90 return fpCntlBase->Connect();
91}
92
93//------------------------------------------+-----------------------------------
95
97{
98 return fpCntlBase->LogFile();
99}
100
101//------------------------------------------+-----------------------------------
103
105{
106 return fStats;
107}
108
109} // end namespace Retro
FIXME_docs.
Definition: RlogFile.hpp:34
FIXME_docs.
Definition: Rstats.hpp:28
FIXME_docs.
Definition: Rw11Cntl.hpp:42
Rw11 & W11() const
FIXME_docs.
Definition: Rw11Cntl.ipp:40
RlinkConnect & Connect() const
FIXME_docs.
Definition: Rw11Cntl.ipp:56
std::string UnitName(size_t index) const
FIXME_docs.
Definition: Rw11Cntl.cpp:122
Rw11Cpu & Cpu() const
FIXME_docs.
Definition: Rw11Cntl.ipp:32
RlinkServer & Server() const
FIXME_docs.
Definition: Rw11Cntl.ipp:48
RlogFile & LogFile() const
FIXME_docs.
Definition: Rw11Cntl.ipp:64
FIXME_docs.
Definition: Rw11Cpu.hpp:66
void SetAttachOpts(const std::string &opts)
FIXME_docs.
Definition: Rw11Unit.ipp:39
RlogFile & LogFile() const
FIXME_docs.
Definition: Rw11Unit.ipp:96
Rstats fStats
statistics
Definition: Rw11Unit.hpp:90
RlinkServer & Server() const
FIXME_docs.
Definition: Rw11Unit.ipp:80
size_t fIndex
unit number
Definition: Rw11Unit.hpp:88
Rw11Cntl & CntlBase() const
FIXME_docs.
Definition: Rw11Unit.ipp:56
Rstats & Stats()
FIXME_docs.
Definition: Rw11Unit.ipp:104
std::string Name() const
FIXME_docs.
Definition: Rw11Unit.ipp:31
size_t Index() const
FIXME_docs.
Definition: Rw11Unit.ipp:23
Rw11 & W11() const
FIXME_docs.
Definition: Rw11Unit.ipp:72
RlinkConnect & Connect() const
FIXME_docs.
Definition: Rw11Unit.ipp:88
std::string fAttachOpts
unit context options for attach
Definition: Rw11Unit.hpp:89
Rw11Cpu & Cpu() const
FIXME_docs.
Definition: Rw11Unit.ipp:64
const std::string & AttachOpts() const
FIXME_docs.
Definition: Rw11Unit.ipp:48
Rw11Cntl * fpCntlBase
plain Rw11Cntl ptr
Definition: Rw11Unit.hpp:87
FIXME_docs.
Definition: Rw11.hpp:31
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47