Brief description of class still missing. More...
#include <NavigationTimer.h>
Public Member Functions | |
virtual bool | exec () |
NavigationTimer (UbxDevice *device, int timeoutDelay) |
Brief description of class still missing.
Full description of class still missing
NavigationTimer::NavigationTimer | ( | UbxDevice * | device, |
int | timeoutDelay | ||
) |
References GpCoreTools::Timer::setInterval().
: Timer() { _device=device; setInterval(timeoutDelay); }
bool NavigationTimer::exec | ( | ) | [virtual] |
The first shot is after one minute, then every hour. Navigation are valid for two hours.
Implements GpCoreTools::Timer.
References UbxDevice::requestNavigation(), and GpCoreTools::Timer::setInterval().
{ if(_device->requestNavigation()) { setInterval(1800000); // Every half an hour } else { setInterval(60000); // Mostly because raw file is not ready } return true; }