summaryrefslogtreecommitdiffstats
path: root/include/genivi/navicore.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-10-19 13:45:11 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-10-31 01:59:13 -0700
commit3e94024998c1615bd30306aab7537db22161a9ce (patch)
tree6bea3ac4de640d98c8c27ffd0c02f9eb86ca0773 /include/genivi/navicore.h
parent9539611e896e61e27154bbb5917188753a983871 (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/genivi/navicore.h')
-rw-r--r--include/genivi/navicore.h140
1 files changed, 0 insertions, 140 deletions
diff --git a/include/genivi/navicore.h b/include/genivi/navicore.h
deleted file mode 100644
index a80bc1f..0000000
--- a/include/genivi/navicore.h
+++ /dev/null
@@ -1,140 +0,0 @@
-// Copyright 2017 AISIN AW CO.,LTD
-
-#ifndef NAVICORE_H
-#define NAVICORE_H
-
-#include <dbus-c++-1/dbus-c++/dbus.h>
-#include "genivi-navigationcore-proxy.h"
-#include <stdio.h>
-
-class Navicore :
- public org::genivi::navigationcore::Session_proxy,
- public org::genivi::navigationcore::Routing_proxy,
- public org::genivi::navigationcore::MapMatchedPosition_proxy,
- public org::genivi::navigationcore::Guidance_proxy,
- public DBus::IntrospectableProxy,
- public DBus::ObjectProxy
-{
-public:
- Navicore(DBus::Connection &connection, const char *path, const char *name)
- : DBus::ObjectProxy(connection, path, name)
- {
- };
-
- // Session
- void SessionDeleted(const uint32_t& sessionHandle)
- {
- printf("NavicoreSession - Session %d deleted\n",sessionHandle);
- };
-
- // Routing
- void RouteDeleted(const uint32_t& routeHandle)
- {
- // TODO
- };
-
- void RouteCalculationCancelled(const uint32_t& routeHandle)
- {
- // TODO
- };
-
- void RouteCalculationSuccessful(const uint32_t& routeHandle, const std::map< int32_t, int32_t >& unfullfilledPreferences)
- {
- // TODO
- };
-
- void RouteCalculationFailed(const uint32_t& routeHandle, const int32_t& errorCode, const std::map< int32_t, int32_t >& unfullfilledPreferences)
- {
- // TODO
- };
-
- void RouteCalculationProgressUpdate(const uint32_t& routeHandle, const int32_t& status, const uint8_t& percentage)
- {
- // TODO
- };
-
- void AlternativeRoutesAvailable(const std::vector< uint32_t >& routeHandlesList)
- {
- // TODO
- };
-
- // MapMatchedPosition
- void SimulationStatusChanged(const int32_t& simulationStatus)
- {
- // TODO
- };
-
- void SimulationSpeedChanged(const uint8_t& speedFactor)
- {
- // TODO
- };
-
- void PositionUpdate(const std::vector< int32_t >& changedValues)
- {
- // TODO
- };
-
- void AddressUpdate(const std::vector< int32_t >& changedValues)
- {
- // TODO
- };
-
- void PositionOnSegmentUpdate(const std::vector< int32_t >& changedValues)
- {
- // TODO
- };
-
- void StatusUpdate(const std::vector< int32_t >& changedValues)
- {
- // TODO
- };
-
- void OffRoadPositionChanged(const uint32_t& distance, const int32_t& direction)
- {
- // TODO
- };
-
- // Guidance
- void VehicleLeftTheRoadNetwork()
- {
- // TODO
- };
-
- void GuidanceStatusChanged(const int32_t& guidanceStatus, const uint32_t& routeHandle)
- {
- // TODO
- };
-
- void WaypointReached(const bool& isDestination)
- {
- // TODO
- };
-
- void ManeuverChanged(const int32_t& maneuver)
- {
- // TODO
- };
-
- void PositionOnRouteChanged(const uint32_t& offsetOnRoute)
- {
- // TODO
- };
-
- void VehicleLeftTheRoute()
- {
- // TODO
- };
-
- void PositionToRouteChanged(const uint32_t& distance, const int32_t& direction)
- {
- // TODO
- };
-
- void ActiveRouteChanged(const int32_t& changeCause)
- {
- // TODO
- };
-
-};
-
-#endif