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:
30 
35 
46  CommandLineParser buildRemoteClientParser(std::string &server_uri,
47  std::string &image_widget,
48  std::string &command,
49  std::vector<std::string> &arguments,
50  int32_t &timeout, bool &infinite);
51 
61  CommandLineParser buildViewerParser(std::string &filename,
62  std::string &data_stream,
63  std::string &server_uri,
64  std::string &default_image_scale,
65  bool &timestamp);
66 
79  std::string &data_stream,
80  int &frequency,
81  std::string &remote_broker, int &mode,
82  bool &statistics, bool &dump_data,
83  std::string &dump_folder);
84 
95  std::string &data_stream,
96  int &frequency, int &buffer_size,
97  std::string &image_folder, int &mode,
98  bool &checksum);
99 
105  CommandLineParser buildBrokerParser(std::string &uri,
106  std::string &config_file);
107 };
108 
109 } // namespace ddt
110 
111 #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:51
ddt::CommandLineParserBuilder::buildRemoteClientParser
CommandLineParser buildRemoteClientParser(std::string &server_uri, std::string &image_widget, std::string &command, std::vector< std::string > &arguments, int32_t &timeout, bool &infinite)
Definition: commandLineParserBuilder.cpp:20
ddt::CommandLineParserBuilder::buildViewerParser
CommandLineParser buildViewerParser(std::string &filename, std::string &data_stream, std::string &server_uri, std::string &default_image_scale, bool &timestamp)
Definition: commandLineParserBuilder.cpp:30
ddt
Definition: ddtClient.hpp:36
ddt::CommandLineParserBuilder::buildSubscriberParser
CommandLineParser buildSubscriberParser(std::string &broker, std::string &data_stream, int &frequency, std::string &remote_broker, int &mode, bool &statistics, bool &dump_data, std::string &dump_folder)
Definition: commandLineParserBuilder.cpp:40
pyDdtBroker.broker
broker
Definition: pyDdtBroker.py:21
commandLineParser.hpp
ddt::CommandLineParserBuilder
Definition: commandLineParserBuilder.hpp:24
ddt::CommandLineParser
Definition: commandLineParser.hpp:30
ddt::CommandLineParserBuilder::buildBrokerParser
CommandLineParser buildBrokerParser(std::string &uri, std::string &config_file)
Definition: commandLineParserBuilder.cpp:61
ddt::CommandLineParserBuilder::CommandLineParserBuilder
CommandLineParserBuilder()=default