![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Unit test liblaelaps thread base class. More...
#include <unistd.h>#include <termios.h>#include <string.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <iostream>#include <fstream>#include <string>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "rnr/opts.h"#include "rnr/pkg.h"#include "rnr/appkit/Random.h"#include "Laelaps/laelaps.h"#include "Laelaps/laeThread.h"#include "version.h"Go to the source code of this file.
Classes | |
| class | UTThread |
Macros | |
| #define | APP_EC_OK 0 |
| success exit code | |
| #define | APP_EC_ARGS 2 |
| command-line options/arguments error exit code | |
| #define | APP_EC_EXEC 4 |
| execution exit code | |
Functions | |
| int | getch () |
| int | kbhit () |
| static void | mainInit (int argc, char *argv[]) |
| Main initialization. More... | |
| int | main (int argc, char *argv[]) |
| Main. More... | |
Variables | |
| static char * | Argv0 |
| the command | |
| static double | OptsHz = 2 |
| thread hertz rate | |
| static bool_t | OptsRand = false |
| thread random jitter | |
| static OptsPgmInfo_T | PgmInfo |
| Program information. More... | |
| static OptsInfo_T | OptsInfo [] |
| Command line options information. | |
| UTThread | operator |
Unit test liblaelaps thread base class.
Definition in file utThread.cxx.
|
static |
Main initialization.
| argc | Command-line argument count. |
| argv | Command-line argument list. |
Definition at line 242 of file utThread.cxx.
References APP_EC_OK, Argv0, laelaps::LaeThread::createThread(), main(), OptsHz, OptsInfo, PgmInfo, PkgInfo, laelaps::LaeThread::runThread(), and laelaps::LaeThread::terminateThread().