w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RlinkConnect Class Reference

FIXME_docs. More...

#include <RlinkConnect.hpp>

Inheritance diagram for Retro::RlinkConnect:
[legend]
Collaboration diagram for Retro::RlinkConnect:
[legend]

Public Types

enum  stats {
  kStatNExec = 0 , kStatNExecPart , kStatNCmd , kStatNRreg ,
  kStatNRblk , kStatNWreg , kStatNWblk , kStatNLabo ,
  kStatNAttn , kStatNInit , kStatNRblkWord , kStatNWblkWord ,
  kStatNExpData , kStatNExpDone , kStatNExpStat , kStatNNoExpStat ,
  kStatNChkData , kStatNChkDone , kStatNChkStat , kStatNSndOob ,
  kStatNErrMiss , kStatNErrCmd , kStatNErrLen , kStatNErrCrc ,
  kStatNErrNak , kDimStat
}
 

Public Member Functions

 RlinkConnect ()
 Default constructor.
 
 ~RlinkConnect ()
 Destructor.
 
 RlinkConnect (const RlinkConnect &)=delete
 
RlinkConnectoperator= (const RlinkConnect &)=delete
 
bool Open (const std::string &name, RerrMsg &emsg)
 FIXME_docs.
 
void Close ()
 FIXME_docs.
 
bool IsOpen () const
 FIXME_docs.
 
bool HasPort () const
 FIXME_docs.
 
RlinkPortPort ()
 FIXME_docs.
 
const RlinkPortPort () const
 FIXME_docs.
 
bool LinkInit (RerrMsg &emsg)
 FIXME_docs.
 
bool LinkInitDone () const
 FIXME_docs.
 
RlinkContextContext ()
 FIXME_docs.
 
void SetServer (RlinkServer *pserv)
 FIXME_docs.
 
RlinkServerServer () const
 FIXME_docs.
 
bool ServerActive () const
 Indicates whether server is active.
 
bool ServerActiveInside () const
 Indicates whether server is active and caller is inside server thread.
 
bool ServerActiveOutside () const
 Indicates whether server is active and caller is outside server thread.
 
void lock ()
 FIXME_docs.
 
bool try_lock ()
 FIXME_docs.
 
void unlock ()
 FIXME_docs.
 
bool Exec (RlinkCommandList &clist, RerrMsg &emsg)
 FIXME_docs.
 
bool Exec (RlinkCommandList &clist, RlinkContext &cntx, RerrMsg &emsg)
 FIXME_docs.
 
void Exec (RlinkCommandList &clist)
 FIXME_docs.
 
void Exec (RlinkCommandList &clist, RlinkContext &cntx)
 FIXME_docs.
 
int WaitAttn (const Rtime &timeout, Rtime &twait, uint16_t &apat, RerrMsg &emsg)
 Wait for an attention notify.
 
bool SndOob (uint16_t addr, uint16_t data, RerrMsg &emsg)
 FIXME_docs.
 
bool SndAttn (RerrMsg &emsg)
 FIXME_docs.
 
uint32_t SysId () const
 FIXME_docs.
 
uint32_t UsrAcc () const
 FIXME_docs.
 
size_t RbufSize () const
 FIXME_docs.
 
size_t BlockSizeMax () const
 FIXME_docs.
 
size_t BlockSizePrudent () const
 FIXME_docs.
 
bool HasRbmon () const
 FIXME_docs.
 
bool AddrMapInsert (const std::string &name, uint16_t addr)
 FIXME_docs.
 
bool AddrMapErase (const std::string &name)
 FIXME_docs.
 
bool AddrMapErase (uint16_t addr)
 FIXME_docs.
 
void AddrMapClear ()
 FIXME_docs.
 
const RlinkAddrMapAddrMap () const
 FIXME_docs.
 
RstatsStats ()
 FIXME_docs.
 
RstatsSndStats ()
 FIXME_docs.
 
RstatsRcvStats ()
 FIXME_docs.
 
void SetLogBaseAddr (uint32_t base)
 FIXME_docs.
 
void SetLogBaseData (uint32_t base)
 FIXME_docs.
 
void SetLogBaseStat (uint32_t base)
 FIXME_docs.
 
void SetPrintLevel (uint32_t lvl)
 FIXME_docs.
 
void SetDumpLevel (uint32_t lvl)
 FIXME_docs.
 
void SetTraceLevel (uint32_t lvl)
 FIXME_docs.
 
void SetTimeout (const Rtime &timeout)
 FIXME_docs.
 
uint32_t LogBaseAddr () const
 FIXME_docs.
 
uint32_t LogBaseData () const
 FIXME_docs.
 
uint32_t LogBaseStat () const
 FIXME_docs.
 
uint32_t PrintLevel () const
 FIXME_docs.
 
uint32_t DumpLevel () const
 FIXME_docs.
 
uint32_t TraceLevel () const
 FIXME_docs.
 
const RtimeTimeout () const
 FIXME_docs.
 
bool LogOpen (const std::string &name, RerrMsg &emsg)
 FIXME_docs.
 
void LogUseStream (std::ostream *pstr, const std::string &name="")
 FIXME_docs.
 
RlogFileLogFile () const
 FIXME_docs.
 
const std::shared_ptr< RlogFile > & LogFileSPtr () const
 FIXME_docs.
 
void SetLogFileName (const std::string &name)
 FIXME_docs.
 
const std::string & LogFileName () const
 FIXME_docs.
 
void Print (std::ostream &os) const
 FIXME_docs.
 
void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 
void HandleUnsolicitedData ()
 Handle unsolicited data from port.
 

Static Public Attributes

static const uint16_t kRbaddr_RLCNTL = 0xffff
 rlink core reg RLCNTL
 
