w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtclRlinkServer.hpp>
Public Member Functions | |
RtclRlinkServer (Tcl_Interp *interp, const char *name) | |
Default constructor. | |
~RtclRlinkServer () | |
Destructor. | |
virtual int | ClassCmdConfig (RtclArgs &args) |
FIXME_docs. | |
Public Member Functions inherited from Retro::RtclProxyOwned< RlinkServer > | |
RtclProxyOwned () | |
Default constructor. | |
RtclProxyOwned (const std::string &type) | |
FIXME_docs. | |
RtclProxyOwned (const std::string &type, Tcl_Interp *interp, const char *name, RlinkServer *pobj=nullptr) | |
FIXME_docs. | |
~RtclProxyOwned () | |
FIXME_docs. | |
RlinkServer & | Obj () |
FIXME_docs. | |
const std::shared_ptr< RlinkServer > & | 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 Types | |
typedef std::unique_ptr< RtclAttnShuttle > | ahdl_uptr_t |
typedef std::list< ahdl_uptr_t > | alist_t |
Protected Member Functions | |
int | M_server (RtclArgs &args) |
FIXME_docs. | |
int | M_attn (RtclArgs &args) |
FIXME_docs. | |
int | M_stats (RtclArgs &args) |
FIXME_docs. | |
int | M_print (RtclArgs &args) |
FIXME_docs. | |
int | M_dump (RtclArgs &args) |
FIXME_docs. | |
int | M_get (RtclArgs &args) |
FIXME_docs. | |
int | M_set (RtclArgs &args) |
FIXME_docs. | |
int | M_default (RtclArgs &args) |
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< RlinkConnect > | fspConn |
alist_t | fAttnHdl |
list of attn handlers | |
RtclGetList | fGets |
RtclSetList | fSets |
Protected Attributes inherited from Retro::RtclProxyOwned< RlinkServer > | |
std::shared_ptr< RlinkServer > | 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 37 of file RtclRlinkServer.hpp.
|
protected |
Definition at line 55 of file RtclRlinkServer.hpp.
|
protected |
Definition at line 56 of file RtclRlinkServer.hpp.
Retro::RtclRlinkServer::RtclRlinkServer | ( | Tcl_Interp * | interp, |
const char * | name | ||
) |
Default constructor.
Definition at line 60 of file RtclRlinkServer.cpp.
References Retro::RtclGetList::Add(), Retro::RtclSetList::Add(), Retro::RtclCmdBase::AddMeth(), Retro::RlinkServer::Context(), fGets, fSets, M_attn(), M_default(), M_dump(), M_get(), M_print(), M_server(), M_set(), M_stats(), Retro::RtclProxyOwned< RlinkServer >::Obj(), Retro::RlinkContext::SetStatusMask(), Retro::RlinkContext::SetStatusValue(), Retro::RlinkServer::SetTraceLevel(), Retro::RlinkContext::StatusIsChecked(), Retro::RlinkContext::StatusMask(), Retro::RlinkContext::StatusValue(), and Retro::RlinkServer::TraceLevel().
Retro::RtclRlinkServer::~RtclRlinkServer | ( | ) |
Destructor.
Definition at line 102 of file RtclRlinkServer.cpp.
|
virtual |
FIXME_docs.
Reimplemented from Retro::RtclProxyBase.
Definition at line 108 of file RtclRlinkServer.cpp.
References Retro::RtclContext::Find(), Retro::RtclContext::FindProxy(), fspConn, Retro::RtclArgs::GetArg(), Retro::RtclArgs::Interp(), Retro::kERR, Retro::kOK, Retro::RtclProxyOwned< RlinkServer >::Obj(), Retro::RtclProxyOwned< RlinkServer >::ObjSPtr(), Retro::RtclArgs::Quit(), and Retro::RlinkServer::SetConnect().
|
protected |
FIXME_docs.
Definition at line 131 of file RtclRlinkServer.cpp.
References Retro::RtclArgs::AllDone(), Retro::kERR, Retro::kOK, Retro::RtclArgs::NextOpt(), Retro::RtclProxyOwned< RlinkServer >::Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::Quit(), Retro::RlinkServer::Resume(), Retro::RtclArgs::SetResult(), Retro::RlinkServer::Start(), and Retro::RlinkServer::Stop().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 164 of file RtclRlinkServer.cpp.
References Retro::RtclArgs::AllDone(), fAttnHdl, Retro::RtclArgs::GetArg(), Retro::RtclArgs::Interp(), Retro::kERR, Retro::kOK, Retro::Rtcl::NewListIntObj(), Retro::RtclArgs::NextOpt(), Retro::RtclProxyOwned< RlinkServer >::Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::PeekArgString(), Retro::RtclArgs::Quit(), and Retro::RtclArgs::SetResult().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 263 of file RtclRlinkServer.cpp.
References Retro::RtclStats::Exec(), Retro::RtclStats::GetArgs(), Retro::kERR, Retro::kOK, and Retro::RtclProxyOwned< RlinkServer >::Obj().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 274 of file RtclRlinkServer.cpp.
References Retro::RtclArgs::AllDone(), Retro::kERR, Retro::kOK, Retro::RtclProxyOwned< RlinkServer >::Obj(), Retro::RlinkServer::Print(), and Retro::RtclArgs::SetResult().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 287 of file RtclRlinkServer.cpp.
References Retro::RtclArgs::AllDone(), Retro::RlinkServer::Dump(), Retro::RtclCmdBase::GetArgsDump(), Retro::kERR, Retro::kOK, Retro::RtclProxyOwned< RlinkServer >::Obj(), and Retro::RtclArgs::SetResult().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 302 of file RtclRlinkServer.cpp.
References fGets, Retro::RtclGetList::M_get(), and Retro::RtclProxyOwned< RlinkServer >::Obj().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 312 of file RtclRlinkServer.cpp.
References fSets, Retro::RtclSetList::M_set(), and Retro::RtclProxyOwned< RlinkServer >::Obj().
Referenced by RtclRlinkServer().
|
protected |
FIXME_docs.
Definition at line 322 of file RtclRlinkServer.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::AppendResultLines(), Retro::kERR, and Retro::kOK.
Referenced by RtclRlinkServer().
|
protected |
Definition at line 58 of file RtclRlinkServer.hpp.
Referenced by ClassCmdConfig().
|
protected |
|
protected |
Definition at line 60 of file RtclRlinkServer.hpp.
Referenced by M_get(), and RtclRlinkServer().
|
protected |
Definition at line 61 of file RtclRlinkServer.hpp.
Referenced by M_set(), and RtclRlinkServer().