Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2012-11-12 12:05:42 -0500
committerJuergen Haug2012-11-12 12:05:42 -0500
commitcee5a6f76524b0a1412f48ff759c95da41d06c62 (patch)
tree4d65255620698094f687feeb0edfc198ae11abd8 /plugins/org.eclipse.etrice.generator.config/xtend-gen/org
parent7ac63420d6f275c0d34347b765fa6d957d1d15fc (diff)
downloadorg.eclipse.etrice-cee5a6f76524b0a1412f48ff759c95da41d06c62.tar.gz
org.eclipse.etrice-cee5a6f76524b0a1412f48ff759c95da41d06c62.tar.xz
org.eclipse.etrice-cee5a6f76524b0a1412f48ff759c95da41d06c62.zip
[CQ][generator.java] port config fix
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.config/xtend-gen/org')
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/.DataConfiguration.java._tracebin41616 -> 45396 bytes
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java19
2 files changed, 19 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/.DataConfiguration.java._trace b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/.DataConfiguration.java._trace
index 5be2e6938..2a0298842 100644
--- a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/.DataConfiguration.java._trace
+++ b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/.DataConfiguration.java._trace
Binary files differ
diff --git a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
index d7f51d1fd..3109e59ca 100644
--- a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
+++ b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
@@ -21,6 +21,7 @@ import org.eclipse.etrice.core.genmodel.base.ILogger;
import org.eclipse.etrice.core.genmodel.etricegen.ActorInstance;
import org.eclipse.etrice.core.room.ActorClass;
import org.eclipse.etrice.core.room.Attribute;
+import org.eclipse.etrice.core.room.InterfaceItem;
import org.eclipse.etrice.core.room.ProtocolClass;
import org.eclipse.etrice.core.room.SubSystemClass;
import org.eclipse.etrice.generator.base.IDataConfiguration;
@@ -138,6 +139,24 @@ public class DataConfiguration implements IDataConfiguration {
return _xblockexpression;
}
+ public String getAttrInstanceConfigValue(final ActorInstance ai, final InterfaceItem port, final List<Attribute> path) {
+ String _xblockexpression = null;
+ {
+ String _path = ai.getPath();
+ String _plus = (_path + "/");
+ String _name = port.getName();
+ String _plus_1 = (_plus + _name);
+ String _plus_2 = (_plus_1 + "/");
+ String _stringPath = this.toStringPath(path);
+ String id = (_plus_2 + _stringPath);
+ AttrInstanceConfig _get = DataConfigurationHelper.actorInstanceAttrMap.get(id);
+ LiteralArray _value = _get==null?(LiteralArray)null:_get.getValue();
+ String _stringExpr = _value==null?(String)null:this.toStringExpr(_value);
+ _xblockexpression = (_stringExpr);
+ }
+ return _xblockexpression;
+ }
+
public int getPollingTimerUser(final SubSystemClass subsystem) {
SubSystemConfig _config = this.getConfig(subsystem);
DynamicConfig _dynConfig = _config==null?(DynamicConfig)null:_config.getDynConfig();

Back to the top