#include <GPSSource.h>
Inheritance diagram for ot::GPSSource:


Public Member Functions | |
| virtual int | isEventGenerator () |
| virtual void | newData (const GPResult *point, const char *line, void *userData) |
Public Attributes | |
| Event | event |
| the event that is posted to the EventObservers | |
| Event | buffer |
| the buffer event for data from the GPS receiver | |
Protected Member Functions | |
| GPSSource () | |
| protected constructor so it is only accessible by the module | |
Friends | |
| class | GPSModule |
|
|
protected constructor so it is only accessible by the module
|
|
|
tests for EventGenerator interface being present. Is overriden to return 1 always.
Reimplemented from ot::Node. |
|
||||||||||||||||
|
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.
Implements ot::GPSListener. |
|
|
|
|
|
the buffer event for data from the GPS receiver
|
|
|
the event that is posted to the EventObservers
|
1.4.6