instantiate different inherited class at bcp that provides all data
This commit is contained in:
parent
18b57fa6aa
commit
5556dff11e
@ -54,12 +54,17 @@ class OSRM : boost::noncopyable {
|
||||
typedef boost::unordered_map<std::string, BasePlugin *> PluginMap;
|
||||
QueryObjectsStorage * objects;
|
||||
public:
|
||||
OSRM(boost::unordered_map<const std::string,boost::filesystem::path>& paths);
|
||||
OSRM(
|
||||
boost::unordered_map<const std::string,
|
||||
boost::filesystem::path>& paths,
|
||||
const bool use_shared_memory = false
|
||||
);
|
||||
~OSRM();
|
||||
void RunQuery(RouteParameters & route_parameters, http::Reply & reply);
|
||||
private:
|
||||
void RegisterPlugin(BasePlugin * plugin);
|
||||
PluginMap pluginMap;
|
||||
const bool use_shared_memory;
|
||||
};
|
||||
|
||||
#endif //OSRM_H
|
||||
|
Loading…
Reference in New Issue
Block a user