22using namespace std::placeholders;
71 while (args.
NextOpt(opt, optset)) {
73 if (!args.
GetArg(
"base", base, 0177776, 0160000))
return kERR;
74 }
else if (opt ==
"-lam") {
75 if (!args.
GetArg(
"lam", lam, 0, 15))
return kERR;
81 Obj().Config(cntlname, base, lam);
90 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.
RtclRw11CntlPC11()
Constructor.
virtual int FactoryCmdConfig(RtclArgs &args, RtclRw11Cpu &cpu)
FIXME_docs.
~RtclRw11CntlPC11()
Destructor.
Implemenation (all inline) of RtclRw11CntlStreamBase.
virtual Rw11Cpu & Obj()=0
void Add(const std::string &name, set_uptr_t &&upset)
FIXME_docs.
uint16_t FifoSize() const
FIXME_docs.
uint16_t Itype() const
FIXME_docs.
static const int kLam
PC11 default lam.
uint16_t PrRlim() const
FIXME_docs.
uint16_t PpRlim() const
FIXME_docs.
bool Buffered() const
FIXME_docs.
void SetPpRlim(uint16_t rlim)
FIXME_docs.
void SetPrRlim(uint16_t rlim)
FIXME_docs.
static const uint16_t kIbaddr
PC11 default address.
void SetPrQlim(uint16_t qlim)
FIXME_docs.
uint16_t PrQlim() const
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.