static const uint16_t kRbaddr_RLSTAT = 0xfffe
 rlink core reg RLSTAT
 
static const uint16_t kRbaddr_RLID1 = 0xfffd
 rlink core reg RLID1
 
static const uint16_t kRbaddr_RLID0 = 0xfffc
 rlink core reg RLID0
 
static const uint16_t kRbaddr_RLUA1 = 0xfffb
 rlink opt. reg RLUA1
 
static const uint16_t kRbaddr_RLUA0 = 0xfffa
 rlink opt. reg RLUA0
 
static const uint16_t kRbaddr_RMBASE = 0xffe8
 rlink opt. rbd_rbmon
 
static const uint16_t kRLCNTL_M_AnEna = kWBit15
 RLCNTL: an enable.
 
static const uint16_t kRLCNTL_M_AtoEna = kWBit14
 RLCNTL: ato enable.
 
static const uint16_t kRLCNTL_M_AtoVal = 0x00ff
 RLCNTL: ato value.
 
static const uint16_t kRLSTAT_V_LCmd = 8
 RLSTAT: lcmd.
 
static const uint16_t kRLSTAT_B_LCmd = 0x00ff
 RLSTAT: lcmd.
 
static const uint16_t kRLSTAT_M_BAbo = kWBit07
 RLSTAT: babo.
 
static const uint16_t kRLSTAT_M_RBSize = 0x0007
 RLSTAT: rbuf size.
 
static const uint16_t kSBCNTL_V_RLMON = 15
 SBCNTL: rlmon enable bit.
 
static const uint16_t kSBCNTL_V_RLBMON = 14
 SBCNTL: rlbmon enable bit.
 
static const uint16_t kSBCNTL_V_RBMON = 13
 SBCNTL: rbmon enable bit.
 
static const uint16_t kRbufBlkDelta =16
 rbuf needed for rblk or wblk
 
static const uint16_t kRbufPrudentDelta =512
 Rbuf space reserve.
 
- 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 Member Functions

bool ExecPart (RlinkCommandList &clist, size_t ibeg, size_t iend, RerrMsg &emsg)
 FIXME_docs.
 
void EncodeRequest (RlinkCommandList &clist, size_t ibeg, size_t iend)
 FIXME_docs.
 
int DecodeResponse (RlinkCommandList &clist, size_t ibeg, size_t iend)
 FIXME_docs.
 
bool DecodeAttnNotify (uint16_t &apat)
 Decodes an attention notify packet.
 
bool ReadResponse (const Rtime &timeout, RerrMsg &emsg)
 Read data from port until complete response packet seen.
 
void AcceptResponse ()
 Accept response packet received with ReadResponse().
 
void ProcessUnsolicitedData ()
 Process data still pending in the input buffer.
 
void ProcessAttnNotify ()
 Process attention notify packets.
 
void BadPort (const char *meth)
 Port not connected or not open abort.
 

Protected Attributes

RlinkPort::port_uptr_t fupPort
 uptr to port
 
bool fLinkInitDeferred
 noinit attr seen on Open
 
bool fLinkInitDone
 LinkInit done.
 
RlinkServerfpServ
 ptr to server (optional)
 
uint8_t fSeqNumber [8]
 command sequence number
 
RlinkPacketBufSnd fSndPkt
 send packet buffer
 
RlinkPacketBufRcv fRcvPkt
 receive packet buffer
 
RlinkContext fContext
 default context
 
RlinkAddrMap fAddrMap
 name<->address mapping
 
Rstats fStats
 statistics
 
uint32_t fLogBaseAddr
 log: base for addr
 
uint32_t fLogBaseData
 log: base for data
 
uint32_t fLogBaseStat
 log: base for stat
 
uint32_t fPrintLevel
 print 0=off,1=err,2=chk,3=all
 
uint32_t fDumpLevel
 dump 0=off,1=err,2=chk,3=all
 
uint32_t fTraceLevel
 trace 0=off,1=buf,2=char
 
Rtime fTimeout
 response timeout
 
std::shared_ptr< RlogFilefspLog
 log file ptr
 
std::recursive_mutex fConnectMutex
 mutex to lock whole connect
 
uint16_t fAttnNotiPatt
 attn notifier pattern
 
Rtime fTsLastAttnNoti
 time stamp last attn notify
 
uint32_t fSysId
 SYSID of connected device.
 
uint32_t fUsrAcc
 USR_ACCESS of connected device.
 
size_t fRbufSize
 Rbuf size (in bytes)
 
bool fHasRbmon
 has rbd_rbmon (rbus monitor)
 

Detailed Description

FIXME_docs.

Definition at line 76 of file RlinkConnect.hpp.

Member Enumeration Documentation

◆ stats

Enumerator
kStatNExec 

Exec() calls.

kStatNExecPart 

ExecPart() calls.

kStatNCmd 

commands executed

kStatNRreg 

rreg commands

kStatNRblk 

rblk commands

kStatNWreg 

wreg commands

kStatNWblk 

wblk commands

kStatNLabo 

labo commands

kStatNAttn 

attn commands

kStatNInit 

init commands

kStatNRblkWord 

words rcvd with rblk

kStatNWblkWord 

words send with wblk

kStatNExpData 

expect for data defined

kStatNExpDone 

expect for done defined

kStatNExpStat 

expect for stat explicit

kStatNNoExpStat 

no expect for stat

kStatNChkData 

expect data failed

kStatNChkDone 

expect done failed

kStatNChkStat 

expect stat failed

kStatNSndOob 

SndOob() calls.

kStatNErrMiss 

decode: missing data

kStatNErrCmd 

decode: command mismatch

kStatNErrLen 

decode: length mismatch

kStatNErrCrc 

decode: crc mismatch

kStatNErrNak 

decode: nak seen

kDimStat 

