Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2012-11-23 07:13:03 -0500
committerJuergen Haug2012-11-23 07:13:03 -0500
commit50fcc9f9b85408eb13037b6cfad0af69d756f495 (patch)
tree2579e609252fdc58f0c75d3eae76b409a30d4651 /plugins/org.eclipse.etrice.generator.config/xtend-gen/org
parentcee5a6f76524b0a1412f48ff759c95da41d06c62 (diff)
downloadorg.eclipse.etrice-50fcc9f9b85408eb13037b6cfad0af69d756f495.tar.gz
org.eclipse.etrice-50fcc9f9b85408eb13037b6cfad0af69d756f495.tar.xz
org.eclipse.etrice-50fcc9f9b85408eb13037b6cfad0af69d756f495.zip
[CQ][generator] first config c generator
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._tracebin45396 -> 43716 bytes
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java24
2 files changed, 7 insertions, 17 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 2a0298842..81c6451d7 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 3109e59ca..a9a36f5cf 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
@@ -19,9 +19,9 @@ import org.eclipse.etrice.core.config.StringLiteral;
import org.eclipse.etrice.core.config.SubSystemConfig;
import org.eclipse.etrice.core.genmodel.base.ILogger;
import org.eclipse.etrice.core.genmodel.etricegen.ActorInstance;
+import org.eclipse.etrice.core.genmodel.etricegen.InterfaceItemInstance;
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;
@@ -139,22 +139,12 @@ 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 String getAttrInstanceConfigValue(final InterfaceItemInstance item, final List<Attribute> path) {
+ String _path = item.getPath();
+ AttrInstanceConfig _get = DataConfigurationHelper.actorInstanceAttrMap.get(_path);
+ LiteralArray _value = _get==null?(LiteralArray)null:_get.getValue();
+ String _stringExpr = _value==null?(String)null:this.toStringExpr(_value);
+ return _stringExpr;
}
public int getPollingTimerUser(final SubSystemClass subsystem) {

Back to the top