17#ifndef included_Retro_RtclClassBase
18#define included_Retro_RtclClassBase 1
27 explicit RtclClassBase(
const std::string& type = std::string());
33 const std::string&
Type()
const;
34 Tcl_Command
Token()
const;
37 static const int kOK = TCL_OK;
38 static const int kERR = TCL_ERROR;
41 void SetType(
const std::string& type);
45 virtual int TclClassCmd(Tcl_Interp* interp,
int objc,
46 Tcl_Obj*
const objv[]);
51 Tcl_Obj*
const objv[]) = 0;
54 int objc, Tcl_Obj*
const objv[]);
void CreateClassCmd(Tcl_Interp *interp, const char *name)
FIXME_docs.
void SetType(const std::string &type)
FIXME_docs.
Tcl_Command fCmdToken
cmd token for class command
Tcl_Command Token() const
FIXME_docs.
static void ThunkTclCmdDeleteProc(ClientData cdata)
FIXME_docs.
std::string fType
classed type name
virtual int ClassCmdCreate(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])=0
virtual int TclClassCmd(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
FIXME_docs.
virtual int ClassCmdDelete(Tcl_Interp *interp, const char *name)
FIXME_docs.
RtclClassBase(const RtclClassBase &)=delete
static void ThunkTclExitProc(ClientData cdata)
FIXME_docs.
virtual int ClassCmdList(Tcl_Interp *interp)
FIXME_docs.
const std::string & Type() const
FIXME_docs.
Tcl_Interp * fInterp
tcl interpreter
static int ThunkTclClassCmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
FIXME_docs.
virtual ~RtclClassBase()
Destructor.
RtclClassBase & operator=(const RtclClassBase &)=delete
Declaration of class ReventLoop.