FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 2369 of file datalogger.cc.

References Configuration::AddOptions(), and po_bool().

Referenced by main().

2370 {
2371  po::options_description configs("DataLogger options");
2372  configs.add_options()
2373  ("block,b", vars<string>(), "Black-list to block services")
2374  ("allow,a", vars<string>(), "White-list to only allowe certain services")
2375  ("debug,d", po_bool(), "Debug mode. Print clear text of received service reports.")
2376  ("group,g", vars<string>(), "Grouping of services into a single run-Fits")
2377  ("run-timeout", var<uint32_t>(), "Time out delay for old run numbers in milliseconds.")
2378  ("destination-folder", var<string>(), "Base path for the nightly and run files")
2379  ("stats-interval", var<int16_t>(), "Interval in milliseconds for write statistics update")
2380  ("no-filename-service", po_bool(), "Disable update of filename service")
2381  ("no-numsubs-service", po_bool(), "Disable update of number-of-subscriptions service")
2382  ("start-daily-files", po_bool(), "Starts the logger in DailyFileOpen instead of Ready")
2383  ("service-list-interval", var<int32_t>(), "Interval between two updates of the service SUBSCRIPTIONS")
2384  ;
2385 
2386  conf.AddOptions(configs);
2387 }
void AddOptions(const po::options_description &opt, bool visible=true)
Definition: Configuration.h:92
po::typed_value< bool > * po_bool(bool def=false)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: