Definition at line 36 of file fact.cc.
References Configuration::AddEnv(), and Configuration::AddOptions().
Referenced by main(), and UIConnector::on_currentPixelScale_toggled().
38 po::options_description config(
"Program options");
40 (
"dns", var<string>(
"localhost"),
"Dim nameserver (overwites DIM_DNS_NODE environment variable)")
41 (
"host", var<string>(
""),
"Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)")
42 (
"pixel-map-file", var<string>(
"FACTmap111030.txt"),
"Pixel mapping file. Used here to get the default reference voltage.")
43 (
"CommentDB", var<string>(
""),
"")
46 po::options_description runtype(
"Run type configuration");
48 (
"run-type", vars<string>(),
"Names of available run-types")
49 (
"run-time", vars<string>(),
"Possible run-times for runs")
50 (
"run-count", vars<uint32_t>(),
"Number of events for a run")
53 conf.
AddEnv(
"dns",
"DIM_DNS_NODE");
54 conf.
AddEnv(
"host",
"DIM_HOST_NODE");
void AddEnv(const std::string &conf, const std::string &env)
void AddOptions(const po::options_description &opt, bool visible=true)