Definition at line 196 of file RlinkConnect.hpp.

Constructor & Destructor Documentation

◆ RlinkConnect() [1/2]

◆ ~RlinkConnect()

Retro::RlinkConnect::~RlinkConnect ( )

Destructor.

Definition at line 162 of file RlinkConnect.cpp.

References Retro::Rtools::Catch2Cerr(), and Close().

◆ RlinkConnect() [2/2]

Retro::RlinkConnect::RlinkConnect ( const RlinkConnect )
delete

Member Function Documentation

◆ operator=()

RlinkConnect & Retro::RlinkConnect::operator= ( const RlinkConnect )
delete

◆ Open()

◆ Close()

void Retro::RlinkConnect::Close ( )

◆ IsOpen()

bool Retro::RlinkConnect::IsOpen ( ) const
inline

◆ HasPort()

bool Retro::RlinkConnect::HasPort ( ) const
inline

FIXME_docs.

Definition at line 45 of file RlinkConnect.ipp.

References fupPort.

Referenced by Close(), Dump(), Open(), and SetTraceLevel().

◆ Port() [1/2]

RlinkPort & Retro::RlinkConnect::Port ( )
inline

◆ Port() [2/2]

const RlinkPort & Retro::RlinkConnect::Port ( ) const
inline

FIXME_docs.

Definition at line 61 of file RlinkConnect.ipp.

References fupPort.

◆ LinkInit()

◆ LinkInitDone()

bool Retro::RlinkConnect::LinkInitDone ( ) const
inline

FIXME_docs.

Definition at line 69 of file RlinkConnect.ipp.

References fLinkInitDone.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ Context()

◆ SetServer()

void Retro::RlinkConnect::SetServer ( RlinkServer pserv)
inline

FIXME_docs.

Definition at line 85 of file RlinkConnect.ipp.

References fpServ.

◆ Server()

RlinkServer * Retro::RlinkConnect::Server ( ) const
inline

FIXME_docs.

Definition at line 94 of file RlinkConnect.ipp.

References fpServ.

◆ ServerActive()

bool Retro::RlinkConnect::ServerActive ( ) const

Indicates whether server is active.

Returns
true if server active.

Definition at line 283 of file RlinkConnect.cpp.

References fpServ, and Retro::RlinkServer::IsActive().

Referenced by ProcessAttnNotify().

◆ ServerActiveInside()

bool Retro::RlinkConnect::ServerActiveInside ( ) const

Indicates whether server is active and caller is inside server thread.

Returns
true if server active and method is called from server thread.

Definition at line 294 of file RlinkConnect.cpp.

References fpServ, and Retro::RlinkServer::IsActiveInside().

Referenced by HandleUnsolicitedData().

◆ ServerActiveOutside()

bool Retro::RlinkConnect::ServerActiveOutside ( ) const

Indicates whether server is active and caller is outside server thread.

Returns
true if server active and method is called from a thread other than the server thread.

Definition at line 306 of file RlinkConnect.cpp.

References fpServ, and Retro::RlinkServer::IsActiveOutside().

Referenced by Exec(), and WaitAttn().

◆ lock()

void Retro::RlinkConnect::lock ( )

FIXME_docs.

Definition at line 314 of file RlinkConnect.cpp.

References fConnectMutex.

Referenced by Exec(), HandleUnsolicitedData(), SndAttn(), SndOob(), and WaitAttn().

◆ try_lock()

bool Retro::RlinkConnect::try_lock ( )

FIXME_docs.

Definition at line 323 of file RlinkConnect.cpp.

References fConnectMutex.

◆ unlock()

void Retro::RlinkConnect::unlock ( )

FIXME_docs.

Definition at line 331 of file RlinkConnect.cpp.

References fConnectMutex.

◆ Exec() [1/4]

bool Retro::RlinkConnect::Exec ( RlinkCommandList clist,
RerrMsg emsg 
)
inline

FIXME_docs.

Definition at line 101 of file RlinkConnect.ipp.

References Exec(), and fContext.

Referenced by Retro::RlinkServer::Exec(), Exec(), LinkInit(), and Retro::Rw11Cpu::SetupOpt().

◆ Exec() [2/4]

◆ Exec() [3/4]

void Retro::RlinkConnect::Exec ( RlinkCommandList clist)
inline

FIXME_docs.

Definition at line 108 of file RlinkConnect.ipp.

References Exec(), and fContext.

◆ Exec() [4/4]

void Retro::RlinkConnect::Exec ( RlinkCommandList clist,
RlinkContext cntx 
)

FIXME_docs.

Definition at line 440 of file RlinkConnect.cpp.

References Retro::RlinkCommandList::Dump(), Exec(), and fspLog.

◆ WaitAttn()

int Retro::RlinkConnect::WaitAttn ( const Rtime timeout,
Rtime twait,
uint16_t &  apat,
RerrMsg emsg 
)

Wait for an attention notify.

First checks whether there are received and not yet harvested notifies. In that case the cummulative pattern of these pending notifies is returned in apat, and a 0 return value.

If a positive timeout is specified the method waits this long for a valid and non-zero attention notify.

Parameters
timeoutmaximal time to wait. Must be non-negative. A zero timeout can be used to only harvest pending notifies without waiting for new ones.
[out]twaitwait time
[out]apatcummulative attention pattern
[out]emsgcontains error description (mainly from port layer)
Returns
>=0 on success or a negative value indicating an error:
  • 0 if there was already a received and not yet harvested notify
  • 1 finite duration wait
  • -1 indicates timeout (apat will be 0)
  • -2 indicates port IO error (emsg will contain information)
Exceptions
Rexceptionif called outside of an active server
Precondition
ServerActiveOutside() must be false.

Definition at line 484 of file RlinkConnect.cpp.

