59 #include "rnr/rnrconfig.h" 96 "Unit test liblaelaps LaeDesc and LaeXmlCfg classes.",
99 "The %P command unit tests the liblaelap LaeDesc and " 100 " LaeXmlCfg class operation.",
126 Argv0 = basename(argv[0]);
133 fprintf(stderr,
"Error: No Laelaps XMl configuration file specified.\n");
150 int main(
int argc,
char* argv[])
158 printf(
"--------------- Before parsing ---------------\n");
163 printf(
"\nError: Failed to load/parse file %s\n",
ArgFileName);
168 printf(
"--------------- Mark as Described ---------------\n");
171 printf(
"\nError: Failed to mark.\n");
176 printf(
"--------------- After parsing ---------------\n");
static char * Argv0
the command
Laelaps robotic mobile platform full description class.
virtual int loadFile(const std::string &strXmlFileName=LaeEtcCfg)
Load XML file into DOM.
static char * ArgFileName
XML file name.
#define APP_EC_OK
success exit code
static OptsInfo_T OptsInfo[]
Command line options information.
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
Laelaps robotic base mobile platform description class interface.
static const PkgInfo_T PkgInfo
int markAsDescribed()
Mark <b><i>Laelaps</i></b> hardware as fully described.
Package version information.
static void mainInit(int argc, char *argv[])
Main initialization.
int main(int argc, char *argv[])
Main.
#define APP_EC_EXEC
execution exit code
<b><i>Laelaps</i></b> XML configuration class interface.
#define APP_EC_ARGS
command-line options/arguments error exit code
void print(int indent=0)
Print out description to stdout.
static OptsPgmInfo_T PgmInfo
Program information.
Top-level package include file.
LaeXmlCfg <b><i>Laelaps</i></b> XML configuration class.