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

FIXME_docs. More...

#include <RtclRw11Cpu.hpp>

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

Public Member Functions

 RtclRw11Cpu (const std::string &type)
 Default constructor.
 
virtual ~RtclRw11Cpu ()
 Destructor.
 
virtual Rw11CpuObj ()=0
 
- Public Member Functions inherited from Retro::RtclProxyBase
 RtclProxyBase (const std::string &type=std::string())
 FIXME_docs.
 
 RtclProxyBase (const std::string &type, Tcl_Interp *interp, const char *name)
 FIXME_docs.
 
virtual ~RtclProxyBase ()
 Destructor.
 
virtual int ClassCmdConfig (RtclArgs &args)
 FIXME_docs.
 
const std::string & Type () const
 FIXME_docs.
 
Tcl_Command Token () const
 FIXME_docs.
 
std::string CommandName () const
 FIXME_docs.
 
- Public Member Functions inherited from Retro::RtclCmdBase
 RtclCmdBase ()
 FIXME_docs.
 
virtual ~RtclCmdBase ()
 Destructor.
 
 RtclCmdBase (const RtclCmdBase &)=delete
 
RtclCmdBaseoperator= (const RtclCmdBase &)=delete
 
int DispatchCmd (RtclArgs &args)
 FIXME_docs.
 
void AddMeth (const std::string &name, methfo_t &&methfo)
 FIXME_docs.
 
void DelMeth (const std::string &name)
 FIXME_docs.
 
bool TstMeth (const std::string &name)
 FIXME_docs.
 

Protected Member Functions

int M_add (RtclArgs &args)
 FIXME_docs.
 
int M_imap (RtclArgs &args)
 FIXME_docs.
 
int M_rmap (RtclArgs &args)
 FIXME_docs.
 
int M_cp (RtclArgs &args)
 FIXME_docs.
 
int M_wtcpu (RtclArgs &args)
 FIXME_docs.
 
int M_deposit (RtclArgs &args)
 FIXME_docs.
 
int M_examine (RtclArgs &args)
 FIXME_docs.
 
int M_lsmem (RtclArgs &args)
 FIXME_docs.
 
int M_ldabs (RtclArgs &args)
 FIXME_docs.
 
int M_ldasm (RtclArgs &args)
 FIXME_docs.
 
int M_boot (RtclArgs &args)
 FIXME_docs.
 
int M_get (RtclArgs &args)
 FIXME_docs.
 
int M_set (RtclArgs &args)
 FIXME_docs.
 
int M_show (RtclArgs &args)
 FIXME_docs.
 
int M_stats (RtclArgs &args)
 FIXME_docs.
 
int M_dump (RtclArgs &args)
 FIXME_docs.
 
int M_default (RtclArgs &args)
 FIXME_docs.
 
void SetupGetSet ()
 FIXME_docs.
 
RlinkServerServer ()
 FIXME_docs.
 
RlinkConnectConnect ()
 FIXME_docs.
 
bool GetIAddr (RtclArgs &args, uint16_t &ibaddr)
 FIXME_docs.
 
bool GetRAddr (RtclArgs &args, uint16_t &rbaddr)
 FIXME_docs.
 
bool GetVarName (RtclArgs &args, const char *argname, size_t nind, std::vector< std::string > &varname)
 FIXME_docs.
 
bool ClistNonEmpty (RtclArgs &args, const RlinkCommandList &clist)
 FIXME_docs.
 
Tcl_Obj * ControllerCommands ()
 FIXME_docs.
 
- Protected Member Functions inherited from Retro::RtclProxyBase
void SetType (const std::string &type)
 FIXME_docs.
 
void CreateObjectCmd (Tcl_Interp *interp, const char *name)
 FIXME_docs.
 