References Retro::RlinkPacketBufRcv::AcceptPacket(), BadPort(), Retro::Rtime::Clear(), fAttnNotiPatt, fRcvPkt, fspLog, Retro::Rtime::GetClock(), IsOpen(), Retro::Rtime::IsPositive(), Retro::RlinkPort::kErr, Retro::RlinkPacketBufRcv::kPktAttn, Retro::RlinkPacketBufRcv::kPktPend, Retro::RlinkPort::kTout, lock(), Retro::RlinkPacketBufRcv::PacketState(), Port(), ProcessAttnNotify(), Retro::RlinkPacketBufRcv::ProcessData(), Retro::RlinkPacketBufRcv::ReadData(), and ServerActiveOutside().

Referenced by Retro::RtclRw11Cpu::M_wtcpu(), and Retro::RtclRlinkConnect::M_wtlam().

◆ SndOob()

bool Retro::RlinkConnect::SndOob ( uint16_t  addr,
uint16_t  data,
RerrMsg emsg 
)

◆ SndAttn()

bool Retro::RlinkConnect::SndAttn ( RerrMsg emsg)

FIXME_docs.

Definition at line 554 of file RlinkConnect.cpp.

References BadPort(), fSndPkt, IsOpen(), lock(), Port(), and Retro::RlinkPacketBufSnd::SndAttn().

◆ SysId()

uint32_t Retro::RlinkConnect::SysId ( ) const
inline

FIXME_docs.

Definition at line 116 of file RlinkConnect.ipp.

References fSysId.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ UsrAcc()

uint32_t Retro::RlinkConnect::UsrAcc ( ) const
inline

FIXME_docs.

Definition at line 123 of file RlinkConnect.ipp.

References fUsrAcc.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ RbufSize()

size_t Retro::RlinkConnect::RbufSize ( ) const
inline

FIXME_docs.

Definition at line 130 of file RlinkConnect.ipp.

References fRbufSize.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ BlockSizeMax()

size_t Retro::RlinkConnect::BlockSizeMax ( ) const
inline

◆ BlockSizePrudent()

size_t Retro::RlinkConnect::BlockSizePrudent ( ) const
inline

◆ HasRbmon()

bool Retro::RlinkConnect::HasRbmon ( ) const
inline

FIXME_docs.

Definition at line 151 of file RlinkConnect.ipp.

References fHasRbmon.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ AddrMapInsert()

bool Retro::RlinkConnect::AddrMapInsert ( const std::string &  name,
uint16_t  addr 
)
inline

◆ AddrMapErase() [1/2]

bool Retro::RlinkConnect::AddrMapErase ( const std::string &  name)
inline

FIXME_docs.

Definition at line 167 of file RlinkConnect.ipp.

References Retro::RlinkAddrMap::Erase(), and fAddrMap.

◆ AddrMapErase() [2/2]

bool Retro::RlinkConnect::AddrMapErase ( uint16_t  addr)
inline

FIXME_docs.

Definition at line 175 of file RlinkConnect.ipp.

References Retro::RlinkAddrMap::Erase(), and fAddrMap.

◆ AddrMapClear()

void Retro::RlinkConnect::AddrMapClear ( )
inline

FIXME_docs.

Definition at line 183 of file RlinkConnect.ipp.

References Retro::RlinkAddrMap::Clear(), and fAddrMap.

Referenced by Retro::RtclRlinkConnect::M_amap().

◆ AddrMap()

const RlinkAddrMap & Retro::RlinkConnect::AddrMap ( ) const
inline

FIXME_docs.

Definition at line 191 of file RlinkConnect.ipp.

References fAddrMap.

Referenced by Exec(), Retro::RtclRlinkConnect::M_amap(), and Retro::RtclRw11Cpu::M_rmap().

◆ Stats()

Rstats & Retro::RlinkConnect::Stats ( )
inline

FIXME_docs.

Definition at line 199 of file RlinkConnect.ipp.

References fStats.

◆ SndStats()

Rstats & Retro::RlinkConnect::SndStats ( )
inline

FIXME_docs.

Definition at line 207 of file RlinkConnect.ipp.

References fSndPkt, and Retro::RlinkPacketBuf::Stats().

◆ RcvStats()

Rstats & Retro::RlinkConnect::RcvStats ( )
inline

FIXME_docs.

Definition at line 215 of file RlinkConnect.ipp.

References fRcvPkt, and Retro::RlinkPacketBuf::Stats().

◆ SetLogBaseAddr()

void Retro::RlinkConnect::SetLogBaseAddr ( uint32_t  base)

FIXME_docs.

Definition at line 564 of file RlinkConnect.cpp.

References fLogBaseAddr.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ SetLogBaseData()

void Retro::RlinkConnect::SetLogBaseData ( uint32_t  base)

FIXME_docs.

Definition at line 576 of file RlinkConnect.cpp.

References fLogBaseData.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ SetLogBaseStat()

void Retro::RlinkConnect::SetLogBaseStat ( uint32_t  base)

FIXME_docs.

Definition at line 588 of file RlinkConnect.cpp.

References fLogBaseStat.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ SetPrintLevel()

void Retro::RlinkConnect::SetPrintLevel ( uint32_t  lvl)

FIXME_docs.

Definition at line 600 of file RlinkConnect.cpp.

References fPrintLevel.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ SetDumpLevel()

void Retro::RlinkConnect::SetDumpLevel ( uint32_t  lvl)

FIXME_docs.

Definition at line 609 of file RlinkConnect.cpp.

References fDumpLevel.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ SetTraceLevel()

void Retro::RlinkConnect::SetTraceLevel ( uint32_t  lvl)

FIXME_docs.

Definition at line 618 of file RlinkConnect.cpp.

References fTraceLevel, HasPort(), Port(), and Retro::RlinkPort::SetTraceLevel().

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ SetTimeout()

void Retro::RlinkConnect::SetTimeout ( const Rtime timeout)

FIXME_docs.

Definition at line 628 of file RlinkConnect.cpp.

References fTimeout, and Retro::Rtime::IsPositive().

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ LogBaseAddr()

uint32_t Retro::RlinkConnect::LogBaseAddr ( ) const
inline

FIXME_docs.

Definition at line 223 of file RlinkConnect.ipp.

References fLogBaseAddr.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ LogBaseData()

uint32_t Retro::RlinkConnect::LogBaseData ( ) const
inline

FIXME_docs.

Definition at line 231 of file RlinkConnect.ipp.

References fLogBaseData.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ LogBaseStat()

uint32_t Retro::RlinkConnect::LogBaseStat ( ) const
inline

FIXME_docs.

Definition at line 239 of file RlinkConnect.ipp.

References fLogBaseStat.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ PrintLevel()

uint32_t Retro::RlinkConnect::PrintLevel ( ) const
inline

FIXME_docs.

Definition at line 247 of file RlinkConnect.ipp.

References fPrintLevel.

Referenced by Retro::RtclRlinkConnect::M_default(), and Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ DumpLevel()

uint32_t Retro::RlinkConnect::DumpLevel ( ) const
inline

FIXME_docs.

Definition at line 255 of file RlinkConnect.ipp.

References fDumpLevel.

Referenced by Retro::RtclRlinkConnect::M_default(), and Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ TraceLevel()

uint32_t Retro::RlinkConnect::TraceLevel ( ) const
inline

FIXME_docs.

Definition at line 263 of file RlinkConnect.ipp.

References fTraceLevel.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ Timeout()

const Rtime & Retro::RlinkConnect::Timeout ( ) const
inline

FIXME_docs.

Definition at line 271 of file RlinkConnect.ipp.

References fTimeout.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ LogOpen()

bool Retro::RlinkConnect::LogOpen ( const std::string &  name,
RerrMsg emsg 
)

FIXME_docs.

Definition at line 640 of file RlinkConnect.cpp.

References fspLog.

Referenced by SetLogFileName().

◆ LogUseStream()

void Retro::RlinkConnect::LogUseStream ( std::ostream *  pstr,
const std::string &  name = "" 
)

FIXME_docs.

Definition at line 652 of file RlinkConnect.cpp.

References fspLog.

◆ LogFile()

RlogFile & Retro::RlinkConnect::LogFile ( ) const
inline

FIXME_docs.

Definition at line 279 of file RlinkConnect.ipp.

References fspLog.

Referenced by LogFileName(), Retro::RtclRlinkConnect::M_default(), and Retro::RtclRlinkConnect::M_log().

◆ LogFileSPtr()

const std::shared_ptr< RlogFile > & Retro::RlinkConnect::LogFileSPtr ( ) const
inline

FIXME_docs.

Definition at line 287 of file RlinkConnect.ipp.

References fspLog.

◆ SetLogFileName()

void Retro::RlinkConnect::SetLogFileName ( const std::string &  name)

FIXME_docs.

Definition at line 661 of file RlinkConnect.cpp.

References LogOpen(), and Retro::RerrMsg::Text().

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ LogFileName()

const std::string & Retro::RlinkConnect::LogFileName ( ) const
inline

FIXME_docs.

Definition at line 295 of file RlinkConnect.ipp.

References LogFile(), and Retro::RlogFile::Name().

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect().

◆ Print()

void Retro::RlinkConnect::Print ( std::ostream &  os) const

FIXME_docs.

Definition at line 674 of file RlinkConnect.cpp.

Referenced by Retro::RtclRlinkConnect::M_print().

◆ Dump()

◆ HandleUnsolicitedData()

void Retro::RlinkConnect::HandleUnsolicitedData ( )

Handle unsolicited data from port.

Called by RlinkServer to process unsolicited input data. Will read all pending data from input port and process it with ProcessUnsolicitedData().

Exceptions
Rexceptionif not called from inside of an active server
Precondition
ServerActiveInside() must be true.

Definition at line 735 of file RlinkConnect.cpp.

References BadPort(), fRcvPkt, fspLog, IsOpen(), lock(), Port(), ProcessUnsolicitedData(), Retro::RlinkPacketBufRcv::ReadData(), and ServerActiveInside().

◆ ExecPart()

bool Retro::RlinkConnect::ExecPart ( RlinkCommandList clist,
size_t  ibeg,
size_t  iend,
RerrMsg emsg 
)
protected

◆ EncodeRequest()

◆ DecodeResponse()

int Retro::RlinkConnect::DecodeResponse ( RlinkCommandList clist,
size_t  ibeg,
size_t  iend 
)
protected

FIXME_docs.

Definition at line 875 of file RlinkConnect.cpp.

