22using namespace std::placeholders;
67 while (args.
NextOpt(opt, optset)) {
69 if (!args.
GetArg(
"base", base, 0177776, 0160000))
return kERR;
70 }
else if (opt ==
"-lam") {
71 if (!args.
GetArg(
"lam", lam, 0, 15))
return kERR;
77 Obj().Config(cntlname, base, lam);
86 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.
RtclRw11CntlLP11()
Constructor.
~RtclRw11CntlLP11()
Destructor.
virtual int FactoryCmdConfig(RtclArgs &args, RtclRw11Cpu &cpu)
FIXME_docs.
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.
void SetRlim(uint16_t rlim)
FIXME_docs.
static const int kLam
LP11 default lam.
uint16_t Itype() const
FIXME_docs.
bool Buffered() const
FIXME_docs.
static const uint16_t kIbaddr
LP11 default address.
uint16_t Rlim() 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.