24 #ifndef __FIREVISION_FVUTILS_SYSTEM_CAMARGP_H_ 25 #define __FIREVISION_FVUTILS_SYSTEM_CAMARGP_H_ 27 #include <fvcams/camera.h> 44 bool has(std::string s)
const;
45 std::string
get(std::string s)
const;
46 long int get_int(std::string s)
const;
48 std::map<std::string, std::string>
parameters()
const;
49 std::vector<std::string>
arguments()
const;
50 std::string
cam_id()
const;
54 std::string _cam_type;
56 std::map<std::string, std::string> values;
57 std::vector<std::string> args;
~CameraArgumentParser()
Destructor.
CameraArgumentParser(const char *as)
Constructor.
std::string cam_id() const
Get camera ID.
std::vector< std::string > arguments() const
Get the arguments.
bool has(std::string s) const
Check if an parameter was given.
double get_float(std::string s) const
Get the value of the given parameter as integer.
std::string cam_type() const
Get camera type.
long int get_int(std::string s) const
Get the value of the given parameter as integer.
std::map< std::string, std::string > parameters() const
Get a map of parameters.