References Retro::RlinkCommand::BlockDone(), Retro::RlinkCommand::BlockPointer(), Retro::RlinkCommand::BlockSize(), Retro::RlinkPacketBufRcv::CheckCrc(), Retro::RlinkPacketBufRcv::CheckNak(), Retro::RlinkPacketBufRcv::CheckSize(), Retro::RlinkCommand::Command(), Retro::RlinkCommand::Data(), Retro::RlinkCommand::Expect(), Retro::RlinkCommand::ExpectStatusSet(), fRcvPkt, fspLog, fStats, Retro::RlinkPacketBufRcv::GetWithCrc(), Retro::RlinkCommand::HasExpect(), Retro::Rstats::Inc(), Retro::RlinkCommand::kCmdAttn, Retro::RlinkCommand::kCmdInit, Retro::RlinkCommand::kCmdLabo, Retro::RlinkCommand::kCmdRblk, Retro::RlinkCommand::kCmdRreg, Retro::RlinkCommand::kCmdWblk, Retro::RlinkCommand::kCmdWreg, Retro::RlinkCommand::kFlagChkData, Retro::RlinkCommand::kFlagChkDone, Retro::RlinkCommand::kFlagChkStat, Retro::RlinkCommand::kFlagDone, Retro::RlinkCommand::kFlagErrDec, Retro::RlinkCommand::kFlagErrNak, Retro::RlinkCommand::kFlagLabo, Retro::RlinkPacketBuf::kNcCcrc, Retro::RlinkPacketBuf::kNcCmd, Retro::RlinkPacketBuf::kNcCnt, Retro::RlinkPacketBuf::kNcDcrc, Retro::RlinkPacketBuf::kNcFrame, Retro::RlinkPacketBuf::kNcInval, Retro::RlinkPacketBuf::kNcRtOvlf, Retro::RlinkPacketBuf::kNcRtWblk, Retro::RlinkPacketBuf::kNcUnused, kStatNChkData, kStatNChkDone, kStatNChkStat, kStatNErrCmd, kStatNErrCrc, kStatNErrLen, kStatNErrMiss, kStatNErrNak, kStatNExpData, kStatNExpDone, kStatNExpStat, kStatNNoExpStat, Retro::RlinkCommandList::LaboActive(), Retro::RlinkPacketBufRcv::NakCode(), Retro::RlinkCommand::RcvSize(), Retro::RlinkCommand::Request(), Retro::RlinkCommand::SetBlockDone(), Retro::RlinkCommand::SetData(), Retro::RlinkCommand::SetFlagBit(), Retro::RlinkCommandList::SetLaboIndex(), Retro::RlinkCommand::SetStatus(), Retro::RlinkCommand::StatusCheck(), and Retro::RlinkCommand::StatusIsChecked().

Referenced by ExecPart().

◆ DecodeAttnNotify()

bool Retro::RlinkConnect::DecodeAttnNotify ( uint16_t &  apat)
protected

Decodes an attention notify packet.

Parameters
[out]apatattention pattern, can be zero
Returns
true if decode without errors, false otherwise

Definition at line 1047 of file RlinkConnect.cpp.

References Retro::RlinkPacketBufRcv::CheckCrc(), Retro::RlinkPacketBufRcv::CheckSize(), fRcvPkt, fspLog, fStats, Retro::RlinkPacketBufRcv::GetWithCrc(), Retro::Rstats::Inc(), kStatNErrCrc, and kStatNErrMiss.

Referenced by ProcessAttnNotify().

◆ ReadResponse()

bool Retro::RlinkConnect::ReadResponse ( const Rtime timeout,
RerrMsg emsg 
)
protected

Read data from port until complete response packet seen.

Any spurious data or corrupt packages, e.g. with framing errors, are logged and discarded.

If an attention notify packet is detected it will handled with ProcessAttnNotify().

The method returns true if a complete response packet is received. The caller will usually use DecodeResponse() and must accept the packet with AcceptResponse() afterwards.

The method returns false if

  • no valid response packet is seen within the time given by timeout
  • an IO error occurred

An appropriate log message is generated, any partial input packet discarded.

Parameters
timeoutmaximal time to wait for input in sec. Must be > 0.
[out]emsgcontains error description (mainly from port layer)
Returns
true if complete response packet received
Precondition
a previous response must have been accepted with AcceptResponse().

Definition at line 1099 of file RlinkConnect.cpp.

References Retro::RlinkPacketBufRcv::AcceptPacket(), BadPort(), fRcvPkt, fspLog, Retro::Rtime::GetClock(), IsOpen(), Retro::RlinkPacketBufRcv::kPktAttn, Retro::RlinkPacketBufRcv::kPktPend, Retro::RlinkPacketBufRcv::kPktResp, Retro::RlinkPacketBufRcv::PacketState(), Port(), ProcessAttnNotify(), Retro::RlinkPacketBufRcv::ProcessData(), and Retro::RlinkPacketBufRcv::ReadData().

Referenced by ExecPart().

◆ AcceptResponse()

void Retro::RlinkConnect::AcceptResponse ( )
protected

Accept response packet received with ReadResponse().

The packet buffer is cleared, and any still buffered input data is processed with ProcessUnsolicitedData().

Definition at line 1147 of file RlinkConnect.cpp.

References Retro::RlinkPacketBufRcv::AcceptPacket(), fRcvPkt, and ProcessUnsolicitedData().

Referenced by ExecPart().

◆ ProcessUnsolicitedData()

void Retro::RlinkConnect::ProcessUnsolicitedData ( )
protected

Process data still pending in the input buffer.

If an attention notify packet is detected it will handled with ProcessAttnNotify(). If a response or corrupted packet is seen it will be logged and discarded.

Definition at line 1162 of file RlinkConnect.cpp.

References Retro::RlinkPacketBufRcv::AcceptPacket(), fRcvPkt, fspLog, Retro::RlinkPacketBufRcv::kPktAttn, Retro::RlinkPacketBufRcv::kPktPend, Retro::RlinkPacketBufRcv::PacketState(), ProcessAttnNotify(), and Retro::RlinkPacketBufRcv::ProcessData().

Referenced by AcceptResponse(), and HandleUnsolicitedData().

◆ ProcessAttnNotify()

void Retro::RlinkConnect::ProcessAttnNotify ( )
protected

Process attention notify packets.

The packets is decoded with DecodeAttnNotify(). If the packet is valid and contains a non-zero attention pattern the pattern is ored to the attention notify pattern which can later be inquired with HarvestAttnNotifies(). Corrupt packets are logged and discarded. Notifies with a zero pattern are silently ignored.

Definition at line 1188 of file RlinkConnect.cpp.

