FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 503 of file gpsctrl.cc.

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

Referenced by main().

504 {
505  po::options_description control("GPS control");
506  control.add_options()
507  ("no-dim,d", po_switch(), "Disable dim services")
508  ("addr,a", var<string>("gps:23"), "Network address of the lid controling Arduino including port")
509  ("quiet,q", po_bool(true), "Disable printing contents of all received messages (except dynamic data) in clear text.")
510  ("debug-tx", po_bool(), "Enable debugging of ethernet transmission.")
511  ;
512 
513  conf.AddOptions(control);
514 }
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: