#include <commandLineParserBuilder.hpp>
|
| | CommandLineParserBuilder ()=default |
| |
| virtual | ~CommandLineParserBuilder () |
| |
| CommandLineParser | buildRemoteClientParser (std::string &server_uri, std::string &image_widget, std::string &command, std::vector< std::string > &arguments, int32_t &timeout, bool &infinite) |
| |
| CommandLineParser | buildViewerParser (std::string &filename, std::string &data_stream, std::string &server_uri, std::string &default_image_scale, bool ×tamp) |
| |
| 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) |
| |
| 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, std::string &config_file) |
| |
Commandline parser builder class used to build a commandline parser
◆ CommandLineParserBuilder()
| ddt::CommandLineParserBuilder::CommandLineParserBuilder |
( |
| ) |
|
|
default |
◆ ~CommandLineParserBuilder()
| CommandLineParserBuilder::~CommandLineParserBuilder |
( |
| ) |
|
|
virtualdefault |
◆ buildBrokerParser()
| CommandLineParser CommandLineParserBuilder::buildBrokerParser |
( |
std::string & |
uri, |
|
|
std::string & |
config_file |
|
) |
| |
Build commandline parser for the data broker
- Parameters
-
| uri | Publishing URI |
| config_file | Configuration file |
◆ buildPublisherParser()
| 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
- Parameters
-
| 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 |
◆ buildRemoteClientParser()
| CommandLineParser CommandLineParserBuilder::buildRemoteClientParser |
( |
std::string & |
server_uri, |
|
|
std::string & |
image_widget, |
|
|
std::string & |
command, |
|
|
std::vector< std::string > & |
arguments, |
|
|
int32_t & |
timeout, |
|
|
bool & |
infinite |
|
) |
| |
Build the commandline parser for the remote client
- Parameters
-
| server_uri | URI to the Remote Control Server |
| image_widget | The name of the image widget |
| command | Command which is sent to the Remote Control Server |
| arguments | Command arguments |
| timeout | Timeout for the MAL client (reply time) |
| infinite | Infinite timeout for the MAL client (reply time is set to 24 h!) |
◆ buildSubscriberParser()
| CommandLineParser CommandLineParserBuilder::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 |
|
) |
| |
Build the commandline parser for the subscriber
- Parameters
-
| 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 |
| statistics | Flag to activate printing of statistic values |
| dump_data | Flag to activate dumping of received data as FITS files |
| dump_folder | Folder where to store the dumped FITS files |
◆ buildViewerParser()
| CommandLineParser CommandLineParserBuilder::buildViewerParser |
( |
std::string & |
filename, |
|
|
std::string & |
data_stream, |
|
|
std::string & |
server_uri, |
|
|
std::string & |
default_image_scale, |
|
|
bool & |
timestamp |
|
) |
| |
Build the commandline parser for the viewer
- Parameters
-
| filename | The name of a file to open |
| data_stream | The name of a data stream to attach |
| server_uri | Server URI for remote control interface |
| default_image_scale | Default scale for the image (specify as whole integers or in the form 1/2, 1/4 etc.) |
| timestamp | flag to display the timestamp of the received data sample |
The documentation for this class was generated from the following files: