expose mandatory / optional / output files in io_config; config files to use new io_config constructor

This commit is contained in:
Pepijn Schoen
2017-06-05 08:34:44 +02:00
committed by Daniel J. H
parent 5a6dee80ac
commit e208485c17
8 changed files with 158 additions and 96 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ namespace updater
struct UpdaterConfig final : storage::IOConfig
{
UpdaterConfig() {}
UpdaterConfig(const boost::filesystem::path &base) : IOConfig(base) {}
UpdaterConfig(const boost::filesystem::path &base) : IOConfig(
{ ".osrm.ebg", ".osrm.turn_weight_penalties", ".osrm.turn_duration_penalties", ".osrm.turn_penalties_index", ".osrm.nbg_nodes", ".osrm.ebg_nodes",
".osrm.edges", ".osrm.geometry", ".osrm.fileIndex", ".osrm.datasource_names", ".osrm.properties", ".osrm.restrictions", }, {}, {}
) {}
double log_edge_updates_factor;
std::time_t valid_now;