60 while (args.
NextOpt(opt, optset)) {
62 if (!args.
GetArg(
"base", base, 0177776, 0160000))
return kERR;
63 }
else if (opt ==
"-lam") {
64 if (!args.
GetArg(
"lam", lam, 0, 15))
return kERR;
70 Obj().Config(cntlname, base, lam);
78 for (
size_t i=0; i<
Obj().NUnit(); i++) {
bool NextOpt(std::string &val)
FIXME_docs.
bool GetArg(const char *name, Tcl_Obj *&pval)
FIXME_docs.
Tcl_Interp * Interp() const
FIXME_docs.
bool AllDone()
FIXME_docs.
void CreateObjectCmd(Tcl_Interp *interp, const char *name)
FIXME_docs.
std::string CommandName() const
FIXME_docs.
virtual TC & Obj()
FIXME_docs.
const std::shared_ptr< TC > & ObjSPtr()
FIXME_docs.
Implemenation (all inline) of RtclRw11CntlDiskBase.
virtual int M_stats(RtclArgs &args)
FIXME_docs.
virtual int FactoryCmdConfig(RtclArgs &args, RtclRw11Cpu &cpu)
FIXME_docs.
RtclRw11CntlRK11()
Constructor.
~RtclRw11CntlRK11()
Destructor.
virtual Rw11Cpu & Obj()=0
static bool Exec(RtclArgs &args, const Context &cntx, Rstats &stats)
FIXME_docs.
static bool GetArgs(RtclArgs &args, Context &cntx)
FIXME_docs.
static const int kLam
RK11 default lam.
static const uint16_t kIbaddr
RK11 default address.
std::string NextCntlName(const std::string &base) const
FIXME_docs.
void AddCntl(const std::shared_ptr< Rw11Cntl > &spcntl)
FIXME_docs.
Declaration of class ReventLoop.