|
CbmRoot
|
#include <ProgramOptions.h>
Public Member Functions | |
| ProgramOptions (int argc, char *argv[]) | |
| Standard constructor with command line arguments. | |
| ProgramOptions (const ProgramOptions &)=default | |
| Copy constructor forbidden. | |
| ProgramOptions & | operator= (const ProgramOptions &)=default |
| Assignment operator forbidden. | |
| ~ProgramOptions ()=default | |
| Destructor. | |
| const std::string & | ComChan () const |
| Get interface channel name or hostname + port or whatever or ????? (FIXME: replacement of FairMQ) | |
| const int64_t & | Runtime () const |
| Get run duration. | |
| const int64_t & | PubInterval () const |
| Get histos publication interval. | |
Private Member Functions | |
| void | ParseOptions (int argc, char *argv[]) |
| Get configuration file name (YAML format) | |
Private Attributes | |
| std::string | fsChanHistosIn = "histogram-in" |
| int64_t | fRunTime = 90 |
| int64_t | fPubInterval = 5 |
Program option class for the application histserv_nofairmq
Definition at line 19 of file services/histserv/tester/ProgramOptions.h.
|
inline |
Standard constructor with command line arguments.
Definition at line 22 of file services/histserv/tester/ProgramOptions.h.
References ParseOptions().
Referenced by operator=(), and ProgramOptions().
|
default |
Copy constructor forbidden.
References ProgramOptions().
|
default |
Destructor.
|
inlinenodiscard |
Get interface channel name or hostname + port or whatever or ????? (FIXME: replacement of FairMQ)
Definition at line 34 of file services/histserv/tester/ProgramOptions.h.
References fsChanHistosIn.
|
default |
Assignment operator forbidden.
References ProgramOptions().
|
private |
Get configuration file name (YAML format)
Parse command line arguments using boost program_options
Definition at line 21 of file services/histserv/tester/ProgramOptions.cxx.
References fPubInterval, fRunTime, and fsChanHistosIn.
Referenced by ProgramOptions().
|
inlinenodiscard |
Get histos publication interval.
Definition at line 40 of file services/histserv/tester/ProgramOptions.h.
References fPubInterval.
|
inlinenodiscard |
Get run duration.
Definition at line 37 of file services/histserv/tester/ProgramOptions.h.
References fRunTime.
|
private |
Definition at line 53 of file services/histserv/tester/ProgramOptions.h.
Referenced by ParseOptions(), and PubInterval().
|
private |
Definition at line 52 of file services/histserv/tester/ProgramOptions.h.
Referenced by ParseOptions(), and Runtime().
|
private |
Definition at line 51 of file services/histserv/tester/ProgramOptions.h.
Referenced by ComChan(), and ParseOptions().