FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 467 of file magiclidar.cc.

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

Referenced by main().

468 {
469  po::options_description control("MAGIC lidar control options");
470  control.add_options()
471  ("no-dim,d", po_switch(), "Disable dim services")
472  ("addr,a", var<string>("www.magic.iac.es:80"), "Network address of Cosy")
473  ("url,u", var<string>("/site/weather/lidar_data.txt"), "File name and path to load")
474  ("quiet,q", po_bool(true), "Disable printing contents of all received messages (except dynamic data) in clear text.")
475  ("interval,i", var<uint16_t>(30), "Interval between two updates on the server in seconds")
476  ("debug-tx", po_bool(), "Enable debugging of ethernet transmission.")
477  ;
478 
479  conf.AddOptions(control);
480 }
po::typed_value< bool > * po_switch()
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: