30using namespace std::placeholders;
44 const std::string& cclass)
76 lock_guard<RlinkConnect> lock(
Obj().Connect());
86 lock_guard<RlinkConnect> lock(
Obj().Connect());
132 Obj().
Dump(sos, 0,
"", detail);
144 sos <<
"no default output defined yet...\n";
154 Tcl_Obj* rlist = Tcl_NewListObj(0,
nullptr);
155 for (
size_t i = 0; i <
Obj().
NUnit(); i++) {
157 RtclOPtr pele(Tcl_NewStringObj(ucmd.data(), ucmd.length()));
158 Tcl_ListObjAppendElement(
nullptr, rlist, pele);
void AppendResultLines(const std::string &str)
FIXME_docs.
void SetResult(const std::string &str)
FIXME_docs.
bool AllDone()
FIXME_docs.
void AddMeth(const std::string &name, methfo_t &&methfo)
FIXME_docs.
bool GetArgsDump(RtclArgs &args, int &detail)
FIXME_docs.
int M_get(RtclArgs &args)
FIXME_docs.
void Add(const std::string &name, get_uptr_t &&upget)
FIXME_docs.
Implemenation (inline) of RtclOPtr.
std::string CommandName() const
FIXME_docs.
int M_dump(RtclArgs &args)
FIXME_docs.
virtual int M_default(RtclArgs &args)
FIXME_docs.
RtclRw11Cntl(const std::string &type, const std::string &cclass)
Constructor.
Tcl_Obj * UnitCommands()
FIXME_docs.
int M_start(RtclArgs &args)
FIXME_docs.
const std::string & Class() const
FIXME_docs.
int M_get(RtclArgs &args)
FIXME_docs.
virtual Rw11Cntl & Obj()=0
virtual int M_stats(RtclArgs &args)
FIXME_docs.
int M_probe(RtclArgs &args)
FIXME_docs.
int M_set(RtclArgs &args)
FIXME_docs.
virtual ~RtclRw11Cntl()
Destructor.
int M_set(RtclArgs &args)
FIXME_docs.
static bool Exec(RtclArgs &args, const Context &cntx, Rstats &stats)
FIXME_docs.
static bool GetArgs(RtclArgs &args, Context &cntx)
FIXME_docs.
virtual void Start()
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
virtual bool Probe()
FIXME_docs.
virtual size_t NUnit() const =0
Declaration of class ReventLoop.