FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 550 of file tngweather.cc.

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

Referenced by main().

551 {
552  po::options_description control("TNG weather control options");
553  control.add_options()
554  ("no-dim,d", po_switch(), "Disable dim services")
555  ("addr,a", var<string>("tngweb.tng.iac.es:80"), "Network address of Cosy")
556  ("url,u", var<string>("/api/meteo/weather/feed.xml"), "File name and path to load")
557  ("quiet,q", po_bool(true), "Disable printing contents of all received messages (except dynamic data) in clear text.")
558  ("interval,i", var<uint16_t>(300), "Interval between two updates on the server in seconds")
559  ("debug-tx", po_bool(), "Enable debugging of ethernet transmission.")
560  ;
561 
562  conf.AddOptions(control);
563 }
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: