Command proxy (#25)

* added cmd proxy

* minor

* minor

* WIP

* clean up

* added comment
This commit is contained in:
Erik Fröjdh
2019-05-28 18:01:26 +02:00
committed by Dhanya Thattil
parent 85d4dfc7c8
commit 788ad8d3b6
4 changed files with 114 additions and 3 deletions

View File

@ -14,6 +14,7 @@ class CmdLineParser {
int detector_id() const { return detector_id_; };
int n_arguments() const { return arguments_.size(); }
const std::string &command() const { return command_; }
void setCommand(std::string cmd){command_ = cmd;}
const std::string &executable() const { return executable_; }
const std::vector<std::string> &arguments() const { return arguments_; };
std::vector<const char *> argv() const;