955 if (!conf.DoParse(argc, argv,
PrintHelp))
961 if (!conf.Has(
"console"))
963 if (conf.Get<
bool>(
"no-dim"))
964 return RunShell<LocalStream, StateMachine, ConnectionFSC>(conf);
966 return RunShell<LocalStream, StateMachineDim, ConnectionDimFSC>(conf);
969 if (conf.Get<
bool>(
"no-dim"))
971 if (conf.Get<
int>(
"console")==0)
972 return RunShell<LocalShell, StateMachine, ConnectionFSC>(conf);
974 return RunShell<LocalConsole, StateMachine, ConnectionFSC>(conf);
978 if (conf.Get<
int>(
"console")==0)
979 return RunShell<LocalShell, StateMachineDim, ConnectionDimFSC>(conf);
981 return RunShell<LocalConsole, StateMachineDim, ConnectionDimFSC>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.