summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Laner <laner@itestra.de>2014-03-13 16:58:41 +0100
committerJohannes Langlotz <johannes.langlotz@partner.bmw.de>2014-03-24 17:48:57 +0100
commita99465a6846db79e68ef277cfd7244506c1f6d08 (patch)
tree87d9ccb6ef45071d3ce1f2e39345caba66de0371
parentc41805f4710d7ab01efbe1c632f140d2d0efcfa7 (diff)
downloadgenivi-common-api-runtime-a99465a6846db79e68ef277cfd7244506c1f6d08.tar.gz
added generation of code for disambiguation needed for attributes on
inherited interfaces
-rw-r--r--org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend
index 30f22da..a8f098b 100644
--- a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend
+++ b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend
@@ -351,7 +351,7 @@ class FInterfaceStubGenerator {
«IF attribute.isObservable»const bool valueChanged = «ENDIF»«attribute.stubDefaultClassTrySetMethodName»(std::move(value));
«IF attribute.isObservable»
if (valueChanged && stubAdapter_ != NULL) {
- stubAdapter_->«attribute.stubAdapterClassFireChangedMethodName»(«attribute.stubDefaultClassVariableName»);
+ «IF fInterface.base != null»CommonAPI::Stub<«fInterface.stubAdapterClassName», «fInterface.stubRemoteEventClassName»>::«ENDIF»stubAdapter_->«attribute.stubAdapterClassFireChangedMethodName»(«attribute.stubDefaultClassVariableName»);
}
«ENDIF»
}