int TclObjectCmd (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
 FIXME_docs.
 
- Protected Member Functions inherited from Retro::RtclCmdBase
bool GetArgsDump (RtclArgs &args, int &detail)
 FIXME_docs.
 
int M_info (RtclArgs &args)
 FIXME_docs.
 

Protected Attributes

RtclGetList fGets
 
RtclSetList fSets
 
- Protected Attributes inherited from Retro::RtclProxyBase
std::string fType
 proxied type name
 
Tcl_Interp * fInterp
 tcl interpreter
 
Tcl_Command fCmdToken
 cmd token for object command
 
- Protected Attributes inherited from Retro::RtclCmdBase
mmap_t fMethMap
 map for named methods
 

Additional Inherited Members

- Public Types inherited from Retro::RtclCmdBase
typedef std::function< int(RtclArgs &)> methfo_t
 
typedef std::map< std::string, methfo_tmmap_t
 
typedef mmap_t::iterator mmap_it_t
 
typedef mmap_t::const_iterator mmap_cit_t
 
- Static Public Attributes inherited from Retro::RtclCmdBase
static const int kOK = TCL_OK
 
static const int kERR = TCL_ERROR
 
- Static Protected Member Functions inherited from Retro::RtclProxyBase
static int ThunkTclObjectCmd (ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
 FIXME_docs.
 
static void ThunkTclCmdDeleteProc (ClientData cdata)
 FIXME_docs.
 
static void ThunkTclExitProc (ClientData cdata)
 FIXME_docs.
 

Detailed Description

FIXME_docs.

Definition at line 37 of file RtclRw11Cpu.hpp.

Constructor & Destructor Documentation

◆ RtclRw11Cpu()

Retro::RtclRw11Cpu::RtclRw11Cpu ( const std::string &  type)
explicit

◆ ~RtclRw11Cpu()

Retro::RtclRw11Cpu::~RtclRw11Cpu ( )
virtual

Destructor.

Definition at line 136 of file RtclRw11Cpu.cpp.

Member Function Documentation

◆ Obj()

◆ M_add()

int Retro::RtclRw11Cpu::M_add ( RtclArgs args)
protected

FIXME_docs.

Definition at line 142 of file RtclRw11Cpu.cpp.

References Retro::RtclRw11CntlFactory().

Referenced by RtclRw11Cpu().

◆ M_imap()

◆ M_rmap()

◆ M_cp()

int Retro::RtclRw11Cpu::M_cp ( RtclArgs args)
protected

FIXME_docs.

Definition at line 355 of file RtclRw11Cpu.cpp.

References Retro::RlinkCommandList::AddAttn(), Retro::RlinkCommandList::AddInit(), Retro::RlinkCommandList::AddLabo(), Retro::Rw11Cpu::AddMembe(), Retro::Rw11Cpu::AddRbibr(), Retro::RlinkCommandList::AddRblk(), Retro::Rw11Cpu::AddRibr(), Retro::RlinkCommandList::AddRreg(), Retro::Rw11Cpu::AddWbibr(), Retro::RlinkCommandList::AddWblk(), Retro::Rw11Cpu::AddWibr(), Retro::RlinkCommandList::AddWreg(), Retro::RtclArgs::AllDone(), Retro::RtclArgs::AppendResult(), Retro::Rw11Cpu::Base(), Retro::RlinkCommand::Block(), Retro::RlinkCommand::BlockDone(), ClistNonEmpty(), Retro::RlinkCommand::Command(), Connect(), Retro::RlinkCommand::Data(), Retro::RlinkCommandList::Dump(), Retro::RtclArgs::GetArg(), GetIAddr(), GetRAddr(), GetVarName(), Retro::RtclArgs::Interp(), Retro::RlinkCommand::kCmdAttn, Retro::RlinkCommand::kCmdLabo, Retro::RlinkCommand::kCmdRblk, Retro::RlinkCommand::kCmdRreg, Retro::RlinkCommand::kCmdWblk, Retro::Rw11Cpu::kCPAH, Retro::Rw11Cpu::kCPAH_M_22BIT, Retro::Rw11Cpu::kCPAH_M_UBM22, Retro::Rw11Cpu::kCPAL, Retro::Rw11Cpu::kCPCNTL, Retro::Rw11Cpu::kCPCONF, Retro::Rw11Cpu::kCPFUNC_BRESET, Retro::Rw11Cpu::kCPFUNC_CRESET, Retro::Rw11Cpu::kCPFUNC_RESUME, Retro::Rw11Cpu::kCPFUNC_START, Retro::Rw11Cpu::kCPFUNC_STEP, Retro::Rw11Cpu::kCPFUNC_STOP, Retro::Rw11Cpu::kCPFUNC_SUSPEND, Retro::Rw11Cpu::kCPMEM, Retro::Rw11Cpu::kCPMEMBE, Retro::Rw11Cpu::kCPMEMI, Retro::Rw11Cpu::kCPPC, Retro::Rw11Cpu::kCPPSW, Retro::Rw11Cpu::kCPR0, Retro::Rw11Cpu::kCPSTAT, Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::Rw11Cpu::kStat_M_CmdErr, Retro::Rw11Cpu::kStat_M_CmdMErr, Retro::RlinkCommand::kStat_M_RbErr, Retro::RlinkCommand::kStat_M_RbNak, Retro::RlinkCommand::kStat_M_RbTout, Retro::Rtcl::NewLinesObj(), Retro::Rtcl::NewListIntObj(), Retro::RtclArgs::NextOpt(), Retro::RtclArgs::NextSubOpt(), Obj(), Retro::RtclArgs::OptValid(), Retro::RlinkCommandList::Print(), Retro::RtclArgs::Quit(), Retro::Rw11Cpu::SetCpuActUp(), Retro::RlinkCommandList::SetLastExpectBlock(), Retro::RlinkCommandList::SetLastExpectData(), Retro::RlinkCommandList::SetLastExpectDone(), Retro::RlinkCommandList::SetLastExpectStatus(), Retro::Rtcl::SetVar(), Retro::Rtcl::SetVarOrResult(), Retro::RlinkCommandList::Size(), and Retro::RlinkCommand::Status().

Referenced by RtclRw11Cpu().

◆ M_wtcpu()

◆ M_deposit()

int Retro::RtclRw11Cpu::M_deposit ( RtclArgs args)
protected

◆ M_examine()

◆ M_lsmem()

◆ M_ldabs()

◆ M_ldasm()

◆ M_boot()

int Retro::RtclRw11Cpu::M_boot ( RtclArgs args)
protected

◆ M_get()

int Retro::RtclRw11Cpu::M_get ( RtclArgs args)
protected

FIXME_docs.

Definition at line 1269 of file RtclRw11Cpu.cpp.

References Connect(), fGets, Retro::RtclGetList::M_get(), and Obj().

Referenced by RtclRw11Cpu().

◆ M_set()

int Retro::RtclRw11Cpu::M_set ( RtclArgs args)
protected

FIXME_docs.

Definition at line 1279 of file RtclRw11Cpu.cpp.

References Connect(), fSets, Retro::RtclSetList::M_set(), and Obj().

Referenced by RtclRw11Cpu().

◆ M_show()

◆ M_stats()

int Retro::RtclRw11Cpu::M_stats ( RtclArgs args)
protected

◆ M_dump()

int Retro::RtclRw11Cpu::M_dump ( RtclArgs args)
protected

◆ M_default()

◆ SetupGetSet()

◆ Server()

RlinkServer & Retro::RtclRw11Cpu::Server ( )
inlineprotected

FIXME_docs.

Definition at line 21 of file RtclRw11Cpu.ipp.

References Obj(), and Retro::Rw11Cpu::Server().

Referenced by M_show(), and M_wtcpu().

◆ Connect()

RlinkConnect & Retro::RtclRw11Cpu::Connect ( )
inlineprotected

FIXME_docs.

Definition at line 29 of file RtclRw11Cpu.ipp.

References Retro::Rw11Cpu::Connect(), and Obj().

Referenced by GetRAddr(), M_cp(), M_get(), M_ldasm(), M_rmap(), M_set(), M_show(), and M_wtcpu().

◆ GetIAddr()

bool Retro::RtclRw11Cpu::GetIAddr ( RtclArgs args,
uint16_t &  ibaddr 
)
protected

◆ GetRAddr()

bool Retro::RtclRw11Cpu::GetRAddr ( RtclArgs args,
uint16_t &  rbaddr 
)
protected

◆ GetVarName()

bool Retro::RtclRw11Cpu::GetVarName ( RtclArgs args,
const char *  argname,
size_t  nind,
std::vector< std::string > &  varname 
)
protected

FIXME_docs.

Definition at line 1663 of file RtclRw11Cpu.cpp.

References Retro::RtclArgs::AppendResult(), and Retro::RtclArgs::GetArg().

Referenced by M_cp().

◆ ClistNonEmpty()

bool Retro::RtclRw11Cpu::ClistNonEmpty ( RtclArgs args,
const RlinkCommandList clist 
)
protected

FIXME_docs.

Definition at line 1686 of file RtclRw11Cpu.cpp.

References Retro::RtclArgs::AppendResult(), and Retro::RlinkCommandList::Size().

Referenced by M_cp().

◆ ControllerCommands()

Tcl_Obj * Retro::RtclRw11Cpu::ControllerCommands ( )
protected

FIXME_docs.

Definition at line 1699 of file RtclRw11Cpu.cpp.

References Retro::RtclProxyBase::CommandName(), Retro::Rw11Cpu::ListCntl(), and Obj().

Referenced by RtclRw11Cpu().

Member Data Documentation

◆ fGets

RtclGetList Retro::RtclRw11Cpu::fGets
protected

Definition at line 79 of file RtclRw11Cpu.hpp.

Referenced by M_get(), RtclRw11Cpu(), and SetupGetSet().

◆ fSets

RtclSetList Retro::RtclRw11Cpu::fSets
protected

Definition at line 80 of file RtclRw11Cpu.hpp.

Referenced by M_set().


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