ot::GPSListener Class Reference
[Device Input Classes]

#include <GPSDriver.h>

Inheritance diagram for ot::GPSListener:

Inheritance graph
[legend]
List of all members.

Detailed Description

This is an abstract interface for the clients of the GPSDriver class. They have to register with the GPSDriver class and will be called back, if new data arrives.

Author:
Gerhard Reitmayr


Public Member Functions

virtual void newData (const GPResult *point, const char *line, void *userData)=0
virtual ~GPSListener ()


Constructor & Destructor Documentation

virtual ot::GPSListener::~GPSListener  )  [inline, virtual]
 


Member Function Documentation

virtual void ot::GPSListener::newData const GPResult point,
const char *  line,
void *  userData
[pure virtual]
 

This is the callback method called by the GPSDriver class, whenever new data arrives. Any subclasses of GPSListener must override it to receive the data.

Parameters:
point pointer to the GPResult object that represents the parsed data.
line the corresponding string received from the GPS receiver.
uderData a pointer to user data stored when registering the listener.

Implemented in ot::DGPSIP_Handler, ot::GPSDirectionSource, ot::GPSGarminAltitude, ot::GPSGarminCompass, ot::GPSInfoSource, ot::GPSModule, and ot::GPSSource.


The documentation for this class was generated from the following file:
Generated on Wed Feb 28 15:31:46 2007 for NaviTrack by  doxygen 1.4.6