41 lines
911 B
C++
41 lines
911 B
C++
#ifndef OSRM_CUSTOMIZE_CUSTOMIZER_CONFIG_HPP
|
|
#define OSRM_CUSTOMIZE_CUSTOMIZER_CONFIG_HPP
|
|
|
|
#include <boost/filesystem/path.hpp>
|
|
|
|
#include <array>
|
|
#include <string>
|
|
|
|
#include "storage/io_config.hpp"
|
|
#include "updater/updater_config.hpp"
|
|
|
|
namespace osrm
|
|
{
|
|
namespace customizer
|
|
{
|
|
|
|
struct CustomizationConfig final : storage::IOConfig
|
|
{
|
|
CustomizationConfig()
|
|
: IOConfig({".osrm.ebg", ".osrm.partition", ".osrm.cells", ".osrm.ebg_nodes", ".osrm.properties"},
|
|
{},
|
|
{".osrm.cell_metrics", ".osrm.mldgr"}),
|
|
requested_num_threads(0)
|
|
{
|
|
}
|
|
|
|
void UseDefaultOutputNames(const boost::filesystem::path &base)
|
|
{
|
|
IOConfig::UseDefaultOutputNames(base);
|
|
updater_config.UseDefaultOutputNames(base);
|
|
}
|
|
|
|
unsigned requested_num_threads;
|
|
|
|
updater::UpdaterConfig updater_config;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif // OSRM_CUSTOMIZE_CUSTOMIZER_CONFIG_HPP
|