FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 416 of file temperature.cc.

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

Referenced by main().

417 {
418  po::options_description control("Lid control");
419  control.add_options()
420  ("no-dim,d", po_switch(), "Disable dim services")
421  ("addr,a", var<string>("10.0.100.234:80"), "Network address of the lid controling Arduino including port")
422  ("url,u", var<string>("/statusjsn.js?components=18179&_=1365876572736"), "File name and path to load")
423  ("quiet,q", po_bool(true), "Disable printing contents of all received messages (except dynamic data) in clear text.")
424  ("interval,i", var<uint16_t>(60), "Interval between two updates on the server in seconds")
425  ("debug-tx", po_bool(), "Enable debugging of ethernet transmission.")
426  ("debug-rx", po_bool(), "Enable debugging for received data.")
427  ;
428 
429  conf.AddOptions(control);
430 }
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: