w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11UnitTape.ipp
Go to the documentation of this file.
1// $Id: Rw11UnitTape.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2015-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2018-12-09 1080 1.0.1 use HasVirt(); Virt() returns ref
8// 2015-06-04 686 1.0 Initial version
9// 2015-05-17 683 0.1 First draft
10// ---------------------------------------------------------------------------
11
16// all method definitions in namespace Retro
17namespace Retro {
18
19//------------------------------------------+-----------------------------------
21
22inline const std::string& Rw11UnitTape::Type() const
23{
24 return fType;
25}
26
27//------------------------------------------+-----------------------------------
29
30inline bool Rw11UnitTape::Enabled() const
31{
32 return fEnabled;
33}
34
35//------------------------------------------+-----------------------------------
37
38inline bool Rw11UnitTape::WProt() const
39{
40 return HasVirt() ? Virt().WProt() : fWProt;
41}
42
43//------------------------------------------+-----------------------------------
45
46inline size_t Rw11UnitTape::Capacity() const
47{
48 return HasVirt() ? Virt().Capacity() : fCapacity;
49}
50
51
52} // end namespace Retro
virtual bool Enabled() const
FIXME_docs.
size_t fCapacity
capacity in byte (0=unlimited)
bool fEnabled
unit enabled
std::string fType
drive type
bool WProt() const
FIXME_docs.
const std::string & Type() const
FIXME_docs.
size_t Capacity() const
FIXME_docs.
bool fWProt
unit write protected
Rw11VirtTape & Virt()
FIXME_docs.
bool HasVirt() const
FIXME_docs.
size_t Capacity() const
FIXME_docs.
virtual bool WProt() const
FIXME_docs.
Definition: Rw11Virt.cpp:52
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47