From 97e2c0ec77ab2d7508752e73cde80194a82555b5 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Mon, 17 Nov 2014 18:36:02 +0100 Subject: * 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 --- include/routing/IAmRoutingReceive.h | 14 +++++++++++--- 1 file 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 #include @@ -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_) -- cgit v1.2.1