|
ddt
0.1
|
#include <commandLineParserBuilder.hpp>
Public Member Functions | |
| CommandLineParserBuilder ()=default | |
| virtual | ~CommandLineParserBuilder () |
| CommandLineParser | buildViewerParser (std::string &filename, std::string &data_stream) |
| CommandLineParser | buildSubscriberParser (std::string &broker, std::string &data_stream, int &frequency, std::string &remote_broker, int &mode, bool &statistics) |
| CommandLineParser | buildPublisherParser (std::string &broker, std::string &data_stream, int &frequency, int &buffer_size, std::string &image_folder, int &mode, bool &checksum) |
| CommandLineParser | buildBrokerParser (std::string &uri) |
Commandline parser builder class used to build a commandline parser
|
default |
Constructor
|
virtualdefault |
Destructor
| CommandLineParser CommandLineParserBuilder::buildBrokerParser | ( | std::string & | uri | ) |
Build commandline parser for the data broker
| uri | Publishing URI |
| CommandLineParser CommandLineParserBuilder::buildPublisherParser | ( | std::string & | broker, |
| std::string & | data_stream, | ||
| int & | frequency, | ||
| int & | buffer_size, | ||
| std::string & | image_folder, | ||
| int & | mode, | ||
| bool & | checksum | ||
| ) |
Build the commandline parser for the publisher
| broker | Broker URI |
| data_stream | Name of the data stream |
| frequency | Publishing frequency |
| buffer_size | Size of the ringbuffer |
| image_folder | Folder for FITS images |
| mode | Simulator mode |
| CommandLineParser CommandLineParserBuilder::buildSubscriberParser | ( | std::string & | broker, |
| std::string & | data_stream, | ||
| int & | frequency, | ||
| std::string & | remote_broker, | ||
| int & | mode, | ||
| bool & | statistics | ||
| ) |
Build the commandline parser for the subscriber
| broker | Broker URI |
| data_stream | Name of the data stream |
| frequency | Reading frequency |
| remote_broker | URI of the remote broker |
| mode | Mode of the subscriber simulator |
| CommandLineParser CommandLineParserBuilder::buildViewerParser | ( | std::string & | filename, |
| std::string & | data_stream | ||
| ) |
Build the commandline parser for the viewer
| filename | The name of a file to open |
| data_stream | The name of a data stream to attach |