ddt  0.1
commandLineParserBuilder.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file commandLineParserBuilder.hpp
8 // @brief Builder for the command line parser.
9 //
10 //
11 // @author Monika Pfeil, CGI
12 // @since 2020/09/03
13 
14 #ifndef DDT_UTILS_COMMANDLINELIB_COMMANDLINEPARSERBUILDER
15 #define DDT_UTILS_COMMANDLINELIB_COMMANDLINEPARSERBUILDER
16 
18 
19 namespace ddt {
20 
25  public:
39  CommandLineParser buildViewerParser(std::string &filename,
40  std::string &data_stream);
49  CommandLineParser buildSubscriberParser(std::string &broker,
50  std::string &data_stream,
51  int &frequency,
52  std::string &remote_broker, int &mode,
53  bool &statistics);
63  CommandLineParser buildPublisherParser(std::string &broker,
64  std::string &data_stream,
65  int &frequency, int &buffer_size,
66  std::string &image_folder, int &mode,
67  bool &checksum);
72  CommandLineParser buildBrokerParser(std::string &uri);
73 };
74 
75 } // namespace ddt
76 
77 #endif // DDT_UTILS_COMMANDLINELIB_COMMANDLINEPARSERBUILDER
ddt::CommandLineParserBuilder::~CommandLineParserBuilder
virtual ~CommandLineParserBuilder()
ddt::CommandLineParserBuilder::buildPublisherParser
CommandLineParser buildPublisherParser(std::string &broker, std::string &data_stream, int &frequency, int &buffer_size, std::string &image_folder, int &mode, bool &checksum)
Definition: commandLineParserBuilder.cpp:36
ddt::CommandLineParserBuilder::buildBrokerParser
CommandLineParser buildBrokerParser(std::string &uri)
Definition: commandLineParserBuilder.cpp:45
ddt
Definition: ddtClient.hpp:36
commandLineParser.hpp
ddt::CommandLineParserBuilder
Definition: commandLineParserBuilder.hpp:24
ddt::CommandLineParser
Definition: commandLineParser.hpp:29
ddt::CommandLineParserBuilder::buildSubscriberParser
CommandLineParser buildSubscriberParser(std::string &broker, std::string &data_stream, int &frequency, std::string &remote_broker, int &mode, bool &statistics)
Definition: commandLineParserBuilder.cpp:27
ddt::CommandLineParserBuilder::buildViewerParser
CommandLineParser buildViewerParser(std::string &filename, std::string &data_stream)
Definition: commandLineParserBuilder.cpp:20
ddt::CommandLineParserBuilder::CommandLineParserBuilder
CommandLineParserBuilder()=default