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

FIXME_docs. More...

#include <RtclRw11Unit.hpp>

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

Public Member Functions

 RtclRw11Unit (const std::string &type)
 Default constructor.
 
virtual ~RtclRw11Unit ()
 Destructor.
 
virtual Rw11UnitObj ()=0
 
virtual Rw11CpuCpu () const =0
 
int M_virt (RtclArgs &args)
 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 Member Functions

virtual void AttachDone ()=0
 
void DetachCleanup ()
 FIXME_docs.
 
int M_get (RtclArgs &args)
 FIXME_docs.
 
int M_set (RtclArgs &args)
 FIXME_docs.
 
int M_attach (RtclArgs &args)
 FIXME_docs.
 
int M_detach (RtclArgs &args)
 FIXME_docs.
 
int M_dump (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

RtclGetList fGets
 
RtclSetList fSets
 
std::unique_ptr< RtclRw11VirtfupVirt
 
- 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 38 of file RtclRw11Unit.hpp.

Constructor & Destructor Documentation

◆ RtclRw11Unit()

Retro::RtclRw11Unit::RtclRw11Unit ( const std::string &  type)

Default constructor.

Definition at line 43 of file RtclRw11Unit.cpp.

References Retro::RtclCmdBase::AddMeth(), M_attach(), M_default(), M_detach(), M_dump(), M_get(), and M_set().

◆ ~RtclRw11Unit()

Retro::RtclRw11Unit::~RtclRw11Unit ( )
virtual

Destructor.

Definition at line 60 of file RtclRw11Unit.cpp.

Member Function Documentation

◆ Obj()

◆ Cpu()

◆ AttachDone()

◆ DetachCleanup()

void Retro::RtclRw11Unit::DetachCleanup ( )
protected

FIXME_docs.

Definition at line 66 of file RtclRw11Unit.cpp.

References Retro::RtclCmdBase::DelMeth(), and fupVirt.

Referenced by M_attach().

◆ M_get()

int Retro::RtclRw11Unit::M_get ( RtclArgs args)
protected

FIXME_docs.

Definition at line 77 of file RtclRw11Unit.cpp.

References Cpu(), fGets, and Retro::RtclGetList::M_get().

Referenced by RtclRw11Unit().

◆ M_set()

int Retro::RtclRw11Unit::M_set ( RtclArgs args)
protected

FIXME_docs.

Definition at line 87 of file RtclRw11Unit.cpp.

References Cpu(), fSets, and Retro::RtclSetList::M_set().

Referenced by RtclRw11Unit().

◆ M_attach()

int Retro::RtclRw11Unit::M_attach ( RtclArgs args)
protected

◆ M_detach()

int Retro::RtclRw11Unit::M_detach ( RtclArgs args)
protected

◆ M_dump()

int Retro::RtclRw11Unit::M_dump ( RtclArgs args)
protected

◆ M_default()

int Retro::RtclRw11Unit::M_default ( RtclArgs args)
protected

◆ M_virt()

int Retro::RtclRw11Unit::M_virt ( RtclArgs args)

FIXME_docs.

Definition at line 130 of file RtclRw11Unit.cpp.

References Cpu(), and fupVirt.

Referenced by Retro::RtclRw11UnitBase< TU, TUV, TB >::AttachDone().

Member Data Documentation

◆ fGets

◆ fSets

◆ fupVirt

std::unique_ptr<RtclRw11Virt> Retro::RtclRw11Unit::fupVirt
protected

Definition at line 62 of file RtclRw11Unit.hpp.

Referenced by DetachCleanup(), and M_virt().


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