5#ifndef CBM_SERVICES_HISTSERV_APP_PROGRAMOPTIONS_H
6#define CBM_SERVICES_HISTSERV_APP_PROGRAMOPTIONS_H 1
int32_t fiHistosInZmqHwm
High-Water Mark, default keep only 1 update in buffer.
std::string fsChanHistosIn
bool fOverwrite
Enable overwriting of existing output file.
ProgramOptions & operator=(const ProgramOptions &)=default
Assignment operator forbidden.
uint32_t fuHttpServerPort
HTTP port of the ROOT web server.
bool HideGuiCommands() const
Get overwrite option.
const std::string & HistoFile() const
Get output file name (.root format)
ProgramOptions(const ProgramOptions &)=default
Copy constructor forbidden.
bool CompressedInput() const
Get compressed input option.
const int32_t & ComChanZmqRcvHwm() const
Get receive High-Water Mark for interface channel.
~ProgramOptions()=default
Destructor.
bool fCompressedInput
Enables ZSTD stream decompression is available.
int32_t fiHistosInZmqRcvToMs
Timeout in ms: -1 = block, 0 = instant, val = nb ms.
const std::string & ComChan() const
Get interface channel name or hostname + port or whatever or ????? (FIXME: replacement of FairMQ)
ProgramOptions(int argc, char *argv[])
Standard constructor with command line arguments.
const uint32_t & HttpPort() const
Get histo server http port.
bool fHideGuiCommands
Hides (disables) the GUI commands for Reset/Save/Close.
std::string fsHistoFileName
Output file name (ROOT format)
const int32_t & ComChanZmqRcvTo() const
Get receive timeout for interface channel.
bool Overwrite() const
Get overwrite option.
void ParseOptions(int argc, char *argv[])
Get configuration file name (YAML format)