#ifndef OPTS_H #define OPTS_H #include #include #include // Define a class to hold the options and parse arguments class OptionParser { public: OptionParser() : verbose(false), printUsage(false) {} ~OptionParser() = default; void parseArguments(int argc, char *argv[]); void dumpOptions() const; std::string getUsage() const; public: std::vector extro; std::vector intero; std::vector actuator; std::string devFile; bool verbose, printUsage; static struct option longOptions[]; }; #endif // OPTS_H