◆ GPS_SetClock()
GPS_SetClock::GPS_SetClock |
( |
| ) |
|
◆ parseRunstring()
int GPS_SetClock::parseRunstring |
( |
int | argc, |
|
|
char ** | argv ) |
◆ run()
int GPS_SetClock::run |
( |
| ) |
|
References baudRate, clockDiffMaxSeconds, nidas::util::SerialPort::close(), dataTimeout, device, nidas::util::SerialPort::getFd(), nidas::util::SerialPort::getName(), gpsOffsetUsecs, lockTimeout, nidas::util::SerialPort::open(), nidas::util::SerialPort::readLine(), nidas::util::Termios::setBaudRate(), setSysTime(), skipcommas(), nidas::util::SerialPort::termios(), and USECS_PER_SEC.
Referenced by main().
◆ setSysTime()
◆ skipcommas()
const char * GPS_SetClock::skipcommas |
( |
const char * | cp, |
|
|
int | ncomma ) |
|
static |
◆ usage()
int GPS_SetClock::usage |
( |
const char * | argv0 | ) |
|
|
static |
◆ baudRate
int GPS_SetClock::baudRate |
|
private |
◆ clockDiffMaxSeconds
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().
◆ dataTimeout
int GPS_SetClock::dataTimeout |
|
private |
◆ dataTimeoutDefault
int GPS_SetClock::dataTimeoutDefault = 30 |
|
staticprivate |
◆ device
string GPS_SetClock::device |
|
private |
◆ gpsOffsetUsecs
int GPS_SetClock::gpsOffsetUsecs |
|
private |
◆ lockTimeout
int GPS_SetClock::lockTimeout |
|
private |
◆ lockTimeoutDefault
int GPS_SetClock::lockTimeoutDefault = 600 |
|
staticprivate |
The documentation for this class was generated from the following file: