aboutsummaryrefslogtreecommitdiffstats
path: root/include/analyze_request.h
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-08-30 13:37:11 -0400
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-12-01 21:08:10 -0800
commit4cb2d04a796d5a081226552ad5ad594586ec1514 (patch)
tree6bea3ac4de640d98c8c27ffd0c02f9eb86ca0773 /include/analyze_request.h
parent4d295e4a5c07f6282cf63307b982f93c4e2b7dc9 (diff)
binding: navigation: rewrite of navigation binding
To remove dependency on DBus the binding needed to be rewritten to output pure JSON output to subscribed consumers. Bug-AGL: SPEC-2880 Change-Id: Ie85dfccd42ca36119116a0fbfb16bf4e96efc184 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'include/analyze_request.h')
-rw-r--r--include/analyze_request.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/include/analyze_request.h b/include/analyze_request.h
deleted file mode 100644
index f570a1c..0000000
--- a/include/analyze_request.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2017 AW SOFTWARE CO.,LTD
-// Copyright 2017 AISIN AW CO.,LTD
-
-#pragma once
-
-#include <stdbool.h>
-#include <stdint.h>
-#include <vector>
-
-#include "genivi_request.h"
-
-/**
- * @brief Analyze requests from BinderClient and create arguments to pass to Genivi API.
- */
-class AnalyzeRequest
-{
-public:
- bool CreateParamsGetPosition( const char* req_json_str, std::vector< int32_t >& Params );
- bool CreateParamsCreateRoute( const char* req_json_str, uint32_t& sessionHdl );
- bool CreateParamsPauseSimulation( const char* req_json_str, uint32_t& sessionHdl );
- bool CreateParamsSetSimulationMode( const char* req_json_str, uint32_t& sessionHdl, bool& simuMode );
- bool CreateParamsCancelRouteCalculation( const char* req_json_str, uint32_t& sessionHdl, uint32_t& routeHdl );
- bool CreateParamsSetWaypoints( const char* req_json_str, uint32_t& sessionHdl, uint32_t& routeHdl,
- bool& currentPos, std::vector<Waypoint>& waypointsList );
- bool CreateParamsCalculateRoute( const char* req_json_str, uint32_t& sessionHdl, uint32_t& routeHdl );
-
-private:
- bool JsonObjectGetSessionHdl( const char* req_json_str, uint32_t& sessionHdl);
- bool JsonObjectGetSessionHdlRouteHdl( const char* req_json_str, uint32_t& sessionHdl, uint32_t& routeHdl);
-};
-