osrm-backend/include/engine/guidance/route_leg.hpp

30 lines
350 B
C++
Raw Normal View History

2016-01-28 10:28:44 -05:00
#ifndef ROUTE_LEG_HPP
#define ROUTE_LEG_HPP
#include "engine/guidance/route_step.hpp"
#include <boost/optional.hpp>
#include <string>
2016-01-28 10:28:44 -05:00
#include <vector>
namespace osrm
{
namespace engine
{
namespace guidance
{
struct RouteLeg
{
double duration;
double distance;
std::string summary;
2016-01-28 10:28:44 -05:00
std::vector<RouteStep> steps;
};
}
}
}
#endif