summaryrefslogtreecommitdiff
path: root/src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h
diff options
context:
space:
mode:
authorAlexander Kutsan <AKutsan@luxoft.com>2016-08-26 18:48:22 +0300
committerAlexander Kutsan <AKutsan@luxoft.com>2016-08-26 18:48:57 +0300
commitd73e6dc8724c5799fae14efd4dcb214af74e4904 (patch)
tree9ebed8b422490c4d669e90e70783e4f5b55b65c9 /src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h
parentc201c11a35d360c0b96f36b103a2590bfaeb6026 (diff)
parent61ef8c42badb879216f53d240e1101b9f83a9bb7 (diff)
downloadsdl_core-d73e6dc8724c5799fae14efd4dcb214af74e4904.tar.gz
Merge branch 'release/4.1.0'
Diffstat (limited to 'src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h')
-rw-r--r--src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h29
1 files changed, 4 insertions, 25 deletions
diff --git a/src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h b/src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h
index 5ed37031ea..d2a3a5b907 100644
--- a/src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h
+++ b/src/components/hmi_message_handler/include/hmi_message_handler/hmi_message_adapter.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, Ford Motor Company
+ * Copyright (c) 2015, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,7 @@
#ifndef SRC_COMPONENTS_HMI_MESSAGE_HANDLER_INCLUDE_HMI_MESSAGE_HANDLER_HMI_MESSAGE_ADAPTER_H_
#define SRC_COMPONENTS_HMI_MESSAGE_HANDLER_INCLUDE_HMI_MESSAGE_HANDLER_HMI_MESSAGE_ADAPTER_H_
-#include "hmi_message_handler/hmi_message_handler.h"
+#include "hmi_message_handler/hmi_message_sender.h"
namespace hmi_message_handler {
/**
@@ -43,37 +43,16 @@ namespace hmi_message_handler {
* SDL with HMI has to implement this interface.
*/
class HMIMessageAdapter : public HMIMessageSender {
- public:
- /**
- * \brief Constructor
- * \param handler Pointer to implementation of HMIMessageHandler abstract class
- * to notify it about receiving message or error on sending message.
- */
- explicit HMIMessageAdapter(HMIMessageHandler* handler);
-
- /**
- * \brief Destructor
- */
- virtual ~HMIMessageAdapter();
-
protected:
/**
* \brief Interface for subscriptions.
* Each class implementing interface should use it according to
* standarts of transport for which it is to be an adapter.
- * For example, Adapter for MessageBroker will use it to subscribe to notifications
+ * For example, Adapter for MessageBroker will use it to subscribe to
+ * notifications
* from HMI.
*/
virtual void SubscribeTo() = 0;
- inline virtual HMIMessageHandler* handler() const {
- return handler_;
- }
-
- private:
- /**
- *\brief Pointer on handler to notify it about receiving message/error.
- */
- mutable HMIMessageHandler* handler_;
};
} // namespace hmi_message_handler