w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::Rw11CntlBase< TU, NU > Class Template Reference

Implemenation (inline) of Rw11CntlBase. More...

#include <Rw11CntlBase.hpp>

Inheritance diagram for Retro::Rw11CntlBase< TU, NU >:
[legend]
Collaboration diagram for Retro::Rw11CntlBase< TU, NU >:
[legend]

Public Member Functions

 Rw11CntlBase (const std::string &type)
 Constructor.
 
 ~Rw11CntlBase ()
 Destructor.
 
virtual size_t NUnit () const
 FIXME_docs.
 
virtual Rw11UnitUnitBase (size_t index) const
 FIXME_docs.
 
TU & Unit (size_t index) const
 FIXME_docs.
 
const std::shared_ptr< TU > & UnitSPtr (size_t index) const
 FIXME_docs.
 
virtual void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 
- Public Member Functions inherited from Retro::Rw11Cntl
 Rw11Cntl (const std::string &type)
 Constructor.
 
virtual ~Rw11Cntl ()
 Destructor.
 
 Rw11Cntl (const Rw11Cntl &)=delete
 
Rw11Cntloperator= (const Rw11Cntl &)=delete
 
void SetCpu (Rw11Cpu *pcpu)
 FIXME_docs.
 
Rw11CpuCpu () const
 FIXME_docs.
 
Rw11W11 () const
 FIXME_docs.
 
RlinkServerServer () const
 FIXME_docs.
 
RlinkConnectConnect () const
 FIXME_docs.
 
RlogFileLogFile () const
 FIXME_docs.
 
const std::string & Type () const
 FIXME_docs.
 
const std::string & Name () const
 FIXME_docs.
 
uint16_t Base () const
 FIXME_docs.
 
int Lam () const
 FIXME_docs.
 
void SetEnable (bool ena)
 FIXME_docs.
 
bool Enable () const
 FIXME_docs.
 
virtual bool Probe ()
 FIXME_docs.
 
bool ProbeFound () const
 FIXME_docs.
 
uint16_t ProbeDataInt () const
 FIXME_docs.
 
uint16_t ProbeDataRem () const
 FIXME_docs.
 
const Rw11ProbeProbeStatus () const
 FIXME_docs.
 
virtual void Start ()
 FIXME_docs.
 
bool IsStarted () const
 FIXME_docs.
 
virtual size_t NUnit () const =0
 
virtual Rw11UnitUnitBase (size_t index) const =0
 
virtual bool BootCode (size_t unit, std::vector< uint16_t > &code, uint16_t &aload, uint16_t &astart)
 FIXME_docs.
 
virtual void UnitSetup (size_t ind)
 FIXME_docs.
 
virtual void UnitSetupAll ()
 FIXME_docs.
 
void SetTraceLevel (uint32_t level)
 FIXME_docs.
 
uint32_t TraceLevel () const
 FIXME_docs.
 
std::string UnitName (size_t index) const
 FIXME_docs.
 
RstatsStats ()
 FIXME_docs.
 
virtual void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 

Static Public Attributes

static const size_t kNUnit = NU
 number of units
 
- 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
 

Protected Attributes

std::shared_ptr< TU > fspUnit [NU]
 
- Protected Attributes inherited from Retro::Rw11Cntl
Rw11CpufpCpu
 cpu back pointer
 
std::string fType
 controller type
 
std::string fName
 controller name
 
uint16_t fBase
 controller base address
 
int fLam
 attn bit number (-1 of none)
 
bool fEnable
 enable flag
 
bool fStarted
 true if Start() called
 
Rw11Probe fProbe
 controller probe context
 
uint32_t fTraceLevel
 trace level; 0=off;1=cntl
 
RlinkCommandList fPrimClist
 clist for attn primary info
 
Rstats fStats
 statistics
 

Additional Inherited Members

- Public Types inherited from Retro::Rw11Cntl
enum  stats { kStatNAttnHdl = 0 , kStatNAttnNoAct , kDimStat }
 
- Protected Member Functions inherited from Retro::Rw11Cntl
void ConfigCntl (const std::string &name, uint16_t base, int lam, uint16_t probeoff, bool probeint, bool proberem)
 FIXME_docs.
 

Detailed Description

template<class TU, size_t NU>
class Retro::Rw11CntlBase< TU, NU >

Implemenation (inline) of Rw11CntlBase.

FIXME_docs

Definition at line 30 of file Rw11CntlBase.hpp.

Constructor & Destructor Documentation

◆ Rw11CntlBase()

template<class TU , size_t NU>
Retro::Rw11CntlBase< TU, NU >::Rw11CntlBase ( const std::string &  type)
inlineexplicit

Constructor.

Definition at line 35 of file Rw11CntlBase.ipp.

◆ ~Rw11CntlBase()

template<class TU , size_t NU>
Retro::Rw11CntlBase< TU, NU >::~Rw11CntlBase
inline

Destructor.

Definition at line 43 of file Rw11CntlBase.ipp.

Member Function Documentation

◆ NUnit()

template<class TU , size_t NU>
size_t Retro::Rw11CntlBase< TU, NU >::NUnit
inlinevirtual

FIXME_docs.

Implements Retro::Rw11Cntl.

Definition at line 50 of file Rw11CntlBase.ipp.

Referenced by Retro::RtclRw11CntlDEUNA::FactoryCmdConfig().

◆ UnitBase()

template<class TU , size_t NU>
Rw11Unit & Retro::Rw11CntlBase< TU, NU >::UnitBase ( size_t  index) const
inlinevirtual

FIXME_docs.

Implements Retro::Rw11Cntl.

Definition at line 59 of file Rw11CntlBase.ipp.

◆ Unit()

template<class TU , size_t NU>
TU & Retro::Rw11CntlBase< TU, NU >::Unit ( size_t  index) const
inline

FIXME_docs.

Definition at line 68 of file Rw11CntlBase.ipp.

◆ UnitSPtr()

template<class TU , size_t NU>
const std::shared_ptr< TU > & Retro::Rw11CntlBase< TU, NU >::UnitSPtr ( size_t  index) const
inline

FIXME_docs.

Definition at line 78 of file Rw11CntlBase.ipp.

◆ Dump()

Member Data Documentation

◆ kNUnit

template<class TU , size_t NU>
const size_t Retro::Rw11CntlBase< TU, NU >::kNUnit = NU
static

number of units

Definition at line 45 of file Rw11CntlBase.hpp.

◆ fspUnit

template<class TU , size_t NU>
std::shared_ptr<TU> Retro::Rw11CntlBase< TU, NU >::fspUnit[NU]
protected

Definition at line 48 of file Rw11CntlBase.hpp.


The documentation for this class was generated from the following files: