48 if (!args.
GetArg(
"type", type))
return TCL_ERROR;
53 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
57 }
else if (type ==
"dz11") {
59 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
63 }
else if (type ==
"rk11") {
65 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
69 }
else if (type ==
"rl11") {
71 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
75 }
else if (type ==
"rhrp") {
77 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
81 }
else if (type ==
"tm11") {
83 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
87 }
else if (type ==
"deuna") {
89 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
93 }
else if (type ==
"lp11") {
95 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
99 }
else if (type ==
"pc11") {
101 if(pobj->FactoryCmdConfig(args, cpu) != TCL_OK)
return TCL_ERROR;
106 return args.
Quit(
string(
"-E: unknown controller type '") + type +
"'");
bool GetArg(const char *name, Tcl_Obj *&pval)
FIXME_docs.
int Quit(const std::string &str)
FIXME_docs.
Declaration of class ReventLoop.
int RtclRw11CntlFactory(RtclArgs &args, RtclRw11Cpu &cpu)
FIXME_docs.