Commit Graph

82 Commits

Author SHA1 Message Date
Dennis Luxen
8485e02c00 renamed: Plugins/* -> plugins/* 2014-11-28 15:14:13 +01:00
Dennis Luxen
58de37e822 renamed: DataStructures/* -> data_structures/* 2014-11-28 12:15:31 +01:00
Dennis Luxen
6f75d68d07 untangle includes 2014-10-23 16:11:54 +02:00
Dennis Luxen
be970326b6 remove superflous include from library 2014-10-22 19:28:15 +02:00
Dennis Luxen
463511871f Refactor routing plugins:
- remove superflous members from RawRouteData, partially implements #1238
- DescriptorTable moved to BaseDescriptor.h
- added templated assignment c'tor to DescriptorConfig
- refactored check for valid input coordinates, moved to BasePlugin.h
- replaced shared_ptr's to descriptors in ViaRoutePlugin.h with unique_ptr
- implemented FindIncrementalPhantomNode in facades for a single, i.e. first result
- untangled a few includes
2014-10-22 19:02:19 +02:00
Dennis Luxen
274140d309 refactor SimpleLogger into simple_logger compile unit 2014-10-10 19:32:49 +02:00
Dennis Luxen
4c64f5fe62 remove shared memory indicator member, use unique_ptr for barriers 2014-10-10 10:41:06 +02:00
Dennis Luxen
9455ea0547 fix initialization of use_shared_memory 2014-10-10 10:41:06 +02:00
Dennis Luxen
c3b54a63c3 remove ServerPaths member from OSRM_impl. pass it by value to c'tor 2014-10-10 10:41:06 +02:00
Dennis Luxen
b9e1d3116c implements and fixes #997
- ServerPaths object can be populated by passing base path to OSRM
- reduces code/functionality duplication in node-OSRM
2014-10-10 10:41:05 +02:00
Dennis Luxen
f6f0de0e38 pimpl OSRM lib with std::unique_ptr 2014-09-24 13:17:55 +02:00
Dennis Luxen
82c2ae5441 first round of replacing deprecated typedefs with much nicer using statements 2014-08-19 13:01:38 +02:00
Dennis Luxen
60d70a9f4c fix leak on shutdown 2014-06-20 17:32:20 +02:00
Dennis Luxen
8aee371d81 further include untangling, chops 5sec compile time 2014-06-11 12:25:57 +02:00
Dennis Luxen
a80815d57a implements output generation through a dedicated JSON container:
- JSON syntax is not scattered over several files, but one place
- Reduces code duplication
- breaking changes:
  - new property in json(p) formatted response: "found_alternative": True/False
  - returned filenames now response.js(on) or route.gpx
  - /hello plugin returns JSON now
2014-05-20 14:33:00 +02:00
Dennis Luxen
5e26e4c22d replacing all boost unordereds 2014-05-09 18:40:07 +02:00
Dennis Luxen
3074a0146e remove superflous boost include 2014-05-08 18:26:07 +02:00
Dennis Luxen
cb30f4668e fix broken include 2014-05-07 16:45:48 +02:00
Dennis Luxen
e3244dd649 migrate Library dir to C++11, use fwd decls 2014-05-07 16:17:14 +02:00
Dennis Luxen
776ac3bb2a remove superflous include 2014-04-24 12:55:52 +02:00
Dennis Luxen
678829ab28 fix include order (thx flint) 2014-04-21 17:40:06 +02:00
Dennis Luxen
d8dffa9d71 make single paramter c'tors explicit (thx flint) 2014-04-21 17:40:06 +02:00
Dennis Luxen
27e2de2b1f fix inverted logic 2014-03-17 15:19:24 +01:00
Dennis Luxen
7794cd6274 do not instantiate shared memory facility in routed, fixes #905 and #910 2014-02-11 11:35:29 +01:00
DennisOSRM
a23158f986 remove deleted files 2013-12-20 13:14:02 +01:00
DennisOSRM
41f3f53540 move includes to include/osrm 2013-12-20 13:12:56 +01:00
Dennis Luxen
991c9f2f8b remove superflous include 2013-12-18 12:01:16 +01:00
Dennis Luxen
fd2f000075 install lib header files with make install target 2013-12-17 17:59:44 +01:00
Dennis Luxen
204f7c918e remove empty line 2013-12-16 17:26:18 +01:00
Dennis Luxen
7144f69683 movve osrm class into hidden object 2013-12-13 12:32:24 -05:00
Dennis Luxen
ba6641ed9a fix node-OSRM build, https://github.com/DennisOSRM/node-OSRM/issues/19 2013-12-09 12:03:02 -05:00
Dennis Luxen
19285d61ab reorder includes to cut compile time 2013-12-08 19:38:13 +01:00
Dennis Luxen
ee6c15b997 remove self include 2013-12-08 16:30:08 +01:00
Dennis Luxen
3319709526 rename file, untangle more includes 2013-11-14 12:42:33 -05:00
Dennis Luxen
dc4a3e9b89 untangle server and http components 2013-11-14 12:29:56 -05:00
Dennis Luxen
61d955f3de move Reply into compile unit 2013-11-13 18:42:57 -05:00
Dennis Luxen
89d0412e22 fix include order 2013-11-08 10:08:27 -05:00
Dennis Luxen
bb87f28e80 remove debug output 2013-10-30 11:41:06 +01:00
Dennis Luxen
4144698540 make data store less verbose in release mode 2013-10-28 14:56:25 +01:00
Dennis Luxen
3e5e3175e0 check for new data with every query 2013-10-25 19:32:06 +02:00
Dennis Luxen
6ae880f61e finished locking implementation in queries. YAY\! 2013-10-23 13:22:59 +02:00
Dennis Luxen
0d1149310c implement shared lock in query 2013-10-22 19:06:47 +02:00
Dennis Luxen
4c02002265 iron out skeleton for implementation of shared sync 2013-10-21 19:06:58 +02:00
Dennis Luxen
19a457ab7d implement update barrier 2013-10-17 18:11:53 +02:00
Dennis Luxen
53a0bc963a indicate the type of memory to the user 2013-10-16 13:40:40 +02:00
Dennis Luxen
593dfd0108 Merging and rebasing of develop into shared_memory
Conflicts:
	DataStructures/SearchEngine.h
	DataStructures/StaticRTree.h
	Descriptors/DescriptionFactory.cpp
	Library/OSRM.cpp
	Library/OSRM.h
	RoutingAlgorithms/BasicRoutingInterface.h
	RoutingAlgorithms/ShortestPathRouting.h
	Server/DataStructures/BaseDataFacade.h
	Server/DataStructures/InternalDataFacade.h
	Server/DataStructures/QueryObjectsStorage.cpp
	Server/DataStructures/SharedDataFacade.h
	routed.cpp
2013-10-15 17:04:53 +02:00
Dennis Luxen
aaf0fb9d12 Rework facades to accept ServerPaths object as configuration 2013-10-15 15:44:40 +02:00
Dennis Luxen
6a900ed6e7 remove unneeded member 2013-10-15 14:35:35 +02:00
Dennis Luxen
7951795ea4 Implementation of internal data storage 2013-10-15 14:19:53 +02:00
Dennis Luxen
ab1d3d1ced Properly instantiate plugins 2013-10-15 14:17:44 +02:00