GPS_SetClock::GPS_SetClock |
( |
| ) |
|
int GPS_SetClock::parseRunstring |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
int GPS_SetClock::run |
( |
| ) |
|
References baudRate, clockDiffMaxSeconds, nidas::util::SerialPort::close(), dataTimeout, device, nidas::util::SerialPort::getFd(), nidas::util::SerialPort::getName(), gpsOffsetUsecs, nidas::util::Termios::iflag(), nidas::util::Termios::lflag(), lockTimeout, nidas::util::Termios::oflag(), nidas::util::SerialPort::open(), nidas::util::SerialPort::readLine(), nidas::util::Termios::setBaudRate(), setSysTime(), skipcommas(), nidas::util::SerialPort::termios(), USECS_PER_SEC, and nidas::util::Exception::what().
Referenced by main().
const char * GPS_SetClock::skipcommas |
( |
const char * |
cp, |
|
|
int |
ncomma |
|
) |
| |
|
static |
int GPS_SetClock::usage |
( |
const char * |
argv0 | ) |
|
|
static |
int GPS_SetClock::baudRate |
|
private |
If the difference between the GPS and system clock is more than this, set the system clock from the GPS.
Referenced by parseRunstring(), and run().
int GPS_SetClock::dataTimeout |
|
private |
int GPS_SetClock::dataTimeoutDefault = 30 |
|
staticprivate |
string GPS_SetClock::device |
|
private |
int GPS_SetClock::gpsOffsetUsecs |
|
private |
int GPS_SetClock::lockTimeout |
|
private |
int GPS_SetClock::lockTimeoutDefault = 600 |
|
staticprivate |
The documentation for this class was generated from the following file: