osrm-backend/include/engine/plugins/table.hpp

35 lines
726 B
C++
Raw Normal View History

2016-02-12 19:48:14 -05:00
#ifndef TABLE_HPP
#define TABLE_HPP
#include "engine/plugins/plugin_base.hpp"
#include "engine/api/table_parameters.hpp"
#include "engine/routing_algorithms.hpp"
2017-07-26 10:43:53 -04:00
2016-02-12 19:48:14 -05:00
#include "util/json_container.hpp"
namespace osrm
{
namespace engine
{
namespace plugins
{
class TablePlugin final : public BasePlugin
{
public:
explicit TablePlugin(const int max_locations_distance_table);
2016-02-12 19:48:14 -05:00
Status HandleRequest(const RoutingAlgorithmsInterface &algorithms,
const api::TableParameters &params,
osrm::engine::api::ResultT &result) const;
2016-02-17 16:49:44 -05:00
private:
const int max_locations_distance_table;
2016-02-12 19:48:14 -05:00
};
} // namespace plugins
} // namespace engine
} // namespace osrm
2016-02-12 19:48:14 -05:00
#endif // TABLE_HPP