removing completed todo markers
This commit is contained in:
parent
59cf1a4937
commit
7824e1446a
@ -32,7 +32,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "../Util/StringUtil.h"
|
#include "../Util/StringUtil.h"
|
||||||
|
|
||||||
//locates the nearest node in the road network for a given coordinate.
|
//locates the nearest node in the road network for a given coordinate.
|
||||||
//TODO: Rework data access to go through facade
|
|
||||||
|
|
||||||
template<class DataFacadeT>
|
template<class DataFacadeT>
|
||||||
class LocatePlugin : public BasePlugin {
|
class LocatePlugin : public BasePlugin {
|
||||||
@ -70,7 +69,12 @@ public:
|
|||||||
reply.status = http::Reply::ok;
|
reply.status = http::Reply::ok;
|
||||||
reply.content += ("{");
|
reply.content += ("{");
|
||||||
reply.content += ("\"version\":0.3,");
|
reply.content += ("\"version\":0.3,");
|
||||||
if(!facade->LocateClosestEndPointForCoordinate(routeParameters.coordinates[0], result)) {
|
if(
|
||||||
|
!facade->LocateClosestEndPointForCoordinate(
|
||||||
|
routeParameters.coordinates[0],
|
||||||
|
result
|
||||||
|
)
|
||||||
|
) {
|
||||||
reply.content += ("\"status\":207,");
|
reply.content += ("\"status\":207,");
|
||||||
reply.content += ("\"mapped_coordinate\":[]");
|
reply.content += ("\"mapped_coordinate\":[]");
|
||||||
} else {
|
} else {
|
||||||
|
@ -29,7 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#define TIMESTAMPPLUGIN_H_
|
#define TIMESTAMPPLUGIN_H_
|
||||||
|
|
||||||
#include "BasePlugin.h"
|
#include "BasePlugin.h"
|
||||||
//TODO: Rework data access to go through facade
|
|
||||||
|
|
||||||
template<class DataFacadeT>
|
template<class DataFacadeT>
|
||||||
class TimestampPlugin : public BasePlugin {
|
class TimestampPlugin : public BasePlugin {
|
||||||
|
@ -46,7 +46,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
//TODO: Rework data access to go through facade
|
|
||||||
template<class DataFacadeT>
|
template<class DataFacadeT>
|
||||||
class ViaRoutePlugin : public BasePlugin {
|
class ViaRoutePlugin : public BasePlugin {
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user