summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Linke <christian.linke@bmw.de>2014-11-17 18:36:02 +0100
committerChristian Linke <christian.linke@bmw.de>2014-11-17 18:43:44 +0100
commit97e2c0ec77ab2d7508752e73cde80194a82555b5 (patch)
tree5f759df4fa79bca5dfbaff5f15958a967f8c8d4a
parent56f8af83e4cb72027b99d22eded69f30cde2b6cd (diff)
downloadaudiomanager-97e2c0ec77ab2d7508752e73cde80194a82555b5.tar.gz
* add possibility for routing plugins to ask the domainID for sources and sinks. Needed to make static setup with routing plugins that do not know the infrastructure
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rwxr-xr-xinclude/routing/IAmRoutingReceive.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/routing/IAmRoutingReceive.h b/include/routing/IAmRoutingReceive.h
index de9e55b..27a9d0e 100755
--- a/include/routing/IAmRoutingReceive.h
+++ b/include/routing/IAmRoutingReceive.h
@@ -20,8 +20,8 @@
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL.
* PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN.
*/
-#if !defined(EA_CFDD6028_596E_4fde_8D52_BED642D0842D__INCLUDED_)
-#define EA_CFDD6028_596E_4fde_8D52_BED642D0842D__INCLUDED_
+#if !defined(EA_847BA111_2367_47e3_AEC9_9201E427921A__INCLUDED_)
+#define EA_847BA111_2367_47e3_AEC9_9201E427921A__INCLUDED_
#include <vector>
#include <string>
@@ -325,7 +325,15 @@ public:
* is called whenever a notified value needs to be send
*/
virtual void hookSourceNotificationDataChange(const am_sourceID_t sourceID, const am_NotificationPayload_s& payload) =0;
+ /**
+ * E_OK in case of success
+ */
+ virtual am_Error_e getDomainOfSink(const am_sinkID_t sinkID, am_domainID_t& domainID) =0;
+ /**
+ * E_OK in case of success
+ */
+ virtual am_Error_e getDomainOfSource(const am_sourceID_t sourceID, am_domainID_t& domainID) =0;
};
}
-#endif // !defined(EA_CFDD6028_596E_4fde_8D52_BED642D0842D__INCLUDED_)
+#endif // !defined(EA_847BA111_2367_47e3_AEC9_9201E427921A__INCLUDED_)