Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2015-04-10 09:49:05 +0000
committerHenrik Rentz-Reichert2015-04-17 14:48:04 +0000
commite798795205891b5dbcb516159b43a0c36a03fdf9 (patch)
tree518d84a16daac1ec1d9fd45f2dbccb903940c667
parent509c50bfd19ca15421352ca1fc51182031aa3be2 (diff)
downloadorg.eclipse.etrice-e798795205891b5dbcb516159b43a0c36a03fdf9.tar.gz
org.eclipse.etrice-e798795205891b5dbcb516159b43a0c36a03fdf9.tar.xz
org.eclipse.etrice-e798795205891b5dbcb516159b43a0c36a03fdf9.zip
[generator.c] Bug 456625 Defines in _Utils.h for Port operations are
-rw-r--r--plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend
index 752412987..e0c672ea0 100644
--- a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend
@@ -205,7 +205,7 @@ class ActorClassGen extends GenericActorClassGenerator {
val replEventPorts = eventPorts.filter[multiplicity!=1]
val sendPorts = ac.allEndPorts.filter(p|(p.protocol as ProtocolClass).commType==CommunicationType::DATA_DRIVEN && p.conjugated && p.multiplicity==1)
val recvPorts = ac.allEndPorts.filter(p|(p.protocol as ProtocolClass).commType==CommunicationType::DATA_DRIVEN && !p.conjugated && p.multiplicity==1)
- val portsWithOperations = ac.allEndPorts.filter(p|p.portClass!=null && p.portClass.operations.size>0)
+ val portsWithOperations = ac.allInterfaceItems.filter(p|p.portClass!=null && p.portClass.operations.size>0)
val filename = (ac.eContainer as RoomModel).name.replaceAll("\\.","_")+"_"+ac.name+"_Utils"
'''

Back to the top