References Retro::RlinkPacketBufRcv::AcceptPacket(), DecodeAttnNotify(), fAttnNotiPatt, fPrintLevel, fpServ, fRcvPkt, fspLog, fTsLastAttnNoti, Retro::Rtime::IsPositive(), Retro::RosPrintf(), ServerActive(), and Retro::RlinkServer::SignalAttnNotify().

Referenced by ProcessUnsolicitedData(), ReadResponse(), and WaitAttn().

◆ BadPort()

void Retro::RlinkConnect::BadPort ( const char *  meth)
protected

Port not connected or not open abort.

Definition at line 1234 of file RlinkConnect.cpp.

Referenced by HandleUnsolicitedData(), ReadResponse(), SndAttn(), SndOob(), and WaitAttn().

Member Data Documentation

◆ kRbaddr_RLCNTL

const uint16_t Retro::RlinkConnect::kRbaddr_RLCNTL = 0xffff
static

rlink core reg RLCNTL

Definition at line 168 of file RlinkConnect.hpp.

Referenced by LinkInit(), and Retro::RlinkServer::StartOrResume().

◆ kRbaddr_RLSTAT

const uint16_t Retro::RlinkConnect::kRbaddr_RLSTAT = 0xfffe
static

rlink core reg RLSTAT

Definition at line 169 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kRbaddr_RLID1

const uint16_t Retro::RlinkConnect::kRbaddr_RLID1 = 0xfffd
static

rlink core reg RLID1

Definition at line 170 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kRbaddr_RLID0

const uint16_t Retro::RlinkConnect::kRbaddr_RLID0 = 0xfffc
static

rlink core reg RLID0

Definition at line 171 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kRbaddr_RLUA1

const uint16_t Retro::RlinkConnect::kRbaddr_RLUA1 = 0xfffb
static

rlink opt. reg RLUA1

Definition at line 172 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kRbaddr_RLUA0

const uint16_t Retro::RlinkConnect::kRbaddr_RLUA0 = 0xfffa
static

rlink opt. reg RLUA0

Definition at line 173 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kRbaddr_RMBASE

const uint16_t Retro::RlinkConnect::kRbaddr_RMBASE = 0xffe8
static

rlink opt. rbd_rbmon

Definition at line 174 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kRLCNTL_M_AnEna

const uint16_t Retro::RlinkConnect::kRLCNTL_M_AnEna = kWBit15
static

RLCNTL: an enable.

Definition at line 176 of file RlinkConnect.hpp.

Referenced by Retro::RlinkServer::StartOrResume().

◆ kRLCNTL_M_AtoEna

const uint16_t Retro::RlinkConnect::kRLCNTL_M_AtoEna = kWBit14
static

RLCNTL: ato enable.

Definition at line 177 of file RlinkConnect.hpp.

◆ kRLCNTL_M_AtoVal

const uint16_t Retro::RlinkConnect::kRLCNTL_M_AtoVal = 0x00ff
static

RLCNTL: ato value.

Definition at line 178 of file RlinkConnect.hpp.

◆ kRLSTAT_V_LCmd

const uint16_t Retro::RlinkConnect::kRLSTAT_V_LCmd = 8
static

RLSTAT: lcmd.

Definition at line 180 of file RlinkConnect.hpp.

◆ kRLSTAT_B_LCmd

const uint16_t Retro::RlinkConnect::kRLSTAT_B_LCmd = 0x00ff
static

RLSTAT: lcmd.

Definition at line 181 of file RlinkConnect.hpp.

◆ kRLSTAT_M_BAbo

const uint16_t Retro::RlinkConnect::kRLSTAT_M_BAbo = kWBit07
static

RLSTAT: babo.

Definition at line 182 of file RlinkConnect.hpp.

◆ kRLSTAT_M_RBSize

const uint16_t Retro::RlinkConnect::kRLSTAT_M_RBSize = 0x0007
static

RLSTAT: rbuf size.

Definition at line 183 of file RlinkConnect.hpp.

Referenced by LinkInit().

◆ kSBCNTL_V_RLMON

const uint16_t Retro::RlinkConnect::kSBCNTL_V_RLMON = 15
static

SBCNTL: rlmon enable bit.

Definition at line 185 of file RlinkConnect.hpp.

Referenced by Retro::RtclRlinkConnect::M_oob().

◆ kSBCNTL_V_RLBMON

const uint16_t Retro::RlinkConnect::kSBCNTL_V_RLBMON = 14
static

SBCNTL: rlbmon enable bit.

Definition at line 186 of file RlinkConnect.hpp.

Referenced by Retro::RtclRlinkConnect::M_oob().

◆ kSBCNTL_V_RBMON

const uint16_t Retro::RlinkConnect::kSBCNTL_V_RBMON = 13
static

SBCNTL: rbmon enable bit.

Definition at line 187 of file RlinkConnect.hpp.

Referenced by Retro::RtclRlinkConnect::M_oob().

◆ kRbufBlkDelta

const uint16_t Retro::RlinkConnect::kRbufBlkDelta =16
static

rbuf needed for rblk or wblk

Definition at line 191 of file RlinkConnect.hpp.

Referenced by BlockSizeMax().

◆ kRbufPrudentDelta

const uint16_t Retro::RlinkConnect::kRbufPrudentDelta =512
static

Rbuf space reserve.

Definition at line 193 of file RlinkConnect.hpp.

Referenced by BlockSizePrudent().

◆ fupPort

RlinkPort::port_uptr_t Retro::RlinkConnect::fupPort
protected

uptr to port

Definition at line 241 of file RlinkConnect.hpp.

Referenced by Close(), Dump(), HasPort(), IsOpen(), Open(), and Port().

◆ fLinkInitDeferred

bool Retro::RlinkConnect::fLinkInitDeferred
protected

noinit attr seen on Open

