|
libosmscout 0.1
|
Message to pass to the NavigationEngine each time gps state has changed. More...
#include <Agents.h>
Inheritance diagram for osmscout::GPSUpdateMessage:Public Member Functions | |
| GPSUpdateMessage (const Timestamp ×tamp, const GeoCoord ¤tPosition, double currentSpeed, const Distance &horizontalAccuracy) | |
Public Member Functions inherited from osmscout::NavigationMessage | |
| NavigationMessage (const Timestamp ×tamp) | |
| virtual | ~NavigationMessage ()=default |
Public Attributes | |
| const GeoCoord | currentPosition |
| const double | currentSpeed |
| const Distance | horizontalAccuracy |
Public Attributes inherited from osmscout::NavigationMessage | |
| const Timestamp | timestamp |
Message to pass to the NavigationEngine each time gps state has changed.
TODO: Pass information about the accuracy of the signal
| osmscout::GPSUpdateMessage::GPSUpdateMessage | ( | const Timestamp & | timestamp, |
| const GeoCoord & | currentPosition, | ||
| double | currentSpeed, | ||
| const Distance & | horizontalAccuracy | ||
| ) |
| timestamp | |
| currentPosition | |
| currentSpeed | if negative, speed is not known |
| horizontalAccuracy | if negative, accuracy is not known |
| const GeoCoord osmscout::GPSUpdateMessage::currentPosition |
| const double osmscout::GPSUpdateMessage::currentSpeed |
| const Distance osmscout::GPSUpdateMessage::horizontalAccuracy |