|
w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtclProxyBase.hpp>
Public Member Functions | |
| 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 | |
| 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. | |
Static Protected Member Functions | |
| 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. | |
Protected Attributes | |
| 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 |
FIXME_docs.
Definition at line 36 of file RtclProxyBase.hpp.
|
explicit |
FIXME_docs.
Definition at line 44 of file RtclProxyBase.cpp.
| Retro::RtclProxyBase::RtclProxyBase | ( | const std::string & | type, |
| Tcl_Interp * | interp, | ||
| const char * | name | ||
| ) |
|
virtual |
Destructor.
Definition at line 66 of file RtclProxyBase.cpp.
References Retro::RtclContext::Find(), fInterp, and Retro::RtclContext::UnRegisterProxy().
|
virtual |
FIXME_docs.
Reimplemented in Retro::RtclRlinkServer, and Retro::RtclRw11.
Definition at line 74 of file RtclProxyBase.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclCmdBase::kERR, and Retro::RtclCmdBase::kOK.
|
inline |
FIXME_docs.
Definition at line 22 of file RtclProxyBase.ipp.
References fType.
Referenced by Retro::RtclClassBase::TclClassCmd().
|
inline |
| std::string Retro::RtclProxyBase::CommandName | ( | ) | const |
FIXME_docs.
Definition at line 83 of file RtclProxyBase.cpp.
References fCmdToken, and fInterp.
Referenced by Retro::RtclRw11Cpu::ControllerCommands(), Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), Retro::RtclRw11CntlTM11::FactoryCmdConfig(), and Retro::RtclRw11Cntl::UnitCommands().
|
inlineprotected |
|
protected |
FIXME_docs.
Definition at line 91 of file RtclProxyBase.cpp.
References fCmdToken, Retro::RtclContext::Find(), fInterp, Retro::RtclContext::RegisterProxy(), ThunkTclCmdDeleteProc(), ThunkTclExitProc(), and ThunkTclObjectCmd().
Referenced by Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), Retro::RtclRw11CntlTM11::FactoryCmdConfig(), RtclProxyBase(), Retro::RtclProxyOwned< TO >::RtclProxyOwned(), Retro::RtclRlinkPort::RtclRlinkPort(), Retro::RtclRw11UnitDEUNA::RtclRw11UnitDEUNA(), Retro::RtclRw11UnitDL11::RtclRw11UnitDL11(), Retro::RtclRw11UnitDZ11::RtclRw11UnitDZ11(), Retro::RtclRw11UnitLP11::RtclRw11UnitLP11(), Retro::RtclRw11UnitPC11::RtclRw11UnitPC11(), Retro::RtclRw11UnitRHRP::RtclRw11UnitRHRP(), Retro::RtclRw11UnitRK11::RtclRw11UnitRK11(), Retro::RtclRw11UnitRL11::RtclRw11UnitRL11(), and Retro::RtclRw11UnitTM11::RtclRw11UnitTM11().
|
protected |
FIXME_docs.
Definition at line 107 of file RtclProxyBase.cpp.
References Retro::RtclCmdBase::DispatchCmd().
|
staticprotected |
FIXME_docs.
Definition at line 117 of file RtclProxyBase.cpp.
References Retro::Rtcl::AppendResultNewLines().
Referenced by CreateObjectCmd().
|
staticprotected |
FIXME_docs.
Definition at line 139 of file RtclProxyBase.cpp.
References ThunkTclExitProc().
Referenced by CreateObjectCmd().
|
staticprotected |
FIXME_docs.
Definition at line 150 of file RtclProxyBase.cpp.
Referenced by CreateObjectCmd(), and ThunkTclCmdDeleteProc().
|
protected |
proxied type name
Definition at line 64 of file RtclProxyBase.hpp.
|
protected |
tcl interpreter
Definition at line 65 of file RtclProxyBase.hpp.
Referenced by CommandName(), CreateObjectCmd(), and ~RtclProxyBase().
|
protected |
cmd token for object command
Definition at line 66 of file RtclProxyBase.hpp.
Referenced by CommandName(), CreateObjectCmd(), and Token().