summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h
diff options
context:
space:
mode:
authorHerasym Oleh <oolleehh@gmail.com>2016-03-24 15:27:24 +0200
committerHerasym Oleh <oolleehh@gmail.com>2016-04-13 09:05:33 +0300
commit47e02bf586513eccb2ba00656a17b237efb1442c (patch)
treecf4f5299ae809896e803f1f03f87d8f857b5e73a /src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h
parent021ed56b19de2f284908d09b74bf2ca39ff76a9e (diff)
downloadsdl_core-47e02bf586513eccb2ba00656a17b237efb1442c.tar.gz
Add implementation SubscribeWayPoints&UnsubsribeWayPoints
Add mobile request/response SubscribeWayPoints Add mobile request/response UnSubscribeWayPoints Add HMI request/response SubscribeWayPoints Add HMI request/response UnsubscribeWayPoints Add SendUnsubscribeWayPoints method in MessageHelper Add save subscribe app status to resumption DB & json Add Sending UnsubscribeWayPoints in case unexpected disconnect Related: APPLINK-21629 Conflicts: src/components/application_manager/src/application_manager_impl.cc
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h')
-rw-r--r--src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h
new file mode 100644
index 0000000000..c665904067
--- /dev/null
+++ b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_way_points_request.h
@@ -0,0 +1,43 @@
+#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_SUBSCRIBE_WAY_POINTS_REQUEST_H_
+#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_SUBSCRIBE_WAY_POINTS_REQUEST_H_
+
+#include "application_manager/commands/command_request_impl.h"
+
+namespace application_manager {
+
+namespace commands {
+
+/**
+ * @brief SubsribeWayPointsRequest command class
+ **/
+class SubscribeWayPointsRequest : public CommandRequestImpl {
+public:
+ /**
+ * \brief SubscribeWayPointsRequest class constructor
+ **/
+ explicit SubscribeWayPointsRequest(const MessageSharedPtr& message);
+
+ /**
+ * \brief SubscribeWayPointsRequest class destructor
+ **/
+ virtual ~SubscribeWayPointsRequest();
+
+ /**
+ * @brief Execute command
+ **/
+ virtual void Run();
+ /**
+ * @brief Interface method that is called whenever new event received
+ *
+ * @param event The received event
+ */
+ virtual void on_event(const event_engine::Event& event);
+private:
+ DISALLOW_COPY_AND_ASSIGN(SubscribeWayPointsRequest);
+};
+
+} // commands
+
+} // application_manager
+
+#endif // SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_SUBSCRIBE_WAY_POINTS_REQUEST_H_