26 #include <fvutils/system/camargp.h>
31 using namespace firevision;
34 main(
int argc,
char **argv)
36 const char *s =
"firewire:funny ID:mode=xy:test=test2:blub";
43 cout <<
"Camera Type: " << argp->
cam_type() << endl;
44 cout <<
"Camera ID: " << argp->
cam_id() << endl;
46 map<string, string> values = argp->
parameters();
47 map<string, string>::iterator i;
48 for (i = values.begin(); i != values.end(); ++i) {
49 cout <<
"values[" << (*i).first <<
"] = " << (*i).second << endl;
53 vector<string>::iterator j;
54 for (j = args.begin(); j != args.end(); ++j) {
55 cout <<
"arg: " << (*j) << endl;