w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <Rw11Unit.hpp>
Public Types | |
enum | stats { kDimStat = 0 } |
Public Member Functions | |
Rw11Unit (Rw11Cntl *pcntl, size_t index) | |
Constructor. | |
virtual | ~Rw11Unit () |
Destructor. | |
Rw11Unit (const Rw11Unit &)=delete | |
Rw11Unit & | operator= (const Rw11Unit &)=delete |
size_t | Index () const |
FIXME_docs. | |
std::string | Name () const |
FIXME_docs. | |
void | SetAttachOpts (const std::string &opts) |
FIXME_docs. | |
const std::string & | AttachOpts () const |
FIXME_docs. | |
Rw11Cntl & | CntlBase () const |
FIXME_docs. | |
Rw11Cpu & | Cpu () const |
FIXME_docs. | |
Rw11 & | W11 () const |
FIXME_docs. | |
RlinkServer & | Server () const |
FIXME_docs. | |
RlinkConnect & | Connect () const |
FIXME_docs. | |
RlogFile & | LogFile () const |
FIXME_docs. | |
virtual bool | Enabled () const |
FIXME_docs. | |
virtual Rw11Virt * | VirtBase () const =0 |
bool | IsAttached () const |
FIXME_docs. | |
const std::string & | AttachUrl () const |
FIXME_docs. | |
virtual bool | Attach (const std::string &url, RerrMsg &emsg) |
FIXME_docs. | |
virtual void | Detach () |
FIXME_docs. | |
Rstats & | Stats () |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Protected Member Functions | |
virtual void | AttachDone () |
FIXME_docs. | |
virtual void | DetachCleanup () |
FIXME_docs. | |
virtual void | DetachDone () |
FIXME_docs. | |
Protected Attributes | |
Rw11Cntl * | fpCntlBase |
plain Rw11Cntl ptr | |
size_t | fIndex |
unit number | |
std::string | fAttachOpts |
unit context options for attach | |
Rstats | fStats |
statistics | |
Private Member Functions | |
Rw11Unit () | |
default ctor blocker | |
Additional Inherited Members | |
Static Public Attributes inherited from Retro::Rbits | |
static const uint8_t | kBBit00 = 1u<< 0 |
static const uint8_t | kBBit01 = 1u<< 1 |
static const uint8_t | kBBit02 = 1u<< 2 |
static const uint8_t | kBBit03 = 1u<< 3 |
static const uint8_t | kBBit04 = 1u<< 4 |
static const uint8_t | kBBit05 = 1u<< 5 |
static const uint8_t | kBBit06 = 1u<< 6 |
static const uint8_t | kBBit07 = 1u<< 7 |
static const uint16_t | kWBit00 = 1u<< 0 |
static const uint16_t | kWBit01 = 1u<< 1 |
static const uint16_t | kWBit02 = 1u<< 2 |
static const uint16_t | kWBit03 = 1u<< 3 |
static const uint16_t | kWBit04 = 1u<< 4 |
static const uint16_t | kWBit05 = 1u<< 5 |
static const uint16_t | kWBit06 = 1u<< 6 |
static const uint16_t | kWBit07 = 1u<< 7 |
static const uint16_t | kWBit08 = 1u<< 8 |
static const uint16_t | kWBit09 = 1u<< 9 |
static const uint16_t | kWBit10 = 1u<<10 |
static const uint16_t | kWBit11 = 1u<<11 |
static const uint16_t | kWBit12 = 1u<<12 |
static const uint16_t | kWBit13 = 1u<<13 |
static const uint16_t | kWBit14 = 1u<<14 |
static const uint16_t | kWBit15 = 1u<<15 |
static const uint32_t | kLBit00 = 1u<< 0 |
static const uint32_t | kLBit01 = 1u<< 1 |
static const uint32_t | kLBit02 = 1u<< 2 |
static const uint32_t | kLBit03 = 1u<< 3 |
static const uint32_t | kLBit04 = 1u<< 4 |
static const uint32_t | kLBit05 = 1u<< 5 |
static const uint32_t | kLBit06 = 1u<< 6 |
static const uint32_t | kLBit07 = 1u<< 7 |
static const uint32_t | kLBit08 = 1u<< 8 |
static const uint32_t | kLBit09 = 1u<< 9 |
static const uint32_t | kLBit10 = 1u<<10 |
static const uint32_t | kLBit11 = 1u<<11 |
static const uint32_t | kLBit12 = 1u<<12 |
static const uint32_t | kLBit13 = 1u<<13 |
static const uint32_t | kLBit14 = 1u<<14 |
static const uint32_t | kLBit15 = 1u<<15 |
static const uint32_t | kLBit16 = 1u<<16 |
static const uint32_t | kLBit17 = 1u<<17 |
static const uint32_t | kLBit18 = 1u<<18 |
static const uint32_t | kLBit19 = 1u<<19 |
static const uint32_t | kLBit20 = 1u<<20 |
static const uint32_t | kLBit21 = 1u<<21 |
static const uint32_t | kLBit22 = 1u<<22 |
static const uint32_t | kLBit23 = 1u<<23 |
static const uint32_t | kLBit24 = 1u<<24 |
static const uint32_t | kLBit25 = 1u<<25 |
static const uint32_t | kLBit26 = 1u<<26 |
static const uint32_t | kLBit27 = 1u<<27 |
static const uint32_t | kLBit28 = 1u<<28 |
static const uint32_t | kLBit29 = 1u<<29 |
static const uint32_t | kLBit30 = 1u<<30 |
static const uint32_t | kLBit31 = 1u<<31 |
FIXME_docs.
Definition at line 39 of file Rw11Unit.hpp.
Enumerator | |
---|---|
kDimStat |
Definition at line 74 of file Rw11Unit.hpp.
Retro::Rw11Unit::Rw11Unit | ( | Rw11Cntl * | pcntl, |
size_t | index | ||
) |
Constructor.
Definition at line 37 of file Rw11Unit.cpp.
|
virtual |
Destructor.
Definition at line 47 of file Rw11Unit.cpp.
|
delete |
|
inlineprivate |
default ctor blocker
Definition at line 84 of file Rw11Unit.hpp.
|
inline |
FIXME_docs.
Definition at line 23 of file Rw11Unit.ipp.
References fIndex.
Referenced by Retro::Rw11UnitPC11::AttachDone(), and Retro::Rw11UnitRHRP::SetType().
|
inline |
FIXME_docs.
Definition at line 31 of file Rw11Unit.ipp.
References fIndex, fpCntlBase, and Retro::Rw11Cntl::UnitName().
Referenced by Retro::Rw11VirtTermTcp::ListenPollHandler(), Retro::RtclRw11CntlDiskBase< TC >::M_default(), Retro::RtclRw11CntlStreamBase< TC >::M_default(), Retro::RtclRw11CntlTapeBase< TC >::M_default(), Retro::RtclRw11CntlTermBase< TC >::M_default(), Retro::RtclRw11Cpu::M_default(), Retro::Rw11VirtTermTcp::Open(), Retro::Rw11VirtTermTcp::RcvPollHandler(), and Retro::Rw11UnitTerm::Snd().
|
inline |
FIXME_docs.
Definition at line 39 of file Rw11Unit.ipp.
References fAttachOpts.
Referenced by Retro::Rw11UnitLP11::Rw11UnitLP11(), and Retro::Rw11UnitPC11::Rw11UnitPC11().
|
inline |
FIXME_docs.
Definition at line 48 of file Rw11Unit.ipp.
References fAttachOpts.
Referenced by Retro::Rw11VirtStream::Open().
|
inline |
FIXME_docs.
Definition at line 56 of file Rw11Unit.ipp.
References fpCntlBase.
Referenced by Retro::Rw11Virt::Cntl().
|
inline |
FIXME_docs.
Definition at line 64 of file Rw11Unit.ipp.
References Retro::Rw11Cntl::Cpu(), and fpCntlBase.
Referenced by Retro::Rw11Virt::Cpu().
|
inline |
FIXME_docs.
Definition at line 72 of file Rw11Unit.ipp.
References fpCntlBase, and Retro::Rw11Cntl::W11().
Referenced by Retro::Rw11Virt::W11().
|
inline |
FIXME_docs.
Definition at line 80 of file Rw11Unit.ipp.
References fpCntlBase, and Retro::Rw11Cntl::Server().
Referenced by Retro::Rw11Virt::Server().
|
inline |
FIXME_docs.
Definition at line 88 of file Rw11Unit.ipp.
References Retro::Rw11Cntl::Connect(), and fpCntlBase.
Referenced by Retro::Rw11UnitTerm::Dump(), and Retro::Rw11UnitTerm::RcvCallback().
|
inline |
FIXME_docs.
Definition at line 96 of file Rw11Unit.ipp.
References fpCntlBase, and Retro::Rw11Cntl::LogFile().
Referenced by Retro::Rw11Virt::LogFile().
|
virtual |
FIXME_docs.
Reimplemented in Retro::Rw11UnitDisk, and Retro::Rw11UnitTape.
Definition at line 53 of file Rw11Unit.cpp.
|
pure virtual |
bool Retro::Rw11Unit::IsAttached | ( | ) | const |
FIXME_docs.
Definition at line 61 of file Rw11Unit.cpp.
References VirtBase().
Referenced by Retro::RtclRw11CntlDiskBase< TC >::M_default(), Retro::RtclRw11CntlStreamBase< TC >::M_default(), Retro::RtclRw11CntlTapeBase< TC >::M_default(), Retro::RtclRw11CntlTermBase< TC >::M_default(), and Retro::RtclRw11Cpu::M_default().
const std::string & Retro::Rw11Unit::AttachUrl | ( | ) | const |
FIXME_docs.
Definition at line 69 of file Rw11Unit.cpp.
References Retro::RparseUrl::Url(), Retro::Rw11Virt::Url(), and VirtBase().
Referenced by Retro::RtclRw11CntlDiskBase< TC >::M_default(), Retro::RtclRw11CntlStreamBase< TC >::M_default(), Retro::RtclRw11CntlTapeBase< TC >::M_default(), Retro::RtclRw11CntlTermBase< TC >::M_default(), and Retro::RtclRw11Cpu::M_default().
|
virtual |
FIXME_docs.
Reimplemented in Retro::Rw11UnitVirt< TV >, Retro::Rw11UnitVirt< Rw11VirtEth >, Retro::Rw11UnitVirt< Rw11VirtDisk >, Retro::Rw11UnitVirt< Rw11VirtStream >, Retro::Rw11UnitVirt< Rw11VirtTape >, and Retro::Rw11UnitVirt< Rw11VirtTerm >.
Definition at line 82 of file Rw11Unit.cpp.
References Retro::RerrMsg::Init().
|
virtual |
FIXME_docs.
Reimplemented in Retro::Rw11UnitVirt< TV >, Retro::Rw11UnitVirt< Rw11VirtEth >, Retro::Rw11UnitVirt< Rw11VirtDisk >, Retro::Rw11UnitVirt< Rw11VirtStream >, Retro::Rw11UnitVirt< Rw11VirtTape >, and Retro::Rw11UnitVirt< Rw11VirtTerm >.
Definition at line 91 of file Rw11Unit.cpp.
Referenced by Retro::RtclRw11Unit::M_detach().
|
inline |
|
virtual |
FIXME_docs.
Reimplemented in Retro::Rw11UnitDEUNA, Retro::Rw11UnitDisk, Retro::Rw11UnitDiskBase< TC >, Retro::Rw11UnitDiskBase< Rw11CntlRHRP >, Retro::Rw11UnitDiskBase< Rw11CntlRK11 >, Retro::Rw11UnitDiskBase< Rw11CntlRL11 >, Retro::Rw11UnitDL11, Retro::Rw11UnitDZ11, Retro::Rw11UnitLP11, Retro::Rw11UnitPC11, Retro::Rw11UnitRHRP, Retro::Rw11UnitRK11, Retro::Rw11UnitRL11, Retro::Rw11UnitStream, Retro::Rw11UnitStreamBase< TC >, Retro::Rw11UnitStreamBase< Rw11CntlLP11 >, Retro::Rw11UnitStreamBase< Rw11CntlPC11 >, Retro::Rw11UnitTape, Retro::Rw11UnitTapeBase< TC >, Retro::Rw11UnitTapeBase< Rw11CntlTM11 >, Retro::Rw11UnitTerm, Retro::Rw11UnitTermBase< TC >, Retro::Rw11UnitTermBase< Rw11CntlDL11 >, Retro::Rw11UnitTermBase< Rw11CntlDZ11 >, Retro::Rw11UnitTM11, Retro::Rw11UnitVirt< TV >, Retro::Rw11UnitVirt< Rw11VirtEth >, Retro::Rw11UnitVirt< Rw11VirtDisk >, Retro::Rw11UnitVirt< Rw11VirtStream >, Retro::Rw11UnitVirt< Rw11VirtTape >, and Retro::Rw11UnitVirt< Rw11VirtTerm >.
Definition at line 99 of file Rw11Unit.cpp.
References Retro::Rstats::Dump(), fAttachOpts, fIndex, fpCntlBase, and fStats.
Referenced by Retro::Rw11UnitVirt< TV >::Dump(), and Retro::RtclRw11Unit::M_dump().
|
protectedvirtual |
FIXME_docs.
Reimplemented in Retro::Rw11UnitDEUNA, Retro::Rw11UnitDiskBase< TC >, Retro::Rw11UnitDiskBase< Rw11CntlRHRP >, Retro::Rw11UnitDiskBase< Rw11CntlRK11 >, Retro::Rw11UnitDiskBase< Rw11CntlRL11 >, Retro::Rw11UnitPC11, Retro::Rw11UnitStreamBase< TC >, Retro::Rw11UnitStreamBase< Rw11CntlLP11 >, Retro::Rw11UnitStreamBase< Rw11CntlPC11 >, Retro::Rw11UnitTapeBase< TC >, Retro::Rw11UnitTapeBase< Rw11CntlTM11 >, Retro::Rw11UnitTerm, Retro::Rw11UnitTermBase< TC >, Retro::Rw11UnitTermBase< Rw11CntlDL11 >, and Retro::Rw11UnitTermBase< Rw11CntlDZ11 >.
Definition at line 115 of file Rw11Unit.cpp.
|
protectedvirtual |
FIXME_docs.
Definition at line 121 of file Rw11Unit.cpp.
|
protectedvirtual |
FIXME_docs.
Reimplemented in Retro::Rw11UnitDEUNA, Retro::Rw11UnitDiskBase< TC >, Retro::Rw11UnitDiskBase< Rw11CntlRHRP >, Retro::Rw11UnitDiskBase< Rw11CntlRK11 >, Retro::Rw11UnitDiskBase< Rw11CntlRL11 >, Retro::Rw11UnitStreamBase< TC >, Retro::Rw11UnitStreamBase< Rw11CntlLP11 >, Retro::Rw11UnitStreamBase< Rw11CntlPC11 >, Retro::Rw11UnitTapeBase< TC >, Retro::Rw11UnitTapeBase< Rw11CntlTM11 >, Retro::Rw11UnitTermBase< TC >, Retro::Rw11UnitTermBase< Rw11CntlDL11 >, and Retro::Rw11UnitTermBase< Rw11CntlDZ11 >.
Definition at line 127 of file Rw11Unit.cpp.
|
protected |
|
protected |
|
protected |
unit context options for attach
Definition at line 89 of file Rw11Unit.hpp.
Referenced by AttachOpts(), Dump(), and SetAttachOpts().
|
protected |
statistics
Definition at line 90 of file Rw11Unit.hpp.
Referenced by Dump(), Retro::Rw11UnitStream::Rw11UnitStream(), Retro::Rw11UnitTerm::Rw11UnitTerm(), Retro::Rw11UnitTerm::Snd(), Retro::Rw11UnitTerm::StatIncRx(), Retro::Rw11UnitTerm::StatIncTx(), Stats(), Retro::Rw11UnitStream::VirtRead(), and Retro::Rw11UnitStream::VirtWrite().