summaryrefslogtreecommitdiff
path: root/navit/traffic.h
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2018-01-25 14:59:35 +0100
committermvglasow <michael -at- vonglasow.com>2018-01-25 14:59:35 +0100
commit8991f234990429d90e09b59f21305e205bd59544 (patch)
treee21e16c7850677a3a8807522b2ce59ef626ef891 /navit/traffic.h
parentde8089555473bbed8fe900aef3fda0d5a5b74cf9 (diff)
downloadnavit-8991f234990429d90e09b59f21305e205bd59544.tar.gz
Add:traffic:Values for invalid events
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic.h')
-rw-r--r--navit/traffic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/traffic.h b/navit/traffic.h
index 80e3c0ae0..dfabe2d82 100644
--- a/navit/traffic.h
+++ b/navit/traffic.h
@@ -61,6 +61,7 @@ extern "C" {
* @brief Classes for events.
*/
enum event_class {
+ event_class_invalid = 0, /*!< Invalid event which should be ignored */
event_class_congestion, /*!< Traffic congestion, typically indicating the approximate speed */
event_class_delay, /*!< Delays, typically indicating the amount of extra waiting time */
event_class_restriction, /*!< Temporary traffic restrictions, such as road or lane closures or size,
@@ -71,6 +72,7 @@ enum event_class {
* @brief Event types.
*/
enum event_type {
+ event_invalid = 0, /*!< Invalid event which should be ignored */
event_congestion_cleared, /*!< Traffic congestion cleared */
event_congestion_forecast_withdrawn, /*!< Traffic congestion forecast withdrawn */
event_congestion_heavy_traffic, /*!< Heavy traffic with average speeds of `speed` */