28using namespace std::placeholders;
77 while (args.
NextOpt(opt, optset)) {
79 if (!args.
GetArg(
"base", base, 0177776, 0160000))
return kERR;
80 }
else if (opt ==
"-lam") {
81 if (!args.
GetArg(
"lam", lam, 0, 15))
return kERR;
87 Obj().Config(cntlname, base, lam);
96 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 Add(const std::string &name, get_uptr_t &&upget)
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.
~RtclRw11CntlDL11()
Destructor.
RtclRw11CntlDL11()
Constructor.
virtual int FactoryCmdConfig(RtclArgs &args, RtclRw11Cpu &cpu)
FIXME_docs.
Implemenation (all inline) of RtclRw11CntlTermBase.
virtual Rw11Cpu & Obj()=0
void Add(const std::string &name, set_uptr_t &&upset)
FIXME_docs.
void SetRxQlim(uint16_t qlim)
FIXME_docs.
static const int kLam
DL11 default lam.
static const uint16_t kIbaddr
DL11 default address.
uint16_t RxRlim() const
FIXME_docs.
uint16_t TxRlim() const
FIXME_docs.
uint16_t RxQlim() const
FIXME_docs.
void SetTxRlim(uint16_t rlim)
FIXME_docs.
bool Buffered() const
FIXME_docs.
uint16_t Itype() const
FIXME_docs.
uint16_t FifoSize() const
FIXME_docs.
void SetRxRlim(uint16_t rlim)
FIXME_docs.
std::string NextCntlName(const std::string &base) const
FIXME_docs.
void AddCntl(const std::shared_ptr< Rw11Cntl > &spcntl)
FIXME_docs.
Declaration of class ReventLoop.