Browse Source

Added //FIXME

Casper Thule 4 years ago
parent
commit
ffc2c50191

+ 6 - 0
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/src/be/uantwerpen/ansymo/semanticadaptation/cg/cpp/generation/CppGenerator.xtend

@@ -726,16 +726,19 @@ class CppGenerator extends SemanticAdaptationGenerator {
 							«funcSigCon»{
 								double h = 0;
 								double dt = 0;
+								//FIXME
 								return true;
 							}
 							«funcSigBody»{
 								double h = 0;
 								double dt = 0;
+								//FIXME
 								this->internalState.stored_«dependency.owner.name»_«dependency.port.name» = «getValueCpp»;
 							}
 							«funcSigFlush»{
 								double h = 0;
 								double dt = 0;
+								//FIXME
 								this->internalState.«currentPort.name» = this->internalState.stored_«dependency.owner.name»_«dependency.port.name»;
 							}
 						'''
@@ -745,16 +748,19 @@ class CppGenerator extends SemanticAdaptationGenerator {
 							«funcSigCon»{
 								double h = 0;
 								double dt = 0;
+								//FIXME
 								return true;
 							}
 							«funcSigBody»{
 								double h = 0;
 								double dt = 0;
+								//FIXME
 								this->internalState.stored_«dependency.owner.name»_«dependency.port.name» = this->internalState.«currentPort.name»;
 							}
 							«funcSigFlush»{
 								double h = 0;
 								double dt = 0;
+								//FIXME
 								«setValueCpp»
 							}
 						'''

+ 3 - 0
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/src/be/uantwerpen/ansymo/semanticadaptation/cg/cpp/generation/RulesConditionSwitch.xtend

@@ -186,6 +186,7 @@ class RulesConditionSwitch extends BasicConditionSwitch {
 			«functionSignature»{
 				double h = 0;
 				double dt = 0;
+				//FIXME
 				return «doSwitch(object.condition).code»;
 			}
 		''';
@@ -201,6 +202,7 @@ class RulesConditionSwitch extends BasicConditionSwitch {
 			«functionSig»{
 				double h = 0;
 				double dt = 0;
+				//FIXME
 				«IF object.expression !== null»
 					«val result = doSwitch(object.expression)»
 					«result.code»«if (!result.isExpression) ";"»
@@ -308,6 +310,7 @@ class RulesConditionSwitch extends BasicConditionSwitch {
 			«functionSig»{
 				double h = 0;
 				double dt = 0;
+				//FIXME
 				«FOR stm : object.statements»
 					«val result = doSwitch(stm)»
 					«result.code»«if(!result.isExpression) ";"»