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

FIXME_docs. More...

#include <RtclAttnShuttle.hpp>

Collaboration diagram for Retro::RtclAttnShuttle:
[legend]

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

RlinkServerfpServ
 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)
 

Detailed Description

FIXME_docs.

Definition at line 28 of file RtclAttnShuttle.hpp.

Constructor & Destructor Documentation

◆ RtclAttnShuttle()

Retro::RtclAttnShuttle::RtclAttnShuttle ( uint16_t  mask,
Tcl_Obj *  pobj 
)

constructor

Definition at line 47 of file RtclAttnShuttle.cpp.

References fFdPipeRead, and fFdPipeWrite.

◆ ~RtclAttnShuttle()

Retro::RtclAttnShuttle::~RtclAttnShuttle ( )

Destructor.

Definition at line 67 of file RtclAttnShuttle.cpp.

References Retro::Rtools::Catch2Cerr(), fFdPipeRead, fFdPipeWrite, and Remove().

Member Function Documentation

◆ Mask()

uint16_t Retro::RtclAttnShuttle::Mask ( ) const
inline

FIXME_docs.

Definition at line 21 of file RtclAttnShuttle.ipp.

References fMask.

◆ Script()

Tcl_Obj * Retro::RtclAttnShuttle::Script ( ) const
inline

FIXME_docs.

Definition at line 29 of file RtclAttnShuttle.ipp.

References fpScript.

◆ Add()

void Retro::RtclAttnShuttle::Add ( RlinkServer pserv,
Tcl_Interp *  interp 
)

◆ Remove()

void Retro::RtclAttnShuttle::Remove ( )

◆ AttnHandler()

int Retro::RtclAttnShuttle::AttnHandler ( RlinkServer::AttnArgs args)
protected

◆ TclChannelHandler()

void Retro::RtclAttnShuttle::TclChannelHandler ( int  mask)
protected

FIXME_docs.

Definition at line 142 of file RtclAttnShuttle.cpp.

References fpInterp, fpScript, and fShuttleChn.

Referenced by ThunkTclChannelHandler().

◆ ThunkTclChannelHandler()

void Retro::RtclAttnShuttle::ThunkTclChannelHandler ( ClientData  cdata,
int  mask 
)
staticprotected

FIXME_docs.

Definition at line 160 of file RtclAttnShuttle.cpp.

References TclChannelHandler().

Referenced by Add(), and Remove().

Member Data Documentation

◆ fpServ

RlinkServer* Retro::RtclAttnShuttle::fpServ
protected

RlinkServer used.

Definition at line 45 of file RtclAttnShuttle.hpp.

Referenced by Add(), AttnHandler(), and Remove().

◆ fpInterp

Tcl_Interp* Retro::RtclAttnShuttle::fpInterp
protected

Tcl interpreter used.

Definition at line 46 of file RtclAttnShuttle.hpp.

Referenced by Add(), Remove(), and TclChannelHandler().

◆ fFdPipeRead

int Retro::RtclAttnShuttle::fFdPipeRead
protected

attn pipe read fd

Definition at line 47 of file RtclAttnShuttle.hpp.

Referenced by Add(), RtclAttnShuttle(), and ~RtclAttnShuttle().

◆ fFdPipeWrite

int Retro::RtclAttnShuttle::fFdPipeWrite
protected

attn pipe write fd

Definition at line 48 of file RtclAttnShuttle.hpp.

Referenced by AttnHandler(), RtclAttnShuttle(), and ~RtclAttnShuttle().

◆ fShuttleChn

Tcl_Channel Retro::RtclAttnShuttle::fShuttleChn
protected

Tcl channel.

Definition at line 49 of file RtclAttnShuttle.hpp.

Referenced by Add(), Remove(), and TclChannelHandler().

◆ fMask

uint16_t Retro::RtclAttnShuttle::fMask
protected

attn mask

Definition at line 50 of file RtclAttnShuttle.hpp.

Referenced by Add(), Mask(), and Remove().

◆ fpScript

RtclOPtr Retro::RtclAttnShuttle::fpScript
protected

Tcl handler script (as Tcl_Obj)

Definition at line 51 of file RtclAttnShuttle.hpp.

Referenced by Script(), and TclChannelHandler().


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