osrm-backend/include/extractor/traffic_lights.hpp
2022-12-20 18:00:11 +01:00

18 lines
514 B
C++

#ifndef OSRM_EXTRACTOR_TRAFFIC_LIGHTS_DATA_HPP_
#define OSRM_EXTRACTOR_TRAFFIC_LIGHTS_DATA_HPP_
namespace osrm::extractor::TrafficLightClass
{
// The traffic light annotation is extracted from node tags.
// The directions in which the traffic light applies are relative to the way containing the node.
enum Direction
{
NONE = 0,
DIRECTION_ALL = 1,
DIRECTION_FORWARD = 2,
DIRECTION_REVERSE = 3
};
} // namespace osrm::extractor::TrafficLightClass
#endif // OSRM_EXTRACTOR_TRAFFIC_LIGHTS_DATA_HPP_