w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtclRw11.hpp>
Public Member Functions | |
RtclRw11 (Tcl_Interp *interp, const char *name) | |
Constructor. | |
~RtclRw11 () | |
Destructor. | |
virtual int | ClassCmdConfig (RtclArgs &args) |
FIXME_docs. | |
Public Member Functions inherited from Retro::RtclProxyOwned< Rw11 > | |
RtclProxyOwned () | |
Default constructor. | |
RtclProxyOwned (const std::string &type) | |
FIXME_docs. | |
RtclProxyOwned (const std::string &type, Tcl_Interp *interp, const char *name, Rw11 *pobj=nullptr) | |
FIXME_docs. | |
~RtclProxyOwned () | |
FIXME_docs. | |
Rw11 & | Obj () |
FIXME_docs. | |
const std::shared_ptr< Rw11 > & | ObjSPtr () |
FIXME_docs. | |
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 | |
RtclCmdBase & | operator= (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_get (RtclArgs &args) |
FIXME_docs. | |
int | M_set (RtclArgs &args) |
FIXME_docs. | |
int | M_start (RtclArgs &args) |
FIXME_docs. | |
int | M_dump (RtclArgs &args) |
FIXME_docs. | |
int | M_default (RtclArgs &args) |
FIXME_docs. | |
Tcl_Obj * | CpuCommands () |
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 | |
std::shared_ptr< RlinkServer > | fspServ |
RtclGetList | fGets |
RtclSetList | fSets |
Protected Attributes inherited from Retro::RtclProxyOwned< Rw11 > | |
std::shared_ptr< Rw11 > | fspObj |
sptr to managed object | |
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_t > | mmap_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. | |
FIXME_docs.
Definition at line 35 of file RtclRw11.hpp.
Retro::RtclRw11::RtclRw11 | ( | Tcl_Interp * | interp, |
const char * | name | ||
) |
Constructor.
Definition at line 53 of file RtclRw11.cpp.
References Retro::RtclGetList::Add(), Retro::RtclSetList::Add(), Retro::RtclCmdBase::AddMeth(), CpuCommands(), Retro::Rw11VirtDisk::DefaultScheme(), fGets, fSets, Retro::Rw11::IsStarted(), M_default(), M_dump(), M_get(), M_set(), M_start(), Retro::RtclProxyOwned< Rw11 >::Obj(), and Retro::Rw11VirtDisk::SetDefaultScheme().
Retro::RtclRw11::~RtclRw11 | ( | ) |
Destructor.
Definition at line 78 of file RtclRw11.cpp.
|
virtual |
FIXME_docs.
Reimplemented from Retro::RtclProxyBase.
Definition at line 84 of file RtclRw11.cpp.
References Retro::Rw11::AddCpu(), Retro::RtclArgs::AllDone(), Retro::RtclContext::Find(), Retro::RtclContext::FindProxy(), fspServ, Retro::RtclArgs::GetArg(), Retro::RtclArgs::Interp(), Retro::kERR, Retro::kOK, Retro::RtclProxyOwned< Rw11 >::Obj(), Retro::RtclRw11CpuBase< TO >::Obj(), Retro::RtclProxyOwned< Rw11 >::ObjSPtr(), Retro::RtclRw11CpuBase< TO >::ObjSPtr(), Retro::RtclArgs::Quit(), Retro::Rw11::SetServer(), and Retro::Rw11CpuW11a::Setup().
|
protected |
FIXME_docs.
Definition at line 128 of file RtclRw11.cpp.
References fGets, Retro::RtclGetList::M_get(), and Retro::RtclProxyOwned< Rw11 >::Obj().
Referenced by RtclRw11().
|
protected |
FIXME_docs.
Definition at line 138 of file RtclRw11.cpp.
References fSets, Retro::RtclSetList::M_set(), and Retro::RtclProxyOwned< Rw11 >::Obj().
Referenced by RtclRw11().
|
protected |
FIXME_docs.
Definition at line 148 of file RtclRw11.cpp.
References Retro::RtclArgs::AllDone(), Retro::kERR, Retro::kOK, Retro::RtclProxyOwned< Rw11 >::Obj(), Retro::RtclArgs::Quit(), and Retro::Rw11::Start().
Referenced by RtclRw11().
|
protected |
FIXME_docs.
Definition at line 159 of file RtclRw11.cpp.
References Retro::RtclArgs::AllDone(), Retro::Rw11::Dump(), Retro::RtclCmdBase::GetArgsDump(), Retro::kERR, Retro::kOK, Retro::RtclProxyOwned< Rw11 >::Obj(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11().
|
protected |
FIXME_docs.
Definition at line 174 of file RtclRw11.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::AppendResultLines(), Retro::Rw11Cntl::Base(), Retro::Rw11Cpu::Base(), Retro::Rw11Cntl::BootCode(), Retro::Rw11Cpu::Cntl(), Retro::Rw11Probe::IndicatorInt(), Retro::Rw11Probe::IndicatorRem(), Retro::kERR, Retro::kOK, Retro::Rw11Cntl::Lam(), Retro::Rw11Cpu::ListCntl(), Retro::Rw11Cntl::Name(), Retro::Rw11::NCpu(), Retro::RtclProxyOwned< Rw11 >::Obj(), Retro::Rw11Cntl::ProbeStatus(), Retro::RosPrintf(), Retro::Rw11Cntl::Type(), and Retro::Rw11Cpu::Type().
Referenced by RtclRw11().
|
protected |
FIXME_docs.
Definition at line 215 of file RtclRw11.cpp.
References Retro::Rw11::NCpu(), and Retro::RtclProxyOwned< Rw11 >::Obj().
Referenced by RtclRw11().
|
protected |
Definition at line 52 of file RtclRw11.hpp.
Referenced by ClassCmdConfig().
|
protected |
Definition at line 53 of file RtclRw11.hpp.
Referenced by M_get(), and RtclRw11().
|
protected |
Definition at line 54 of file RtclRw11.hpp.
Referenced by M_set(), and RtclRw11().