Definition at line 242 of file RlinkConnect.hpp.

Referenced by Dump().

◆ fLinkInitDone

bool Retro::RlinkConnect::fLinkInitDone
protected

LinkInit done.

Definition at line 243 of file RlinkConnect.hpp.

Referenced by Dump(), LinkInit(), LinkInitDone(), and Open().

◆ fpServ

RlinkServer* Retro::RlinkConnect::fpServ
protected

ptr to server (optional)

Definition at line 244 of file RlinkConnect.hpp.

Referenced by Close(), Dump(), ProcessAttnNotify(), Server(), ServerActive(), ServerActiveInside(), ServerActiveOutside(), and SetServer().

◆ fSeqNumber

uint8_t Retro::RlinkConnect::fSeqNumber[8]
protected

command sequence number

Definition at line 245 of file RlinkConnect.hpp.

Referenced by Dump(), and EncodeRequest().

◆ fSndPkt

RlinkPacketBufSnd Retro::RlinkConnect::fSndPkt
protected

send packet buffer

Definition at line 246 of file RlinkConnect.hpp.

Referenced by Close(), Dump(), EncodeRequest(), ExecPart(), Open(), SndAttn(), SndOob(), and SndStats().

◆ fRcvPkt

RlinkPacketBufRcv Retro::RlinkConnect::fRcvPkt
protected

◆ fContext

RlinkContext Retro::RlinkConnect::fContext
protected

default context

Definition at line 248 of file RlinkConnect.hpp.

Referenced by Context(), Dump(), Exec(), and RlinkConnect().

◆ fAddrMap

RlinkAddrMap Retro::RlinkConnect::fAddrMap
protected

name<->address mapping

Definition at line 249 of file RlinkConnect.hpp.

Referenced by AddrMap(), AddrMapClear(), AddrMapErase(), AddrMapInsert(), and Dump().

◆ fStats

Rstats Retro::RlinkConnect::fStats
protected

◆ fLogBaseAddr

uint32_t Retro::RlinkConnect::fLogBaseAddr
protected

log: base for addr

Definition at line 251 of file RlinkConnect.hpp.

Referenced by Dump(), Exec(), LogBaseAddr(), and SetLogBaseAddr().

◆ fLogBaseData

uint32_t Retro::RlinkConnect::fLogBaseData
protected

log: base for data

Definition at line 252 of file RlinkConnect.hpp.

Referenced by Dump(), Exec(), LogBaseData(), and SetLogBaseData().

◆ fLogBaseStat

uint32_t Retro::RlinkConnect::fLogBaseStat
protected

log: base for stat

Definition at line 253 of file RlinkConnect.hpp.

Referenced by Dump(), Exec(), LogBaseStat(), and SetLogBaseStat().

◆ fPrintLevel

uint32_t Retro::RlinkConnect::fPrintLevel
protected

print 0=off,1=err,2=chk,3=all

Definition at line 254 of file RlinkConnect.hpp.

Referenced by Dump(), Exec(), PrintLevel(), ProcessAttnNotify(), and SetPrintLevel().

◆ fDumpLevel

uint32_t Retro::RlinkConnect::fDumpLevel
protected

dump 0=off,1=err,2=chk,3=all

Definition at line 255 of file RlinkConnect.hpp.

Referenced by Dump(), DumpLevel(), Exec(), and SetDumpLevel().

◆ fTraceLevel

uint32_t Retro::RlinkConnect::fTraceLevel
protected

trace 0=off,1=buf,2=char

Definition at line 256 of file RlinkConnect.hpp.

Referenced by Dump(), Open(), SetTraceLevel(), and TraceLevel().

◆ fTimeout

Rtime Retro::RlinkConnect::fTimeout
protected

response timeout

Definition at line 257 of file RlinkConnect.hpp.

Referenced by ExecPart(), SetTimeout(), and Timeout().

◆ fspLog

std::shared_ptr<RlogFile> Retro::RlinkConnect::fspLog
protected

◆ fConnectMutex

std::recursive_mutex Retro::RlinkConnect::fConnectMutex
protected

mutex to lock whole connect

Definition at line 259 of file RlinkConnect.hpp.

Referenced by lock(), try_lock(), and unlock().

◆ fAttnNotiPatt

uint16_t Retro::RlinkConnect::fAttnNotiPatt
protected

attn notifier pattern

Definition at line 260 of file RlinkConnect.hpp.

Referenced by Dump(), ProcessAttnNotify(), and WaitAttn().

◆ fTsLastAttnNoti

Rtime Retro::RlinkConnect::fTsLastAttnNoti
protected

time stamp last attn notify

Definition at line 261 of file RlinkConnect.hpp.

Referenced by Dump(), and ProcessAttnNotify().

◆ fSysId

uint32_t Retro::RlinkConnect::fSysId
protected

SYSID of connected device.

Definition at line 262 of file RlinkConnect.hpp.

Referenced by Dump(), LinkInit(), Open(), and SysId().

◆ fUsrAcc

uint32_t Retro::RlinkConnect::fUsrAcc
protected

USR_ACCESS of connected device.

Definition at line 263 of file RlinkConnect.hpp.

Referenced by Dump(), LinkInit(), Open(), and UsrAcc().

◆ fRbufSize

size_t Retro::RlinkConnect::fRbufSize
protected

Rbuf size (in bytes)

Definition at line 264 of file RlinkConnect.hpp.

Referenced by BlockSizeMax(), BlockSizePrudent(), Dump(), LinkInit(), Open(), and RbufSize().

◆ fHasRbmon

bool Retro::RlinkConnect::fHasRbmon
protected

has rbd_rbmon (rbus monitor)

Definition at line 265 of file RlinkConnect.hpp.

Referenced by HasRbmon(), and LinkInit().


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