Public Member Functions
NavigationTimer Class Reference

Brief description of class still missing. More...

#include <NavigationTimer.h>

Inheritance diagram for NavigationTimer:
GpCoreTools::Timer

List of all members.

Public Member Functions

virtual bool exec ()
 NavigationTimer (UbxDevice *device, int timeoutDelay)

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

NavigationTimer::NavigationTimer ( UbxDevice device,
int  timeoutDelay 
)

References GpCoreTools::Timer::setInterval().

    : Timer()
{
  _device=device;
  setInterval(timeoutDelay);
}

Member Function Documentation

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;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines