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

FIXME_docs. More...

#include <RtclRlinkServer.hpp>

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

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.
 
RlinkServerObj ()
 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
 
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 Types

typedef std::unique_ptr< RtclAttnShuttleahdl_uptr_t
 
typedef std::list< ahdl_uptr_talist_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< RlinkConnectfspConn
 
alist_t fAttnHdl
 list of attn handlers
 
RtclGetList fGets
 
RtclSetList fSets
 
- Protected Attributes inherited from Retro::RtclProxyOwned< RlinkServer >
std::shared_ptr< RlinkServerfspObj
 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_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 RtclRlinkServer.hpp.

Member Typedef Documentation

◆ ahdl_uptr_t

typedef std::unique_ptr<RtclAttnShuttle> Retro::RtclRlinkServer::ahdl_uptr_t
protected

Definition at line 55 of file RtclRlinkServer.hpp.

◆ alist_t

typedef std::list<ahdl_uptr_t> Retro::RtclRlinkServer::alist_t
protected

Definition at line 56 of file RtclRlinkServer.hpp.

Constructor & Destructor Documentation

◆ RtclRlinkServer()

◆ ~RtclRlinkServer()

Retro::RtclRlinkServer::~RtclRlinkServer ( )

Destructor.

Definition at line 102 of file RtclRlinkServer.cpp.

Member Function Documentation

◆ ClassCmdConfig()

◆ M_server()

◆ M_attn()

◆ M_stats()

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

◆ M_print()

int Retro::RtclRlinkServer::M_print ( RtclArgs args)
protected

◆ M_dump()

◆ M_get()

int Retro::RtclRlinkServer::M_get ( RtclArgs args)
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().

◆ M_set()

int Retro::RtclRlinkServer::M_set ( RtclArgs args)
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().

◆ M_default()

int Retro::RtclRlinkServer::M_default ( RtclArgs args)
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().

Member Data Documentation

◆ fspConn

std::shared_ptr<RlinkConnect> Retro::RtclRlinkServer::fspConn
protected

Definition at line 58 of file RtclRlinkServer.hpp.

Referenced by ClassCmdConfig().

◆ fAttnHdl

alist_t Retro::RtclRlinkServer::fAttnHdl
protected

list of attn handlers

Definition at line 59 of file RtclRlinkServer.hpp.

Referenced by M_attn().

◆ fGets

RtclGetList Retro::RtclRlinkServer::fGets
protected

Definition at line 60 of file RtclRlinkServer.hpp.

Referenced by M_get(), and RtclRlinkServer().

◆ fSets

RtclSetList Retro::RtclRlinkServer::fSets
protected

Definition at line 61 of file RtclRlinkServer.hpp.

Referenced by M_set(), and RtclRlinkServer().


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