Fawkes API
Fawkes Development Version
|
24 #ifndef _FIREVISION_FVUTILS_SYSTEM_CAMARGP_H_
25 #define _FIREVISION_FVUTILS_SYSTEM_CAMARGP_H_
27 #include <fvcams/camera.h>
33 namespace firevision {
41 bool has(std::string s)
const;
42 std::string
get(std::string s)
const;
43 long int get_int(std::string s)
const;
45 std::map<std::string, std::string>
parameters()
const;
46 std::vector<std::string>
arguments()
const;
47 std::string
cam_id()
const;
51 std::string _cam_type;
53 std::map<std::string, std::string> values;
54 std::vector<std::string> args;
std::string cam_id() const
Get camera ID.
~CameraArgumentParser()
Destructor.
CameraArgumentParser(const char *as)
Constructor.
std::vector< std::string > arguments() const
Get the arguments.
std::string cam_type() const
Get camera type.
bool has(std::string s) const
Check if an parameter was given.
long int get_int(std::string s) const
Get the value of the given parameter as integer.
double get_float(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.
std::string get(std::string s) const
Get the value of the given parameter.