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

FIXME_docs. More...

#include <RtclCmdBase.hpp>

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

Public Types

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
 

Public Member Functions

 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.
 

Static Public Attributes

static const int kOK = TCL_OK
 
static const int kERR = TCL_ERROR
 

Protected Member Functions

bool GetArgsDump (RtclArgs &args, int &detail)
 FIXME_docs.
 
int M_info (RtclArgs &args)
 FIXME_docs.
 

Protected Attributes

mmap_t fMethMap
 map for named methods
 

Detailed Description

FIXME_docs.

Definition at line 34 of file RtclCmdBase.hpp.

Member Typedef Documentation

◆ methfo_t

typedef std::function<int(RtclArgs&)> Retro::RtclCmdBase::methfo_t

Definition at line 36 of file RtclCmdBase.hpp.

◆ mmap_t

typedef std::map<std::string, methfo_t> Retro::RtclCmdBase::mmap_t

Definition at line 38 of file RtclCmdBase.hpp.

◆ mmap_it_t

typedef mmap_t::iterator Retro::RtclCmdBase::mmap_it_t

Definition at line 39 of file RtclCmdBase.hpp.

◆ mmap_cit_t

typedef mmap_t::const_iterator Retro::RtclCmdBase::mmap_cit_t

Definition at line 40 of file RtclCmdBase.hpp.

Constructor & Destructor Documentation

◆ RtclCmdBase() [1/2]

Retro::RtclCmdBase::RtclCmdBase ( )

FIXME_docs.

Definition at line 51 of file RtclCmdBase.cpp.

◆ ~RtclCmdBase()

Retro::RtclCmdBase::~RtclCmdBase ( )
virtual

Destructor.

Definition at line 58 of file RtclCmdBase.cpp.

◆ RtclCmdBase() [2/2]

Retro::RtclCmdBase::RtclCmdBase ( const RtclCmdBase )
delete

Member Function Documentation

◆ operator=()

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

◆ DispatchCmd()

int Retro::RtclCmdBase::DispatchCmd ( RtclArgs args)

◆ AddMeth()

◆ DelMeth()

void Retro::RtclCmdBase::DelMeth ( const std::string &  name)

FIXME_docs.

Definition at line 144 of file RtclCmdBase.cpp.

References fMethMap.

Referenced by Retro::RtclRw11Unit::DetachCleanup().

◆ TstMeth()

bool Retro::RtclCmdBase::TstMeth ( const std::string &  name)

FIXME_docs.

Definition at line 155 of file RtclCmdBase.cpp.

References fMethMap.

◆ GetArgsDump()

◆ M_info()

int Retro::RtclCmdBase::M_info ( RtclArgs args)
protected

FIXME_docs.

Definition at line 183 of file RtclCmdBase.cpp.

References Retro::RtclArgs::AllDone(), fMethMap, Retro::RtclArgs::GetArg(), and Retro::RtclArgs::Interp().

Referenced by DispatchCmd().

Member Data Documentation

◆ kOK

const int Retro::RtclCmdBase::kOK = TCL_OK
static

◆ kERR

const int Retro::RtclCmdBase::kERR = TCL_ERROR
static

Definition at line 55 of file RtclCmdBase.hpp.

Referenced by Retro::RtclProxyBase::ClassCmdConfig(), DispatchCmd(), Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), Retro::RtclRlinkPort::DoRawWblk(), Retro::RtclRw11Cpu::GetIAddr(), Retro::RtclRw11Cpu::GetRAddr(), Retro::RtclRw11Unit::M_attach(), Retro::RtclRw11Cpu::M_boot(), Retro::RtclRlinkPort::M_close(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkPort::M_default(), Retro::RtclRw11Cntl::M_default(), 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::RtclRw11Unit::M_default(), Retro::RtclRw11Cpu::M_deposit(), Retro::RtclRw11Unit::M_detach(), Retro::RtclRlinkPort::M_dump(), Retro::RtclRw11Cntl::M_dump(), Retro::RtclRw11Cpu::M_dump(), Retro::RtclRw11Unit::M_dump(), Retro::RtclRw11Virt::M_dump(), Retro::RtclRlinkPort::M_errcnt(), Retro::RtclRw11Cpu::M_examine(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclRlinkPort::M_log(), Retro::RtclRw11Cpu::M_lsmem(), Retro::RtclRlinkPort::M_open(), Retro::RtclRw11Cntl::M_probe(), Retro::RtclRlinkPort::M_rawrblk(), Retro::RtclRlinkPort::M_rawread(), Retro::RtclRlinkPort::M_rawwblk(), Retro::RtclRw11Cpu::M_rmap(), Retro::RtclRw11Cpu::M_show(), Retro::RtclRw11Cntl::M_start(), Retro::RtclRlinkPort::M_stats(), Retro::RtclRw11Cntl::M_stats(), Retro::RtclRw11Cpu::M_stats(), Retro::RtclRw11Virt::M_stats(), and Retro::RtclRw11Cpu::M_wtcpu().

◆ fMethMap

mmap_t Retro::RtclCmdBase::fMethMap
protected

map for named methods

Definition at line 62 of file RtclCmdBase.hpp.

Referenced by AddMeth(), DelMeth(), DispatchCmd(), M_info(), and TstMeth().


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