w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtclAttnShuttle.hpp>
Public Member Functions | |
RtclAttnShuttle (uint16_t mask, Tcl_Obj *pobj) | |
constructor | |
~RtclAttnShuttle () | |
Destructor. | |
uint16_t | Mask () const |
FIXME_docs. | |
Tcl_Obj * | Script () const |
FIXME_docs. | |
void | Add (RlinkServer *pserv, Tcl_Interp *interp) |
FIXME_docs. | |
void | Remove () |
FIXME_docs. | |
Protected Member Functions | |
int | AttnHandler (RlinkServer::AttnArgs &args) |
FIXME_docs. | |
void | TclChannelHandler (int mask) |
FIXME_docs. | |
Static Protected Member Functions | |
static void | ThunkTclChannelHandler (ClientData cdata, int mask) |
FIXME_docs. | |
Protected Attributes | |
RlinkServer * | fpServ |
RlinkServer used. | |
Tcl_Interp * | fpInterp |
Tcl interpreter used. | |
int | fFdPipeRead |
attn pipe read fd | |
int | fFdPipeWrite |
attn pipe write fd | |
Tcl_Channel | fShuttleChn |
Tcl channel. | |
uint16_t | fMask |
attn mask | |
RtclOPtr | fpScript |
Tcl handler script (as Tcl_Obj) | |
FIXME_docs.
Definition at line 28 of file RtclAttnShuttle.hpp.
Retro::RtclAttnShuttle::RtclAttnShuttle | ( | uint16_t | mask, |
Tcl_Obj * | pobj | ||
) |
constructor
Definition at line 47 of file RtclAttnShuttle.cpp.
References fFdPipeRead, and fFdPipeWrite.
Retro::RtclAttnShuttle::~RtclAttnShuttle | ( | ) |
Destructor.
Definition at line 67 of file RtclAttnShuttle.cpp.
References Retro::Rtools::Catch2Cerr(), fFdPipeRead, fFdPipeWrite, and Remove().
|
inline |
|
inline |
void Retro::RtclAttnShuttle::Add | ( | RlinkServer * | pserv, |
Tcl_Interp * | interp | ||
) |
FIXME_docs.
Definition at line 77 of file RtclAttnShuttle.cpp.
References Retro::RlinkServer::AddAttnHandler(), AttnHandler(), fFdPipeRead, fMask, fpInterp, fpServ, fShuttleChn, and ThunkTclChannelHandler().
void Retro::RtclAttnShuttle::Remove | ( | ) |
FIXME_docs.
Definition at line 104 of file RtclAttnShuttle.cpp.
References fMask, fpInterp, fpServ, fShuttleChn, Retro::RlinkServer::RemoveAttnHandler(), and ThunkTclChannelHandler().
Referenced by ~RtclAttnShuttle().
|
protected |
FIXME_docs.
Definition at line 126 of file RtclAttnShuttle.cpp.
References Retro::RlinkServer::AttnArgs::fAttnMask, Retro::RlinkServer::AttnArgs::fAttnPatt, fFdPipeWrite, fpServ, and Retro::RlinkServer::GetAttnInfo().
Referenced by Add().
|
protected |
FIXME_docs.
Definition at line 142 of file RtclAttnShuttle.cpp.
References fpInterp, fpScript, and fShuttleChn.
Referenced by ThunkTclChannelHandler().
|
staticprotected |
|
protected |
RlinkServer used.
Definition at line 45 of file RtclAttnShuttle.hpp.
Referenced by Add(), AttnHandler(), and Remove().
|
protected |
Tcl interpreter used.
Definition at line 46 of file RtclAttnShuttle.hpp.
Referenced by Add(), Remove(), and TclChannelHandler().
|
protected |
attn pipe read fd
Definition at line 47 of file RtclAttnShuttle.hpp.
Referenced by Add(), RtclAttnShuttle(), and ~RtclAttnShuttle().
|
protected |
attn pipe write fd
Definition at line 48 of file RtclAttnShuttle.hpp.
Referenced by AttnHandler(), RtclAttnShuttle(), and ~RtclAttnShuttle().
|
protected |
Tcl channel.
Definition at line 49 of file RtclAttnShuttle.hpp.
Referenced by Add(), Remove(), and TclChannelHandler().
|
protected |
attn mask
Definition at line 50 of file RtclAttnShuttle.hpp.
|
protected |
Tcl handler script (as Tcl_Obj)
Definition at line 51 of file RtclAttnShuttle.hpp.
Referenced by Script(), and TclChannelHandler().