commandline.h File Reference

Go to the source code of this file.

Defines

#define CMD_PARSE_BEGIN(i, count)
#define CMD_PARSE_BEGIN_SILENT(i, count)
#define CMD_PARSE_END
#define CMD_PARSE_END_SILENT
#define parseDouble(name, value)
#define parseDoubleSilent(name, value)
#define parseFlag(name, value)
#define parseFlagSilent(name, value)
#define parseInt(name, value)
#define parseIntSilent(name, value)
#define parseString(name, value)
#define parseStringSilent(name, value)

Define Documentation

#define CMD_PARSE_BEGIN ( i,
count   ) 
Value:
{\
        int c=i;\
        while (c<count){\
                bool recognized=false;

Definition at line 60 of file commandline.h.

#define CMD_PARSE_BEGIN_SILENT ( i,
count   ) 
Value:
{\
        int c=i;\
        while (c<count){\
                bool recognized=false;

Definition at line 73 of file commandline.h.

#define CMD_PARSE_END
Value:
if (!recognized)\
                        cout << "COMMAND LINE: parameter " << argv[c] << " not recognized" << endl;\
                c++;\
        }\
}

Definition at line 66 of file commandline.h.

#define CMD_PARSE_END_SILENT
Value:
c++;\
        }\
}

Definition at line 79 of file commandline.h.

#define parseDouble ( name,
value   ) 
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
        c++;\
        value=atof(argv[c]);\
        cout << name << "=" << value << endl;\
        recognized=true;\
}\

Definition at line 44 of file commandline.h.

#define parseDoubleSilent ( name,
value   ) 
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
        c++;\
        value=atof(argv[c]);\
        recognized=true;\
}\

Definition at line 99 of file commandline.h.

#define parseFlag ( name,
value   ) 
Value:
if (!strcmp(argv[c],name)){\
        value=true;\
        cout << name << " on"<< endl;\
        recognized=true;\
}\

Definition at line 28 of file commandline.h.

#define parseFlagSilent ( name,
value   ) 
Value:
if (!strcmp(argv[c],name)){\
        value=true;\
        recognized=true;\
}\

Definition at line 85 of file commandline.h.

#define parseInt ( name,
value   ) 
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
        c++;\
        value=atoi(argv[c]);\
        cout << name << "=" << value << endl;\
        recognized=true;\
}\

Definition at line 52 of file commandline.h.

#define parseIntSilent ( name,
value   ) 
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
        c++;\
        value=atoi(argv[c]);\
        recognized=true;\
}\

Definition at line 106 of file commandline.h.

#define parseString ( name,
value   ) 
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
        c++;\
        value=argv[c];\
        cout << name << "=" << value << endl;\
        recognized=true;\
}\

Definition at line 35 of file commandline.h.

#define parseStringSilent ( name,
value   ) 
Value:
if (!strcmp(argv[c],name) && c<argc-1){\
        c++;\
        value=argv[c];\
        recognized=true;\
}\

Definition at line 91 of file commandline.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard; ROS wrapper by Brian Gerkey
autogenerated on Fri Jan 11 09:32:07 2013