|
libosmscout 0.1
|
Message to pass to the NavigationEngine each time gps state has changed. More...
#include <Agents.h>
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 |
References currentPosition, currentSpeed, horizontalAccuracy, osmscout::NavigationMessage::NavigationMessage(), and osmscout::NavigationMessage::timestamp.
| const GeoCoord osmscout::GPSUpdateMessage::currentPosition |
Referenced by GPSUpdateMessage().
| const double osmscout::GPSUpdateMessage::currentSpeed |
Referenced by GPSUpdateMessage().
| const Distance osmscout::GPSUpdateMessage::horizontalAccuracy |
Referenced by GPSUpdateMessage().