diff options
author | Juergen Haug | 2015-04-10 09:49:05 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2015-04-17 14:48:04 +0000 |
commit | e798795205891b5dbcb516159b43a0c36a03fdf9 (patch) | |
tree | 518d84a16daac1ec1d9fd45f2dbccb903940c667 /plugins/org.eclipse.etrice.generator.c | |
parent | 509c50bfd19ca15421352ca1fc51182031aa3be2 (diff) | |
download | org.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
missing
Change-Id: I7bc8b1702310ecc3923c897d7b45a4f28430ef58
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.c')
-rw-r--r-- | plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend | 2 |
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" ''' |