2845 if (!conf.DoParse(argc, argv,
PrintHelp))
2851 if (!conf.Has(
"console"))
2853 if (conf.Get<
bool>(
"no-dim"))
2854 return RunShell<LocalStream, StateMachine, ConnectionFTM>(conf);
2856 return RunShell<LocalStream, StateMachineDim, ConnectionDimFTM>(conf);
2859 if (conf.Get<
bool>(
"no-dim"))
2861 if (conf.Get<
int>(
"console")==0)
2862 return RunShell<LocalShell, StateMachine, ConnectionFTM>(conf);
2864 return RunShell<LocalConsole, StateMachine, ConnectionFTM>(conf);
2868 if (conf.Get<
int>(
"console")==0)
2869 return RunShell<LocalShell, StateMachineDim, ConnectionDimFTM>(conf);
2871 return RunShell<LocalConsole, StateMachineDim, ConnectionDimFTM>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.