From 54885fda766d9d033faff67294d42d475b8aa1e0 Mon Sep 17 00:00:00 2001 From: Jan Belle Date: Sun, 1 Sep 2019 19:36:48 +0200 Subject: [examples] Remove outdated generator reference projects Change-Id: I2fff45faaf78a6f5f7b9c7aeaee8c687108aba2d --- .../.cproject | 180 ----- .../.gitignore | 5 - .../.project | 81 --- .../.settings/org.eclipse.cdt.codan.core.prefs | 66 -- .../org.eclipse.cdt.managedbuilder.core.prefs | 22 - .../.settings/org.eclipse.cdt.ui.prefs | 3 - .../Henrik-Test.launch | 15 - .../doc/physical-mapping.txt | 18 - .../gen_MSCgen.launch | 15 - .../gen_MassiveMultiThreading.launch | 15 - .../gen_cGenRef.launch | 15 - .../model/MSCgen/MSCgen.etmap | 10 - .../model/MSCgen/MSCgen.etphys | 25 - .../model/MSCgen/MSCgen.room | 92 --- .../MSCgen/diagrams/RoomModel1.Receiver.behavior | 106 --- .../MSCgen/diagrams/RoomModel1.Receiver.structure | 36 - .../MSCgen/diagrams/RoomModel1.Sender.behavior | 184 ----- .../MSCgen/diagrams/RoomModel1.Sender.structure | 36 - .../diagrams/RoomModel1.SubSysClass1.structure | 38 - .../MSCgen/diagrams/RoomModel1.Toplevel.structure | 89 --- .../model/MassiveMultiThreading.etmap | 14 - .../model/MassiveMultiThreading.etphys | 40 - .../model/MassiveMultiThreading.room | 248 ------- .../model/Types.room | 21 - .../model/cGenRef.etmap | 17 - .../model/cGenRef.etphys | 34 - .../model/cGenRef.room | 243 ------- .../diagrams/MassiveMultiThreading.Fork.behavior | 106 --- .../diagrams/MassiveMultiThreading.Fork.structure | 52 -- .../diagrams/MassiveMultiThreading.Join.behavior | 202 ------ .../diagrams/MassiveMultiThreading.Join.structure | 67 -- .../MassiveMultiThreading.Redirect.behavior | 106 --- .../MassiveMultiThreading.Redirect.structure | 53 -- .../MassiveMultiThreading.SubSys.structure | 801 --------------------- .../MassiveMultiThreading.Supervisor.behavior | 106 --- .../MassiveMultiThreading.Supervisor.structure | 36 - .../diagrams/MassiveMultiThreading.Tester.behavior | 135 ---- .../MassiveMultiThreading.Tester.structure | 51 -- .../model/diagrams/cGenRef.Receiver.behavior | 154 ---- .../model/diagrams/cGenRef.Receiver.structure | 36 - .../model/diagrams/cGenRef.Sender.behavior | 184 ----- .../model/diagrams/cGenRef.Sender.structure | 36 - .../model/diagrams/cGenRef.SubSys.structure | 89 --- .../model/generic_fsm_gen.room | 81 --- .../src-gen-ts/cGenRef/CommunicationProtocol.c | 89 --- .../src-gen-ts/cGenRef/CommunicationProtocol.h | 54 -- .../src-gen-ts/cGenRef/DataClass1.c | 30 - .../src-gen-ts/cGenRef/DataClass1.h | 40 - .../src-gen-ts/cGenRef/DataClass2.c | 24 - .../src-gen-ts/cGenRef/DataClass2.h | 32 - .../src-gen-ts/cGenRef/Node1.c | 170 ----- .../src-gen-ts/cGenRef/Node1.h | 30 - .../src-gen-ts/cGenRef/Node1_Disp.h | 43 -- .../src-gen-ts/cGenRef/Node1_Inst.h | 81 --- .../src-gen-ts/cGenRef/Receiver.c | 199 ----- .../src-gen-ts/cGenRef/Receiver.h | 62 -- .../src-gen-ts/cGenRef/Sender.c | 197 ----- .../src-gen-ts/cGenRef/Sender.h | 60 -- .../src-gen-ts/cGenRef/SubSys_Runner.c | 49 -- .../src-gen-ts/readme.txt | 4 - .../src-gen/readme.txt | 4 - .../tmp/log/msc.seq | 0 .../.cproject | 382 ---------- .../.gitignore | 8 - .../.project | 36 - .../.settings/org.eclipse.cdt.core.prefs | 37 - .../org.eclipse.cdt.managedbuilder.core.prefs | 13 - .../generate_Reference.launch | 18 - .../log/readme.txt | 1 - .../model/Mapping.etmap | 17 - .../model/Physical.etphys | 43 -- .../model/ReferenceCPP_ActorClasses.room | 384 ---------- .../model/ReferenceCPP_DataClasses.room | 82 --- .../model/ReferenceCPP_Main.room | 29 - .../model/ReferenceCPP_ProtocolClasses.room | 43 -- .../model/ReferenceCPP_StructureInheritance.room | 14 - ...ceCPP_ActorClasses.ActorAllDataClasses.behavior | 135 ---- ...eCPP_ActorClasses.ActorAllDataClasses.structure | 37 - ...ActorClasses.ActorAllDataClassesMirror.behavior | 135 ---- ...ctorClasses.ActorAllDataClassesMirror.structure | 37 - ...eferenceCPP_ActorClasses.ActorToplevel.behavior | 25 - ...ferenceCPP_ActorClasses.ActorToplevel.structure | 736 ------------------- ...lasses.ActorWithImplementationSubclass.behavior | 135 ---- ...eferenceCPP_ActorClasses.GenericMirror.behavior | 213 ------ ...ferenceCPP_ActorClasses.GenericMirror.structure | 37 - ...ctorClasses.InheritanceBaseClassSimple.behavior | 657 ----------------- ...torClasses.InheritanceBaseClassSimple.structure | 37 - ...rClasses.InheritanceDerivedClassSimple.behavior | 741 ------------------- ...Classes.InheritanceDerivedClassSimple.structure | 38 - ...renceCPP_ActorClasses.ReplicationSub1.structure | 37 - ...renceCPP_ActorClasses.ReplicationSub2.structure | 37 - ...erenceCPP_ActorClasses.ReplicationSub3.behavior | 135 ---- ...renceCPP_ActorClasses.ReplicationSub3.structure | 37 - ...ferenceCPP_ActorClasses.ReplicationTop.behavior | 183 ----- ...erenceCPP_ActorClasses.ReplicationTop.structure | 600 --------------- .../ReferenceCPP_Main.SubSysClass.structure | 291 -------- .../run_CPP_Reference.launch | 34 - .../run_Template_Linux_.launch | 34 - .../src-gen-info/readme.txt | 4 - .../src-gen/readme.txt | 4 - .../src/ActorWithImplementationSubclass_Impl.cpp | 45 -- .../src/ActorWithImplementationSubclass_Impl.h | 33 - 102 files changed, 10675 deletions(-) delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/.cproject delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/.gitignore delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/.project delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.codan.core.prefs delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.ui.prefs delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/Henrik-Test.launch delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/doc/physical-mapping.txt delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/gen_MSCgen.launch delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/gen_MassiveMultiThreading.launch delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/gen_cGenRef.launch delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etmap delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etphys delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.room delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.SubSysClass1.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Toplevel.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etmap delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etphys delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.room delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/Types.room delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etmap delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etphys delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.SubSys.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.behavior delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.SubSys.structure delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/model/generic_fsm_gen.room delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Disp.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Inst.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.h delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/SubSys_Runner.c delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/readme.txt delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/src-gen/readme.txt delete mode 100644 examples/org.eclipse.etrice.generator.c.reference/tmp/log/msc.seq delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/.cproject delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/.gitignore delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/.project delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.core.prefs delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/generate_Reference.launch delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/log/readme.txt delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/Mapping.etmap delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/Physical.etphys delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_ActorClasses.room delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_DataClasses.room delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_Main.room delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_ProtocolClasses.room delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_StructureInheritance.room delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClasses.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClasses.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorWithImplementationSubclass.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub1.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub2.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.behavior delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_Main.SubSysClass.structure delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/run_CPP_Reference.launch delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/run_Template_Linux_.launch delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/src-gen-info/readme.txt delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/src-gen/readme.txt delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.cpp delete mode 100644 examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.h diff --git a/examples/org.eclipse.etrice.generator.c.reference/.cproject b/examples/org.eclipse.etrice.generator.c.reference/.cproject deleted file mode 100644 index 9e77f7111..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/.cproject +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/.gitignore b/examples/org.eclipse.etrice.generator.c.reference/.gitignore deleted file mode 100644 index 7a8fc26bb..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -Debug -Release -src-gen/* -src-gen-info/* -!src-gen/readme.txt diff --git a/examples/org.eclipse.etrice.generator.c.reference/.project b/examples/org.eclipse.etrice.generator.c.reference/.project deleted file mode 100644 index 013417cdc..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/.project +++ /dev/null @@ -1,81 +0,0 @@ - - - org.eclipse.etrice.generator.c.reference - - - org.eclipse.etrice.runtime.c - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - ?children? - ?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|?name?=entry\\\\\\\|\\\|\|| - - - ?name? - - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.buildArguments - - - - org.eclipse.cdt.make.core.buildCommand - make - - - org.eclipse.cdt.make.core.buildLocation - ${workspace_loc:/org.eclipse.etrice.generator.c.reference/Debug} - - - org.eclipse.cdt.make.core.contents - org.eclipse.cdt.make.core.activeConfigSettings - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.stopOnError - true - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - true - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.codan.core.prefs b/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.codan.core.prefs deleted file mode 100644 index 9f5f4e439..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.codan.core.prefs +++ /dev/null @@ -1,66 +0,0 @@ -#Mon Dec 26 18:56:09 CET 2011 -eclipse.preferences.version=1 -org.eclipse.cdt.codan.checkers.errnoreturn=Warning -org.eclipse.cdt.codan.checkers.errnoreturn.params={implicit\=>false} -org.eclipse.cdt.codan.checkers.errreturnvalue=Error -org.eclipse.cdt.codan.checkers.errreturnvalue.params={} -org.eclipse.cdt.codan.checkers.noreturn=Error -org.eclipse.cdt.codan.checkers.noreturn.params={implicit\=>false} -org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error -org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error -org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning -org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={} -org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error -org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={} -org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning -org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={no_break_comment\=>"no break",last_case_param\=>true,empty_case_param\=>false} -org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning -org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={unknown\=>false,exceptions\=>()} -org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error -org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error -org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=Error -org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error -org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error -org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error -org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error -org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error -org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=-Info -org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={pattern\=>"^[a-z]",macro\=>true,exceptions\=>()} -org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning -org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={} -org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error -org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error -org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error -org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning -org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={} -org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=-Warning -org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={} -org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning -org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={macro\=>true,exceptions\=>()} -org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning -org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={paramNot\=>false} -org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning -org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={else\=>false,afterelse\=>false} -org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error -org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} -org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning -org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={macro\=>true} -org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning -org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={macro\=>true} -org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning -org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={macro\=>true,exceptions\=>("@(\#)","$Id")} -org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error -org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}} diff --git a/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs deleted file mode 100644 index dea3bcaa0..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs +++ /dev/null @@ -1,22 +0,0 @@ -#Tue Dec 27 19:24:40 CET 2011 -eclipse.preferences.version=1 -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/CPATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/CPATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/C_INCLUDE_PATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/C_INCLUDE_PATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/append=true -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/appendContributed=true -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/CPATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/CPATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/C_INCLUDE_PATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/C_INCLUDE_PATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/append=true -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/appendContributed=true -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/LIBRARY_PATH/delimiter=; -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/LIBRARY_PATH/operation=remove -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/append=true -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.54263550/appendContributed=true -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/LIBRARY_PATH/delimiter=; -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/LIBRARY_PATH/operation=remove -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/append=true -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.release.1445732435/appendContributed=true diff --git a/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.ui.prefs b/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.ui.prefs deleted file mode 100644 index ea816250e..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/.settings/org.eclipse.cdt.ui.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Wed Jan 11 10:35:04 CET 2012 -eclipse.preferences.version=1 -formatter_settings_version=1 diff --git a/examples/org.eclipse.etrice.generator.c.reference/Henrik-Test.launch b/examples/org.eclipse.etrice.generator.c.reference/Henrik-Test.launch deleted file mode 100644 index 65974de59..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/Henrik-Test.launch +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/doc/physical-mapping.txt b/examples/org.eclipse.etrice.generator.c.reference/doc/physical-mapping.txt deleted file mode 100644 index 69bbbf710..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/doc/physical-mapping.txt +++ /dev/null @@ -1,18 +0,0 @@ -- queue1: MESSAGE_BLOCK_SIZE, MESSAGE_POOL_MAX -- queue2: heapsize, number of buffers -// - move threads to NodeRef -- prio min max - - -TODO: -rename SubSysDisp -> NodeINstance_Disp.h - -destruct functions for platform API and stop and destroy for message service -> implement for etSema - -Shutdown -push / pop synchronization -> auch bei shutdown -Logger / MSC-Logger Synchronization -MSC Logger with Instances - -runtime.java : private synchronized void pollOneMessage() -> sync not needed any more - diff --git a/examples/org.eclipse.etrice.generator.c.reference/gen_MSCgen.launch b/examples/org.eclipse.etrice.generator.c.reference/gen_MSCgen.launch deleted file mode 100644 index e703e2791..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/gen_MSCgen.launch +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/gen_MassiveMultiThreading.launch b/examples/org.eclipse.etrice.generator.c.reference/gen_MassiveMultiThreading.launch deleted file mode 100644 index b63f63cf4..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/gen_MassiveMultiThreading.launch +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/gen_cGenRef.launch b/examples/org.eclipse.etrice.generator.c.reference/gen_cGenRef.launch deleted file mode 100644 index fcd4535e1..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/gen_cGenRef.launch +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etmap b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etmap deleted file mode 100644 index d4f81d4c3..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etmap +++ /dev/null @@ -1,10 +0,0 @@ -MappingModel MappingModel1 { - import RoomModel1.* from "MSCgen.room" - import PhysicalModel1.* from "MSCgen.etphys" - Mapping LogSys1 -> PhysSys1 { - SubSystemMapping subSysRef1 -> nodeRef1 { - ThreadMapping defaultThread -> PhysicalThread1 - } - } - -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etphys b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etphys deleted file mode 100644 index 94a23ad09..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.etphys +++ /dev/null @@ -1,25 +0,0 @@ -PhysicalModel PhysicalModel1 { - - PhysicalSystem PhysSys1 { - NodeRef nodeRef1 : NodeClass1 - } - - NodeClass NodeClass1 { - runtime = RuntimeClass1 - priomin = -10 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = blocked - prio = 0 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 10 - } - } - - RuntimeClass RuntimeClass1 { - model = multiThreaded - } - -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.room b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.room deleted file mode 100644 index fea1289b7..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/MSCgen.room +++ /dev/null @@ -1,92 +0,0 @@ -RoomModel RoomModel1 { - import room.basic.types.* from "../Types.room" - LogicalSystem LogSys1 { - SubSystemRef subSysRef1: SubSysClass1 - } - - SubSystemClass SubSysClass1 { - ActorRef actorRef1: Toplevel - LogicalThread defaultThread - } - - ActorClass Toplevel { - Structure { - ActorRef sender: Sender - ActorRef receiver: Receiver - Binding sender.receiver and receiver.sender - } - Behavior { } - } - - ActorClass Sender { - Interface { - conjugated Port receiver: PSendData - } - Structure { - external Port receiver - Attribute counter: int32 - - } - Behavior { - StateMachine { - Transition init: initial -> SendingData { - action { - "counter=0;" - } - } - Transition tr0: SendingData -> cp cp0 { - triggers { - - } - } - Transition tr1: cp cp0 -> Done - Transition tr2: cp cp0 -> SendingData { - cond { - "++counter<10" - } - } - ChoicePoint cp0 - State SendingData { - entry { - "receiver.sendData(1234);" - } - } - State Done - } - } - } - - ActorClass Receiver { - Interface { - Port sender: PSendData - } - Structure { - external Port sender - } - Behavior { - StateMachine { - Transition init: initial -> WaitingForData { } - Transition tr0: WaitingForData -> WaitingForData { - triggers { - - } - action { - "sender.receivedData();" - } - } - State WaitingForData - } - } - } - - ProtocolClass PSendData { - incoming { - Message sendData(i: int32) - - } - outgoing { - Message receivedData() - } - } - -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.behavior deleted file mode 100644 index 7108a2f30..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.behavior +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.structure b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.structure deleted file mode 100644 index a25b0b4ea..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Receiver.structure +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.behavior deleted file mode 100644 index 638393a34..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.behavior +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.structure b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.structure deleted file mode 100644 index 6fb7dd516..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Sender.structure +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.SubSysClass1.structure b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.SubSysClass1.structure deleted file mode 100644 index 192615331..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.SubSysClass1.structure +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Toplevel.structure b/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Toplevel.structure deleted file mode 100644 index 651fec69c..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MSCgen/diagrams/RoomModel1.Toplevel.structure +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etmap b/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etmap deleted file mode 100644 index 8b6d8add2..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etmap +++ /dev/null @@ -1,14 +0,0 @@ -MappingModel MassiveMultiThreading { - - import MassiveMultiThreading.* from "MassiveMultiThreading.room" - import MassiveMultiThreading.* from "MassiveMultiThreading.etphys" - - Mapping MassiveMultiThreading.LS -> MassiveMultiThreading.Sys { - SubSystemMapping sys1 -> node1 { - ThreadMapping logical_thread1 -> PhysicalThread1 - ThreadMapping logical_thread2 -> PhysicalThread2 - ThreadMapping logical_thread3 -> PhysicalThread2 - ThreadMapping logical_thread4 -> PhysicalThread3 - } - } -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etphys b/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etphys deleted file mode 100644 index f6af776b8..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.etphys +++ /dev/null @@ -1,40 +0,0 @@ -PhysicalModel MassiveMultiThreading { - - PhysicalSystem Sys { - NodeRef node1: PC - } - - NodeClass PC { - runtime = PC - priomin = 1 - priomax = 10 - - DefaultThread PhysicalThread1 { - execmode = blocked - prio = 1 - stacksize = 1024 - msgblocksize = 64 - msgpoolsize = 50 - } - - Thread PhysicalThread2 { - execmode = blocked - prio = 5 - stacksize = 1024 - msgblocksize = 64 - msgpoolsize = 50 - } - - Thread PhysicalThread3 { - execmode = blocked - prio = 10 - stacksize = 1024 - msgblocksize = 64 - msgpoolsize = 50 - } - } - - RuntimeClass PC { - model = multiThreaded - } -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.room b/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.room deleted file mode 100644 index 46d2424b1..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/MassiveMultiThreading.room +++ /dev/null @@ -1,248 +0,0 @@ -RoomModel MassiveMultiThreading { - - import room.basic.types.* from "Types.room" - - LogicalSystem LS { - SubSystemRef sys1: SubSys - } - - SubSystemClass SubSys { - ActorRef tester: Tester - ActorRef fork: Fork - ActorRef redirect1: Redirect - ActorRef redirect2: Redirect - ActorRef redirect3: Redirect - ActorRef redirect4: Redirect - ActorRef redirect5: Redirect - ActorRef redirect6: Redirect - ActorRef redirect7: Redirect - ActorRef redirect8: Redirect - ActorRef redirect9: Redirect - ActorRef redirect10: Redirect - ActorRef join: Join - ActorRef supervisor: Supervisor - Binding tester.outport and fork.inport - Binding tester.inport and join.outport - Binding supervisor.application and join.security - Binding fork.broadcast and redirect1.inport - Binding fork.broadcast and redirect2.inport - Binding fork.broadcast and redirect3.inport - Binding fork.broadcast and redirect4.inport - Binding fork.broadcast and redirect5.inport - Binding fork.broadcast and redirect6.inport - Binding fork.broadcast and redirect7.inport - Binding fork.broadcast and redirect8.inport - Binding fork.broadcast and redirect9.inport - Binding fork.broadcast and redirect10.inport - Binding join.inport and redirect1.outport - Binding join.inport and redirect2.outport - Binding join.inport and redirect3.outport - Binding join.inport and redirect4.outport - Binding join.inport and redirect5.outport - Binding join.inport and redirect6.outport - Binding join.inport and redirect7.outport - Binding join.inport and redirect8.outport - Binding join.inport and redirect9.outport - Binding join.inport and redirect10.outport - - LogicalThread logical_thread2 - LogicalThread logical_thread1 - LogicalThread logical_thread3 - LogicalThread logical_thread4 - - ActorInstanceMapping tester -> logical_thread1 - ActorInstanceMapping fork -> logical_thread2 - ActorInstanceMapping redirect1 -> logical_thread2 - ActorInstanceMapping redirect2 -> logical_thread3 - ActorInstanceMapping join -> logical_thread3 - ActorInstanceMapping supervisor -> logical_thread4 - } - - ActorClass Tester { - Interface { - conjugated Port outport: CommunicationProtocol - Port inport: CommunicationProtocol - } - Structure { - external Port outport - external Port inport - } - Behavior { - StateMachine { - Transition init: initial -> Started { } - Transition tr0: Started -> Done { - triggers { - - } - } - State Started { - entry { - "outport.sendData();" - } - } - State Done { - entry { - "etLogger_logInfo(\"+++ Test Done +++\");" - } - } - } - } - } - - ActorClass Fork { - Interface { - conjugated Port broadcast [*]: CommunicationProtocol - Port inport: CommunicationProtocol - } - Structure { - external Port broadcast - external Port inport - } - Behavior { - StateMachine { - Transition init: initial -> Fork { } - Transition tr0: Fork -> Fork { - triggers { - - } - action { - "broadcast.sendData();" - } - } - State Fork - } - } - } - - ActorClass Redirect { - Interface { - Port inport: CommunicationProtocol - conjugated Port outport: CommunicationProtocol - } - Structure { - external Port inport - external Port outport - } - Behavior { - StateMachine { - Transition init: initial -> Redirect { } - Transition tr0: Redirect -> Redirect { - triggers { - - } - action { - "outport.sendData();" - "etLogger_logInfo(\"+++ Redirect: sendData +++\");" - } - } - State Redirect - } - } - } - - ActorClass Join { - Interface { - Port inport [*]: CommunicationProtocol - conjugated Port outport: CommunicationProtocol - conjugated Port security: SecurityProtocol - } - Structure { - external Port inport - external Port outport - external Port security - Attribute counter: int32 - - } - Behavior { - StateMachine { - Transition init: initial -> Count { - action { - "counter=0;" - } - } - Transition tr0: Count -> cp cp0 { - triggers { - - } - action { - "counter++;" - "etLogger_logInfo(\"+++ Join: received pong +++\");" - } - } - Transition tr1: cp cp0 -> Done { - action { - "outport.sendData();" - } - } - Transition tr2: cp cp0 -> Count { - cond { - "counter<10" - } - } - Transition tr3: Count -> Count { - triggers { - - } - action { - "security.ping();" - "etLogger_logInfo(\"+++ Join: sent ping +++\");" - } - } - ChoicePoint cp0 - State Count - State Done - } - } - } - - ActorClass Supervisor { - Interface { - Port application: SecurityProtocol - } - Structure { - external Port application - } - Behavior { - StateMachine { - Transition init: initial -> PingPongActive { } - Transition tr0: PingPongActive -> PingPongActive { - triggers { - - } - action { - "application.pong();" - } - } - State PingPongActive - } - } - } - - ProtocolClass CommunicationProtocol { - incoming { - Message sendData() - } - } - - ProtocolClass SecurityProtocol { - incoming { - Message ping() - } - outgoing { - Message pong() - } - } - - DataClass DataClass1 { - Attribute Attr1: int32 - Attribute ComplexAttr: DataClass2 - Attribute Attr3: float32 - } - - DataClass DataClass2 { - Attribute Attr1: int32 - Attribute Attr2: float32 - Attribute Attr3: int32 - } - -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/Types.room b/examples/org.eclipse.etrice.generator.c.reference/model/Types.room deleted file mode 100644 index 46ccd2560..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/Types.room +++ /dev/null @@ -1,21 +0,0 @@ -RoomModel room.basic.types { - - PrimitiveType boolean: ptBoolean -> boolean default "ET_FALSE" - PrimitiveType char: ptCharacter -> char default "0" - PrimitiveType int8: ptInteger -> int8 default "0" - PrimitiveType int16: ptInteger -> int16 default "0" - PrimitiveType int32: ptInteger -> int32 default "0" - PrimitiveType int64: ptInteger -> int64 default "0" - - PrimitiveType uint8: ptInteger -> uint8 default "0" - PrimitiveType uint16: ptInteger -> uint16 default "0" - PrimitiveType uint32: ptInteger -> uint32 default "0" - PrimitiveType uint64: ptInteger -> uint64 default "0" - - PrimitiveType float32:ptReal -> float32 default "0" - PrimitiveType float64:ptReal -> float64 default "0" - - // TODO: define strings for C - PrimitiveType charPtr:ptCharacter -> charPtr default "0" - PrimitiveType string:ptCharacter -> charPtr default "0" -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etmap b/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etmap deleted file mode 100644 index 8c224df80..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etmap +++ /dev/null @@ -1,17 +0,0 @@ -MappingModel cgenRef { - - import cGenRef.* from "cGenRef.room" - import cGenRef.* from "cGenRef.etphys" - - Mapping cGenRef.LS -> cGenRef.Sys { - SubSystemMapping sys1 -> node1 { - ThreadMapping dflt_thread -> PhysicalThread1 - ThreadMapping other_thread -> PhysicalThread1 - //ThreadMapping other_thread -> PhysicalThread2 - } -// SubSystemMapping sys2 -> node2 { -// ThreadMapping dflt_thread -> PhysicalThread1 -// ThreadMapping other_thread -> PhysicalThread2 -// } - } -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etphys b/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etphys deleted file mode 100644 index ad56b99a3..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.etphys +++ /dev/null @@ -1,34 +0,0 @@ -PhysicalModel cGenRef { - - PhysicalSystem Sys { - NodeRef node1: PC -// NodeRef node2: PC - } - - NodeClass PC { - runtime = PC - priomin = 1 - priomax = 5 - - DefaultThread PhysicalThread1 { - execmode = mixed - interval = 100 ms - prio = 5 - stacksize = 1024 - msgblocksize = 32 - msgpoolsize = 5 - } - -// Thread PhysicalThread2 { -// execmode = blocked -// prio = 5 -// stacksize = 1024 -// msgblocksize = 64 -// msgpoolsize = 3 -// } - } - - RuntimeClass PC { - model = multiThreaded - } -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room b/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room deleted file mode 100644 index 38ba40636..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room +++ /dev/null @@ -1,243 +0,0 @@ -RoomModel cGenRef { - import room.basic.types.* from "Types.room" - - LogicalSystem LS { - SubSystemRef sys1: SubSys -// SubSystemRef sys2: SubSys - } - - SubSystemClass SubSys { - ActorRef Sender: Sender - ActorRef Receiver: Receiver - Binding Sender.dataOut and Receiver.dataIn - - LogicalThread dflt_thread - LogicalThread other_thread - - ActorInstanceMapping Receiver -> dflt_thread - ActorInstanceMapping Sender -> other_thread - } - -// SubSystemClass SubSysSomewhatBigger { -// ActorRef Receiver: Receiver -// ActorRef Sender: Sender -// ActorRef Broadcast: Broadcast -// ActorRef Receiver2: Receiver -// ActorRef ref0: Broadcast -// ActorRef ref1: Broadcast -// ActorRef ref2: Receiver -// ActorRef ref3: Receiver -// Binding Sender.dataOut and Broadcast.dataIn -// Binding Broadcast.dataOut and ref0.dataIn -// Binding Broadcast.dataOut and ref1.dataIn -// Binding Receiver.dataIn and ref0.dataOut -// Binding Receiver2.dataIn and ref0.dataOut -// Binding ref2.dataIn and ref1.dataOut -// Binding ref3.dataIn and ref1.dataOut -// } - - async ActorClass Receiver { - Interface { - Port dataIn: CommunicationProtocol - } - Structure { - external Port dataIn - Attribute attr1: DataClass1 - } - Behavior { - StateMachine { - Transition init: initial -> Idle { } - Transition tr0: Idle -> DataReceived { - triggers { - - } - action { - "dataIn.receivedData();" - } - } - Transition tr1: DataReceived -> DataReceived { - triggers { - - } - action { - "dataIn.receivedData();" - } - } - State Idle - State DataReceived - } - } - } - - ActorClass Broadcast { - Interface { - Port dataIn: CommunicationProtocol - conjugated Port dataOut [2]: CommunicationProtocol - } - Structure { - external Port dataIn - external Port dataOut - } - Behavior { - StateMachine { - Transition init: initial -> Idle { } - Transition tr0: Idle -> tp0 of Sending { - triggers { - - } - action { - "dataOut.sendData();" - } - } - Transition tr1: tp1 of Sending -> ReceivedBoth { - action { - "dataIn.receivedData();" - } - } - State Idle - State Sending { - subgraph { - Transition tr0: my tp0 -> WaitingForReceived - Transition tr1: WaitingForReceived -> ReceivedOne { - triggers { - - } - action { - "// Kommentar" - } - } - Transition tr3: ReceivedOne -> my tp1 { - triggers { - - } - } - EntryPoint tp0 - ExitPoint tp1 - State WaitingForReceived - State ReceivedOne - } - } - State ReceivedBoth - } - } - } - - ActorClass SenderManual { - Interface { - conjugated Port dataOut: CommunicationProtocol - } - Structure { - external Port dataOut - Attribute attribute1: int32 - Attribute attribute2: DataClass1 - } - Behavior { - //@BehaviorManual - Operation operation1(argument1:int32, argument2: DataClass1 ref){""} - } - } - ActorClass ReceiverManual { - Interface { - Port dataIn: CommunicationProtocol - } - Structure { - external Port dataIn - } - Behavior { - //@BehaviorManual - } - } - - - - async ActorClass Sender { - Interface { - conjugated Port dataOut: CommunicationProtocol - } - Structure { - external Port dataOut - Attribute counter: int32 - - } - Behavior { - StateMachine { - Transition init: initial -> SendingData { - action { - "counter=0;" - } - } - Transition tr0: SendingData -> cp cp0 { - triggers { - - } - action { - "counter++;" - } - } - Transition tr1: cp cp0 -> Done - Transition tr2: cp cp0 -> SendingData { - cond { - "counter<10" - } - } - ChoicePoint cp0 - State SendingData { - entry { - "dataOut.sendData();" - } - do { - "etLogger_logInfo(\">>> sending tick\");" - } - } - State Done { - entry { - "etLogger_logInfo(\"+++ Sender Done +++\");" - } - do { - "etLogger_logInfo(\">>> done tick\");" - "if (++counter>20) etUnit_testFinished();" - } - } - } - } - } - - ProtocolClass CommunicationProtocol { - incoming { - Message sendData() - } - outgoing { - Message receivedData() - } - } - - ProtocolClass etRTSystemServicesProtocol { - incoming { - Message poll() - } - } - - DataClass DataClass1 { - usercode1 {"// usercode1"} - usercode2 {"// usercode2"} - usercode3 {"// usercode3"} - Attribute Attr1: int32 - Attribute ComplexAttr: DataClass2 - Attribute Attr3: float32 - - Operation MultiplyWithAttr1(value: int32): int32 { - "return Attr1*value;" - } - Operation MultiplyWithAttr3(value: float32): float32 { - "return Attr3*value;" - } - } - - DataClass DataClass2 { - Attribute Attr1: int32 - Attribute Attr2: float32 - Attribute Attr3: int32 - Operation Operation1() {"/*nothing to do*/"} - } - -} diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.behavior deleted file mode 100644 index bcd3b1add..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.behavior +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.structure deleted file mode 100644 index b3539ea4b..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Fork.structure +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.behavior deleted file mode 100644 index 2cad9e3bd..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.behavior +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.structure deleted file mode 100644 index ef07493a7..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Join.structure +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.behavior deleted file mode 100644 index 5b309a895..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.behavior +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.structure deleted file mode 100644 index b249dfaf2..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Redirect.structure +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.SubSys.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.SubSys.structure deleted file mode 100644 index 855c5db25..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.SubSys.structure +++ /dev/null @@ -1,801 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.behavior deleted file mode 100644 index 29f733d69..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.behavior +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.structure deleted file mode 100644 index a718fef8c..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Supervisor.structure +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.behavior deleted file mode 100644 index 929f77af0..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.behavior +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.structure deleted file mode 100644 index ff5bfb675..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/MassiveMultiThreading.Tester.structure +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.behavior deleted file mode 100644 index cecb30410..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.behavior +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.structure deleted file mode 100644 index 775886225..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Receiver.structure +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.behavior b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.behavior deleted file mode 100644 index a07c613ad..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.behavior +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.structure deleted file mode 100644 index f0922bdf1..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.Sender.structure +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.SubSys.structure b/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.SubSys.structure deleted file mode 100644 index 86c8ec9f8..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/diagrams/cGenRef.SubSys.structure +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/generic_fsm_gen.room b/examples/org.eclipse.etrice.generator.c.reference/model/generic_fsm_gen.room deleted file mode 100644 index a28ca74bd..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/model/generic_fsm_gen.room +++ /dev/null @@ -1,81 +0,0 @@ -RoomModel generic_fsm_gen { - - SubSystemClass Main { - ActorRef sys: AC - ActorRef peer: Peer - Binding sys.fct and peer.fct - } - - ActorClass Peer { - Interface { - conjugated Port fct: PC - } - Structure { - external Port fct - } - Behavior { - StateMachine { - Transition init: initial -> state0 { - action { - "PCConjPort_m1(&self->constData->fct);" - } - } - Transition tr0: state0 -> state0 { - triggers { - - } - action { - "printf(\"Peer\\n\");" - "PCConjPort_m1(&self->constData->fct);" - } - } - State state0 - } - } - } - - ActorClass AC { - Interface { - Port fct: PC - } - Structure { - external Port fct - } - Behavior { - StateMachine { - Transition init: initial -> state0 { } - Transition tr0: state0 -> state0 { - triggers { - - } - action { - "printf(\"AC\\n\");" - "static int32 counter = 0;" - "if (++counter < 3){" - "\tPCPort_m2(&self->constData->fct);" - "}" - } - } - State state0 - } - } - } - - ProtocolClass PC { - incoming { - Message m1() - } - outgoing { - Message m2() - } - } - - DataClass DC { - Attribute ival: int32 - Operation mult(a: int32, b: int32): int32 { - "return a*b;" - } - } - - PrimitiveType int32 : ptInteger -> int (Integer) default "0" -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.c deleted file mode 100644 index 79947aa6d..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.c +++ /dev/null @@ -1,89 +0,0 @@ -/** - * @author generated by eTrice - * - * Source File of ProtocolClass CommunicationProtocol - * - */ - -#include "CommunicationProtocol.h" -#include "debugging/etMSCLogger.h" - - -/*--------------------- port methods */ - -void CommunicationProtocolPort_receivedData(const CommunicationProtocolPort* self) { - ET_MSC_LOGGER_SYNC_ENTRY("CommunicationProtocolPort", "receivedData") - etPort_sendMessage(self, CommunicationProtocol_OUT_receivedData, 0, NULL); - ET_MSC_LOGGER_SYNC_EXIT -} - -void CommunicationProtocolReplPort_receivedData_broadcast(const CommunicationProtocolReplPort* self) { - int i; - ET_MSC_LOGGER_SYNC_ENTRY("CommunicationProtocolReplPort", "receivedData") - for (i=0; i<((etReplPort*)self)->size; ++i) { - etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[i]), CommunicationProtocol_OUT_receivedData, 0, NULL); - } - ET_MSC_LOGGER_SYNC_EXIT -} - -void CommunicationProtocolReplPort_receivedData(const CommunicationProtocolReplPort* self, int idx) { - ET_MSC_LOGGER_SYNC_ENTRY("CommunicationProtocolReplPort", "receivedData") - if (0<=idx && idx<((etReplPort*)self)->size) { - etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[idx]), CommunicationProtocol_OUT_receivedData, 0, NULL); - } - ET_MSC_LOGGER_SYNC_EXIT -} - - -// getReplication -etInt32 CommunicationProtocolReplPort_getReplication(const CommunicationProtocolReplPort* self) { - return ((etReplPort*)self)->size; -} - - - -void CommunicationProtocolConjPort_sendData(const CommunicationProtocolConjPort* self) { - ET_MSC_LOGGER_SYNC_ENTRY("CommunicationProtocolConjPort", "sendData") - etPort_sendMessage(self, CommunicationProtocol_IN_sendData, 0, NULL); - ET_MSC_LOGGER_SYNC_EXIT -} - -void CommunicationProtocolConjReplPort_sendData_broadcast(const CommunicationProtocolConjReplPort* self) { - int i; - ET_MSC_LOGGER_SYNC_ENTRY("CommunicationProtocolConjReplPort", "sendData") - for (i=0; i<((etReplPort*)self)->size; ++i) { - etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[i]), CommunicationProtocol_IN_sendData, 0, NULL); - } - ET_MSC_LOGGER_SYNC_EXIT -} - -void CommunicationProtocolConjReplPort_sendData(const CommunicationProtocolConjReplPort* self, int idx) { - ET_MSC_LOGGER_SYNC_ENTRY("CommunicationProtocolConjReplPort", "sendData") - if (0<=idx && idx<((etReplPort*)self)->size) { - etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[idx]), CommunicationProtocol_IN_sendData, 0, NULL); - } - ET_MSC_LOGGER_SYNC_EXIT -} - - -// getReplication -etInt32 CommunicationProtocolConjReplPort_getReplication(const CommunicationProtocolConjReplPort* self) { - return ((etReplPort*)self)->size; -} - - - -/*--------------------- debug helpers */ - -/* message names as strings for debugging (generate MSC) */ -static const char* const CommunicationProtocol_messageStrings[] = {"MIN", "receivedData","sendData", "MAX"}; - -const char* CommunicationProtocol_getMessageString(int msg_id) { - if (msg_idCommunicationProtocol_MSG_MAX+1){ - /* id out of range */ - return "Message ID out of range"; - } - else{ - return CommunicationProtocol_messageStrings[msg_id]; - } -} diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.h deleted file mode 100644 index f47a88a1a..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/CommunicationProtocol.h +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @author generated by eTrice - * - * Header File of ProtocolClass CommunicationProtocol - * - */ - -#ifndef _COMMUNICATIONPROTOCOL_H_ -#define _COMMUNICATIONPROTOCOL_H_ - -#include "etDatatypes.h" -#include "modelbase/etPort.h" - - - - -/* message IDs */ -enum CommunicationProtocol_msg_ids { - CommunicationProtocol_MSG_MIN = 0, - CommunicationProtocol_OUT_receivedData = 1, - CommunicationProtocol_IN_sendData = 2, - CommunicationProtocol_MSG_MAX = 3 -}; - -/*--------------------- port structs and methods */ -typedef etPort CommunicationProtocolPort; -typedef etReplPort CommunicationProtocolReplPort; - - -void CommunicationProtocolPort_receivedData(const CommunicationProtocolPort* self); -void CommunicationProtocolReplPort_receivedData_broadcast(const CommunicationProtocolReplPort* self); -void CommunicationProtocolReplPort_receivedData(const CommunicationProtocolReplPort* self, int idx); - - -etInt32 CommunicationProtocolReplPort_getReplication(const CommunicationProtocolReplPort* self); -typedef etPort CommunicationProtocolConjPort; -typedef etReplPort CommunicationProtocolConjReplPort; - - -void CommunicationProtocolConjPort_sendData(const CommunicationProtocolConjPort* self); -void CommunicationProtocolConjReplPort_sendData_broadcast(const CommunicationProtocolConjReplPort* self); -void CommunicationProtocolConjReplPort_sendData(const CommunicationProtocolConjReplPort* self, int idx); - - -etInt32 CommunicationProtocolConjReplPort_getReplication(const CommunicationProtocolConjReplPort* self); - -/*--------------------- debug helpers */ - -/* get message string for message id */ -const char* CommunicationProtocol_getMessageString(int msg_id); - - -#endif /* _COMMUNICATIONPROTOCOL_H_ */ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.c deleted file mode 100644 index a2f92e8d7..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.c +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @author generated by eTrice - * - * Source File of DataClass DataClass1 - * - */ - -#include "DataClass1.h" - -#include - -/*--------------------- begin user code ---------------------*/ -// usercode3 -/*--------------------- end user code ---------------------*/ - - -/*--------------------- operations ---------------------*/ -int32 DataClass1_MultiplyWithAttr1(DataClass1* self, int32 value) { - return self->Attr1 /* ORIG: Attr1 */*value; -} -float32 DataClass1_MultiplyWithAttr3(DataClass1* self, float32 value) { - return self->Attr3 /* ORIG: Attr3 */*value; -} - -// deep copy -void DataClass1_deepCopy(DataClass1* source, DataClass1* target) { - memcpy(target, source, sizeof(DataClass1)); -} - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.h deleted file mode 100644 index 2a98d98d0..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass1.h +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @author generated by eTrice - * - * Header File of DataClass DataClass1 - * - */ - -#ifndef _DATACLASS1_H_ -#define _DATACLASS1_H_ - -#include "etDatatypes.h" - -#include "DataClass2.h" - -/*--------------------- begin user code ---------------------*/ -// usercode1 -/*--------------------- end user code ---------------------*/ - -typedef struct { - /*--------------------- attributes ---------------------*/ - int32 Attr1; - DataClass2 ComplexAttr; - float32 Attr3; -} DataClass1; - - - -/*--------------------- operations ---------------------*/ -int32 DataClass1_MultiplyWithAttr1(DataClass1* self, int32 value); -float32 DataClass1_MultiplyWithAttr3(DataClass1* self, float32 value); - -/* deep copy */ -void DataClass1_deepCopy(DataClass1* source, DataClass1* target); - -/*--------------------- begin user code ---------------------*/ -// usercode2 -/*--------------------- end user code ---------------------*/ - -#endif /* _DATACLASS1_H_ */ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.c deleted file mode 100644 index f7f96ed36..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.c +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @author generated by eTrice - * - * Source File of DataClass DataClass2 - * - */ - -#include "DataClass2.h" - -#include - - - -/*--------------------- operations ---------------------*/ -void DataClass2_Operation1(DataClass2* self) { - /*nothing to do*/ -} - -// deep copy -void DataClass2_deepCopy(DataClass2* source, DataClass2* target) { - memcpy(target, source, sizeof(DataClass2)); -} - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.h deleted file mode 100644 index e480cddca..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/DataClass2.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @author generated by eTrice - * - * Header File of DataClass DataClass2 - * - */ - -#ifndef _DATACLASS2_H_ -#define _DATACLASS2_H_ - -#include "etDatatypes.h" - - - -typedef struct { - /*--------------------- attributes ---------------------*/ - int32 Attr1; - float32 Attr2; - int32 Attr3; -} DataClass2; - - - -/*--------------------- operations ---------------------*/ -void DataClass2_Operation1(DataClass2* self); - -/* deep copy */ -void DataClass2_deepCopy(DataClass2* source, DataClass2* target); - - -#endif /* _DATACLASS2_H_ */ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.c deleted file mode 100644 index 4d51fbaa2..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.c +++ /dev/null @@ -1,170 +0,0 @@ -/** - * @author generated by eTrice - * - * Source File of SubSystemClass SubSys - * - */ - -#include "Node1.h" - -/* include instances for all classes */ -#include "node1_sys1_Inst.h" -#include "node1_sys1_Disp.h" - -#include "debugging/etLogger.h" -#include "debugging/etMSCLogger.h" - -#include "platform/etTimer.h" -#include "etRuntimeConfig.h" -#include "messaging/etMessageService.h" - -/* data for Node1 */ -typedef struct Node1 { - char *name; - volatile int shutdownRequest; -} Node1; - -static Node1 Node1Inst = {"Node1",0}; - -void node1_sys1_initActorInstances(void); -void node1_sys1_constructActorInstances(void); - - -void node1_sys1_initMessageServices(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "initMessageServices") - - /* filling all message service threads with data */ - /*PhysicalThread1*/ - // TODO: gen - msgService_PhysicalThread1.thread.stacksize = 1024; - msgService_PhysicalThread1.thread.priority = 0; - msgService_PhysicalThread1.thread.threadName = "PhysicalThread1"; - msgService_PhysicalThread1.thread.threadFunction = (etThreadFunction) etMessageService_execute; - msgService_PhysicalThread1.thread.threadFunctionData = &msgService_PhysicalThread1; - - - /*PhysicalThread2*/ - // TODO: gen - msgService_PhysicalThread2.thread.stacksize = 1024; - msgService_PhysicalThread2.thread.priority = 0; - msgService_PhysicalThread2.thread.threadName = "PhysicalThread2"; - msgService_PhysicalThread2.thread.threadFunction = (etThreadFunction) etMessageService_execute; - msgService_PhysicalThread2.thread.threadFunctionData = &msgService_PhysicalThread2; - - /* initialization of all message services */ - etMessageService_init(&msgService_PhysicalThread1, msgBuffer_PhysicalThread1, MESSAGE_POOL_MAX, MESSAGE_BLOCK_SIZE, MsgDispatcher_PhysicalThread1_receiveMessage); - etMessageService_init(&msgService_PhysicalThread2, msgBuffer_PhysicalThread2, MESSAGE_POOL_MAX, MESSAGE_BLOCK_SIZE, MsgDispatcher_PhysicalThread2_receiveMessage); - - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_startMessageServices(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "startMessageServices") - - etMessageService_start(&msgService_PhysicalThread1); - etMessageService_start(&msgService_PhysicalThread2); - - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_stopMessageServices(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "stopMessageServices") - - etMessageService_stop(&msgService_PhysicalThread1); - etMessageService_stop(&msgService_PhysicalThread2); - - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_destroyMessageServices(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "destroyMessageServices") - - etMessageService_destroy(&msgService_PhysicalThread1); - etMessageService_destroy(&msgService_PhysicalThread2); - - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_init(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "init") - etLogger_logInfoF("%s_init", Node1Inst.name); - - /* construct all actors */ - node1_sys1_constructActorInstances(); - - node1_sys1_initMessageServices(); - - /* init all actors */ - node1_sys1_initActorInstances(); - - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_start(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "start") - etLogger_logInfoF("%s_start", Node1Inst.name); - node1_sys1_startMessageServices(); - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_run(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "run") - - etThread_sleep(1000); - -// #ifdef ET_RUNTIME_ENDLESS -// while(!(Node1Inst.shutdownRequest)){ -// if (etTimer_executeNeeded()){ -// etMessageService_execute(&msgService_PhysicalThread1); -// } -// } -// #else -// uint32 loopCounter = 0; -// while(!(Node1Inst.shutdownRequest)){ -// if (etTimer_executeNeeded()){ -// etMessageService_execute(&msgService_PhysicalThread1); -// etLogger_logInfo("Execute"); -// if (loopCounter++ > ET_RUNTIME_MAXLOOP){ -// break; -// } -// } -// } -// #endif - - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_stop(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "stop") - etLogger_logInfoF("%s_stop", Node1Inst.name); - node1_sys1_stopMessageServices(); - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_destroy(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "destroy") - etLogger_logInfoF("%s_destroy", Node1Inst.name); - node1_sys1_destroyMessageServices(); - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_shutdown(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "shutdown") - etLogger_logInfoF("%s_shutdown", Node1Inst.name); - Node1Inst.shutdownRequest = 1; - ET_MSC_LOGGER_SYNC_EXIT -} - - -void node1_sys1_constructActorInstances(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "constructActorInstances") - ET_MSC_LOGGER_SYNC_EXIT -} - -void node1_sys1_initActorInstances(void){ - ET_MSC_LOGGER_SYNC_ENTRY("Node1", "initActorInstances") - Sender_init(&_SubSys_Sender); - Receiver_init(&_SubSys_Receiver); - ET_MSC_LOGGER_SYNC_EXIT -} - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.h deleted file mode 100644 index e37bb3c42..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1.h +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @author generated by eTrice - * - * Header File of SubSystemClass SubSys - * - */ - -#ifndef _NODE1_H_ -#define _NODE1_H_ - - - -/* lifecycle functions - * init -> start -> run (loop) -> stop -> destroy - */ - -void Node1_init(void); /* lifecycle init */ -void Node1_start(void); /* lifecycle start */ - -void Node1_run(void); /* lifecycle run */ - -void Node1_stop(void); /* lifecycle stop */ -void Node1_destroy(void); /* lifecycle destroy */ - -void Node1_shutdown(void); /* shutdown the dispatcher loop */ - - -#endif /* _NODE1_H_ */ - - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Disp.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Disp.h deleted file mode 100644 index a83106d50..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Disp.h +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @author generated by eTrice - * - * Dispatcher File of SubSystemClass SubSys - * - one generated dispatcher for each MessageService (Thread) - */ - -#include "messaging/etMessageReceiver.h" -#include "debugging/etLogger.h" -#include "debugging/etMSCLogger.h" - -static void MsgDispatcher_PhysicalThread1_receiveMessage(const etMessage* msg){ - ET_MSC_LOGGER_SYNC_ENTRY("MsgDispatcher_PhysicalThread1", "receiveMessage") - switch(msg->address){ - - /* interface items of /SubSys/Sender */ - case 102: - Sender_receiveMessage((void*)&_SubSys_Sender,(etPort*)&_SubSys_Sender_const.dataOut, msg); - break; - - default: - etLogger_logErrorF("MessageService_Thread1_receiveMessage: address %d does not exist ", msg->address); - break; - } - ET_MSC_LOGGER_SYNC_EXIT -} - -static void MsgDispatcher_PhysicalThread2_receiveMessage(const etMessage* msg){ - ET_MSC_LOGGER_SYNC_ENTRY("MsgDispatcher_PhysicalThread2", "receiveMessage") - switch(msg->address){ - - /* interface items of /SubSys/Receiver */ - case 104: - Receiver_receiveMessage((void*)&_SubSys_Receiver,(etPort*)&_SubSys_Receiver_const.dataIn, msg); - break; - - default: - etLogger_logErrorF("MessageService_Thread1_receiveMessage: address %d does not exist ", msg->address); - break; - } - ET_MSC_LOGGER_SYNC_EXIT -} - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Inst.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Inst.h deleted file mode 100644 index 54476df7d..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Node1_Inst.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * @author generated by eTrice - * - * Instance File of SubSystemClass SubSys - * - instantiation of all actor instances and port instances - * - configuration of data and connection of ports - */ - -#include "platform/etMemory.h" - -/* include all used ActorClasses */ -#include "Receiver.h" -#include "Sender.h" - -/* include all used ProtcolClasses */ -#include "CommunicationProtocol.h" - - -/* instantiation of message services */ -/* PhysicalThread1 */ -// TODO: generate sizes -static uint8 msgBuffer_PhysicalThread1[MESSAGE_POOL_MAX*MESSAGE_BLOCK_SIZE]; -static etMessageService msgService_PhysicalThread1; - -/* PhysicalThread2 */ -static uint8 msgBuffer_PhysicalThread2[MESSAGE_POOL_MAX*MESSAGE_BLOCK_SIZE]; -static etMessageService msgService_PhysicalThread2; - -/* declarations of all ActorClass instances (const and variable structs) */ - -/* forward declaration of variable actor structs */ -static Sender _SubSys_Sender; -static Receiver _SubSys_Receiver; - -/* forward declaration of variable port structs */ - - -/* instance _SubSys_Sender */ -static const Sender_const _SubSys_Sender_const = { - /* Ports: {varData, msgService, peerAddress, localId} */ - {0,&msgService_PhysicalThread2, 104, 1} /* Port dataOut */ - - /* data receive ports */ -}; -static Sender _SubSys_Sender = { - &_SubSys_Sender_const, - - /* data send ports */ - - /* attributes */ - - /* state and history are initialized in init fuction */ -}; - -/* instance _SubSys_Receiver */ -static const Receiver_const _SubSys_Receiver_const = { - /* Ports: {varData, msgService, peerAddress, localId} */ - {0,&msgService_PhysicalThread1, 102, 1} /* Port dataIn */ - - /* data receive ports */ -}; -static Receiver _SubSys_Receiver = { - &_SubSys_Receiver_const, - - /* data send ports */ - - /* attributes */ - { - 0, - { - 0, - 0, - 0 - }, - 0 - } - , /* attr1 */ - - /* state and history are initialized in init fuction */ -}; - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.c deleted file mode 100644 index df7a1e775..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.c +++ /dev/null @@ -1,199 +0,0 @@ -/** - * @author generated by eTrice - * - * Source File of ActorClass Receiver - * - */ - -#include "Receiver.h" - -#include "modelbase/etActor.h" -#include "debugging/etLogger.h" -#include "debugging/etMSCLogger.h" -#include "etUnit/etUnit.h" -#include "platform/etMemory.h" - -#include "CommunicationProtocol.h" - - -/* interface item IDs */ -enum interface_items { - IFITEM_dataIn = 1 -}; - - -/* state IDs */ -enum state_ids { - NO_STATE = 0, - STATE_TOP = 1, - STATE_Idle = 2, - STATE_DataReceived = 3 -}; - -static char* state_names[] = { - "NO_STATE", "TOP", "Idle", "DataReceived" -}; - -/* transition chains */ -enum chain_ids { - CHAIN_TRANS_INITIAL_TO__Idle = 1, - CHAIN_TRANS_tr0_FROM_Idle_TO_DataReceived_BY_sendDatadataIn = 2 -}; - -/* triggers */ -enum triggers { - POLLING = 0, - TRIG_dataIn__sendData = IFITEM_dataIn + EVT_SHIFT*CommunicationProtocol_IN_sendData -}; - - -static void setState(Receiver* self, int new_state) { - etLogger_logInfoF("Receiver: setState: new state=%d", new_state); - ET_MSC_LOGGER_CHANGE_STATE("Receiver", state_names[new_state]); - self->state = new_state; -} - -/* Entry and Exit Codes */ - -/* Action Codes */ -static void action_TRANS_tr0_FROM_Idle_TO_DataReceived_BY_sendDatadataIn(Receiver* self, InterfaceItemBase *ifitem) { - CommunicationProtocolPort_receivedData(&self->constData->dataIn) /* ORIG: dataIn.receivedData() */; -} - -/** - * calls exit codes while exiting from the current state to one of its - * parent states while remembering the history - * @param current - the current state - * @param to - the final parent state - * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints) - */ -static void exitTo(Receiver* self, int current, int to, boolean handler) { - while (current!=to) { - switch (current) { - case STATE_Idle: - self->history[STATE_TOP] = STATE_Idle; - current = STATE_TOP; - break; - case STATE_DataReceived: - self->history[STATE_TOP] = STATE_DataReceived; - current = STATE_TOP; - break; - } - } -} - -/** - * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data - * matching the trigger of this chain. The ID of the final state is returned - * @param chain - the chain ID - * @param generic_data - the generic data pointer - * @return the ID of the final state - */ -static int executeTransitionChain(Receiver* self, int chain, InterfaceItemBase *ifitem, void* generic_data) { - switch (chain) { - case CHAIN_TRANS_INITIAL_TO__Idle: - { - return STATE_Idle; - } - case CHAIN_TRANS_tr0_FROM_Idle_TO_DataReceived_BY_sendDatadataIn: - { - action_TRANS_tr0_FROM_Idle_TO_DataReceived_BY_sendDatadataIn(self, ifitem); - return STATE_DataReceived; - } - } - return NO_STATE; -} - -/** - * calls entry codes while entering a state's history. The ID of the final leaf state is returned - * @param state - the state which is entered - * @param handler - entry code is executed if not handler - * @return - the ID of the final leaf state - */ -static int enterHistory(Receiver* self, int state, boolean handler, boolean skip_entry) { - while (TRUE) { - switch (state) { - case STATE_Idle: - // in leaf state: return state id - return STATE_Idle; - case STATE_DataReceived: - // in leaf state: return state id - return STATE_DataReceived; - case STATE_TOP: - state = self->history[STATE_TOP]; - break; - } - skip_entry = FALSE; - } - //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true) -} - -static void executeInitTransition(Receiver* self) { - int chain = CHAIN_TRANS_INITIAL_TO__Idle; - int next = executeTransitionChain(self, chain, NULL, NULL); - next = enterHistory(self, next, FALSE, FALSE); - setState(self, next); -} - -/* receiveEvent contains the main implementation of the FSM */ -static void receiveEvent(Receiver* self, InterfaceItemBase *ifitem, int evt, void* generic_data) { - int trigger = ifitem->localId + EVT_SHIFT*evt; - int chain = NOT_CAUGHT; - int catching_state = NO_STATE; - boolean is_handler = FALSE; - boolean skip_entry = FALSE; - ET_MSC_LOGGER_SYNC_ENTRY("Receiver", "receiveEvent") - - if (!handleSystemEvent(ifitem, evt, generic_data)) { - switch (self->state) { - case STATE_Idle: - switch(trigger) { - case TRIG_dataIn__sendData: - { - chain = CHAIN_TRANS_tr0_FROM_Idle_TO_DataReceived_BY_sendDatadataIn; - catching_state = STATE_TOP; - } - break; - } - break; - case STATE_DataReceived: - break; - } - } - if (chain != NOT_CAUGHT) { - exitTo(self, self->state, catching_state, is_handler); - int next = executeTransitionChain(self, chain, ifitem, generic_data); - next = enterHistory(self, next, is_handler, skip_entry); - setState(self, next); - } - ET_MSC_LOGGER_SYNC_EXIT -} - -//****************************************** -// END of generated code for FSM -//****************************************** - -void Receiver_init(Receiver* self){ - ET_MSC_LOGGER_SYNC_ENTRY("Receiver", "init") - self->state = STATE_TOP; - { - int i; - for (i=0; ihistory[i] = NO_STATE; - } - executeInitTransition(self); - ET_MSC_LOGGER_SYNC_EXIT -} - - -void Receiver_receiveMessage(void* self, void* ifitem, const etMessage* msg){ - ET_MSC_LOGGER_SYNC_ENTRY("Receiver", "receiveMessage") - - receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage)))); - - ET_MSC_LOGGER_SYNC_EXIT -} - - -/*--------------------- operations ---------------------*/ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.h deleted file mode 100644 index 4e6c8218d..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Receiver.h +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @author generated by eTrice - * - * Header File of ActorClass Receiver - * - */ - -#ifndef _RECEIVER_H_ -#define _RECEIVER_H_ - -#include "etDatatypes.h" -#include "messaging/etMessage.h" - -#include "DataClass1.h" -#include "CommunicationProtocol.h" - - -typedef struct Receiver Receiver; - -/* const part of ActorClass (ROM) */ -typedef struct Receiver_const { - /* simple ports */ - const CommunicationProtocolPort dataIn; - - /* data receive ports */ - - /* saps */ - - /* replicated ports */ - - /* services */ -} Receiver_const; - - -/* constant for state machine data */ -#define RECEIVER_HISTORY_SIZE 2 - -/* variable part of ActorClass (RAM) */ -struct Receiver { - const Receiver_const* const constData; - - /* data send ports */ - - /*--------------------- attributes ---------------------*/ - DataClass1 attr1; - - - /* state machine variables */ - etInt16 state; - etInt16 history[RECEIVER_HISTORY_SIZE]; -}; - -void Receiver_init(Receiver* self); - -void Receiver_receiveMessage(void* self, void* ifitem, const etMessage* msg); - - -/*--------------------- operations ---------------------*/ - - -#endif /* _RECEIVER_H_ */ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.c deleted file mode 100644 index 686063e4e..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.c +++ /dev/null @@ -1,197 +0,0 @@ -/** - * @author generated by eTrice - * - * Source File of ActorClass Sender - * - */ - -#include "Sender.h" - -#include "modelbase/etActor.h" -#include "debugging/etLogger.h" -#include "debugging/etMSCLogger.h" -#include "etUnit/etUnit.h" -#include "platform/etMemory.h" - -#include "CommunicationProtocol.h" - - -/* interface item IDs */ -enum interface_items { - IFITEM_dataOut = 1 -}; - - -/* state IDs */ -enum state_ids { - NO_STATE = 0, - STATE_TOP = 1, - STATE_SendingData = 2, - STATE_Done = 3 -}; - -static char* state_names[] = { - "NO_STATE", "TOP", "SendingData", "Done" -}; - -/* transition chains */ -enum chain_ids { - CHAIN_TRANS_INITIAL_TO__SendingData = 1, - CHAIN_TRANS_tr0_FROM_SendingData_TO_Done_BY_receivedDatadataOut = 2 -}; - -/* triggers */ -enum triggers { - POLLING = 0, - TRIG_dataOut__receivedData = IFITEM_dataOut + EVT_SHIFT*CommunicationProtocol_OUT_receivedData -}; - - -static void setState(Sender* self, int new_state) { - etLogger_logInfoF("Sender: setState: new state=%d", new_state); - ET_MSC_LOGGER_CHANGE_STATE("Sender", state_names[new_state]); - self->state = new_state; -} - -/* Entry and Exit Codes */ -static void entry_SendingData(Sender* self) { - CommunicationProtocolConjPort_sendData(&self->constData->dataOut) /* ORIG: dataOut.sendData() */; -} - -/* Action Codes */ - -/** - * calls exit codes while exiting from the current state to one of its - * parent states while remembering the history - * @param current - the current state - * @param to - the final parent state - * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints) - */ -static void exitTo(Sender* self, int current, int to, boolean handler) { - while (current!=to) { - switch (current) { - case STATE_SendingData: - self->history[STATE_TOP] = STATE_SendingData; - current = STATE_TOP; - break; - case STATE_Done: - self->history[STATE_TOP] = STATE_Done; - current = STATE_TOP; - break; - } - } -} - -/** - * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data - * matching the trigger of this chain. The ID of the final state is returned - * @param chain - the chain ID - * @param generic_data - the generic data pointer - * @return the ID of the final state - */ -static int executeTransitionChain(Sender* self, int chain, InterfaceItemBase* ifitem, void* generic_data) { - switch (chain) { - case CHAIN_TRANS_INITIAL_TO__SendingData: - { - return STATE_SendingData; - } - case CHAIN_TRANS_tr0_FROM_SendingData_TO_Done_BY_receivedDatadataOut: - { - return STATE_Done; - } - } - return NO_STATE; -} - -/** - * calls entry codes while entering a state's history. The ID of the final leaf state is returned - * @param state - the state which is entered - * @param handler - entry code is executed if not handler - * @return - the ID of the final leaf state - */ -static int enterHistory(Sender* self, int state, boolean handler, boolean skip_entry) { - while (TRUE) { - switch (state) { - case STATE_SendingData: - if (!(skip_entry || handler)) entry_SendingData(self); - // in leaf state: return state id - return STATE_SendingData; - case STATE_Done: - // in leaf state: return state id - return STATE_Done; - case STATE_TOP: - state = self->history[STATE_TOP]; - break; - } - skip_entry = FALSE; - } - //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true) -} - -static void executeInitTransition(Sender* self) { - int chain = CHAIN_TRANS_INITIAL_TO__SendingData; - int next = executeTransitionChain(self, chain, NULL, NULL); - next = enterHistory(self, next, FALSE, FALSE); - setState(self, next); -} - -/* receiveEvent contains the main implementation of the FSM */ -static void receiveEvent(Sender* self, InterfaceItemBase *ifitem, int evt, void* generic_data) { - int trigger = ifitem->localId + EVT_SHIFT*evt; - int chain = NOT_CAUGHT; - int catching_state = NO_STATE; - boolean is_handler = FALSE; - boolean skip_entry = FALSE; - - if (!handleSystemEvent(ifitem, evt, generic_data)) { - switch (self->state) { - case STATE_SendingData: - switch(trigger) { - case TRIG_dataOut__receivedData: - { - chain = CHAIN_TRANS_tr0_FROM_SendingData_TO_Done_BY_receivedDatadataOut; - catching_state = STATE_TOP; - } - break; - } - break; - case STATE_Done: - break; - } - } - if (chain != NOT_CAUGHT) { - exitTo(self, self->state, catching_state, is_handler); - int next = executeTransitionChain(self, chain, ifitem, generic_data); - next = enterHistory(self, next, is_handler, skip_entry); - setState(self, next); - } -} - -//****************************************** -// END of generated code for FSM -//****************************************** - -void Sender_init(Sender* self){ - ET_MSC_LOGGER_SYNC_ENTRY("Sender", "init") - self->state = STATE_TOP; - { - int i; - for (i=0; ihistory[i] = NO_STATE; - } - executeInitTransition(self); - ET_MSC_LOGGER_SYNC_EXIT -} - - -void Sender_receiveMessage(void* self, void* ifitem, const etMessage* msg){ - ET_MSC_LOGGER_SYNC_ENTRY("Sender", "_receiveMessage") - - receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage)))); - - ET_MSC_LOGGER_SYNC_EXIT -} - - -/*--------------------- operations ---------------------*/ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.h deleted file mode 100644 index 231c3556c..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/Sender.h +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @author generated by eTrice - * - * Header File of ActorClass Sender - * - */ - -#ifndef _SENDER_H_ -#define _SENDER_H_ - -#include "etDatatypes.h" -#include "messaging/etMessage.h" - -#include "CommunicationProtocol.h" - - -typedef struct Sender Sender; - -/* const part of ActorClass (ROM) */ -typedef struct Sender_const { - /* simple ports */ - const CommunicationProtocolConjPort dataOut; - - /* data receive ports */ - - /* saps */ - - /* replicated ports */ - - /* services */ -} Sender_const; - - -/* constant for state machine data */ -#define SENDER_HISTORY_SIZE 2 - -/* variable part of ActorClass (RAM) */ -struct Sender { - const Sender_const* const constData; - - /* data send ports */ - - /*--------------------- attributes ---------------------*/ - - - /* state machine variables */ - etInt16 state; - etInt16 history[SENDER_HISTORY_SIZE]; -}; - -void Sender_init(Sender* self); - -void Sender_receiveMessage(void* self, void* ifitem, const etMessage* msg); - - -/*--------------------- operations ---------------------*/ - - -#endif /* _SENDER_H_ */ - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/SubSys_Runner.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/SubSys_Runner.c deleted file mode 100644 index f187882df..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/cGenRef/SubSys_Runner.c +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @author generated by eTrice - * - * this class contains the main function running component SubSys - * it instantiates SubSys and starts and ends the lifecycle - */ - - -#include "Node1.h" - -#include "debugging/etLogger.h" -#include "debugging/etMSCLogger.h" -#include "platform/etPlatform.h" - - -/** - * main function - * creates component and starts and stops the lifecycle - */ - -int main(void) { - etUserEntry(); /* platform specific */ - - etLogger_logInfo("*** T H E B E G I N ***"); - ET_MSC_LOGGER_OPEN("main"); - - /* startup sequence of lifecycle */ - Node1_init(); /* lifecycle init */ - Node1_start(); /* lifecycle start */ - - etUserPreRun(); /* platform specific */ - - /* run Scheduler */ - Node1_run(); - - etUserPostRun(); /* platform specific */ - - /* shutdown sequence of lifecycle */ - Node1_stop(); /* lifecycle stop */ - Node1_destroy(); /* lifecycle destroy */ - - ET_MSC_LOGGER_CLOSE - etLogger_logInfo("*** T H E E N D ***"); - - etUserExit(); /* platform specific */ - - return 0; -} - diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/readme.txt b/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/readme.txt deleted file mode 100644 index 1dc2b35ab..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen-ts/readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory is an eTrice code generation target. -It will be erased every time the generator is executed. - -DO NOT PLACE OTHER FILES HERE! diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen/readme.txt b/examples/org.eclipse.etrice.generator.c.reference/src-gen/readme.txt deleted file mode 100644 index 1dc2b35ab..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen/readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory is an eTrice code generation target. -It will be erased every time the generator is executed. - -DO NOT PLACE OTHER FILES HERE! diff --git a/examples/org.eclipse.etrice.generator.c.reference/tmp/log/msc.seq b/examples/org.eclipse.etrice.generator.c.reference/tmp/log/msc.seq deleted file mode 100644 index e69de29bb..000000000 diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/.cproject b/examples/org.eclipse.etrice.generator.cpp.reference/.cproject deleted file mode 100644 index 216ccd871..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/.cproject +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/.gitignore b/examples/org.eclipse.etrice.generator.cpp.reference/.gitignore deleted file mode 100644 index d2a6ec005..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -WindowsMinGW -LinuxPosix -src-gen/* -!src-gen/readme.txt -src-gen-info/* -!src-gen-info/readme.txt -log/* -!log/readme.txt diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/.project b/examples/org.eclipse.etrice.generator.cpp.reference/.project deleted file mode 100644 index 5e0965ddb..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/.project +++ /dev/null @@ -1,36 +0,0 @@ - - - org.eclipse.etrice.generator.cpp.reference - - - org.eclipse.etrice.runtime.cpp - org.eclipse.etrice.modellib.cpp - org.eclipse.etrice.runtime.c - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.core.ccnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.core.prefs b/examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.core.prefs deleted file mode 100644 index ba50e9cec..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.core.prefs +++ /dev/null @@ -1,37 +0,0 @@ -eclipse.preferences.version=1 -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/CPP_MODELLIB_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/CPP_MODELLIB_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/CPP_MODELLIB_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.modellib.cpp} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/CPP_RUNTIME_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/CPP_RUNTIME_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/CPP_RUNTIME_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.runtime.cpp} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/RUNTIME_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/RUNTIME_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/RUNTIME_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.runtime.c} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/append=true -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1242072675/appendContributed=true -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/CPP_MODELLIB_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/CPP_MODELLIB_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/CPP_MODELLIB_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.modellib.cpp} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/CPP_RUNTIME_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/CPP_RUNTIME_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/CPP_RUNTIME_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.runtime.cpp} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/ECLIPSE_MODE/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/ECLIPSE_MODE/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/ECLIPSE_MODE/value=true -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/RUNTIME_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/RUNTIME_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/RUNTIME_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.runtime.c} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/append=true -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372.1674764309/appendContributed=true -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPP_MODELLIB_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPP_MODELLIB_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPP_MODELLIB_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.modellib.cpp} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPP_RUNTIME_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPP_RUNTIME_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPP_RUNTIME_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.runtime.cpp} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/RUNTIME_ROOTDIR/delimiter=; -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/RUNTIME_ROOTDIR/operation=append -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/RUNTIME_ROOTDIR/value=${workspace_loc\:org.eclipse.etrice.runtime.c} -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/append=true -environment/project/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/appendContributed=true diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs deleted file mode 100644 index 99e96a40b..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/.settings/org.eclipse.cdt.managedbuilder.core.prefs +++ /dev/null @@ -1,13 +0,0 @@ -eclipse.preferences.version=1 -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPLUS_INCLUDE_PATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/CPLUS_INCLUDE_PATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/C_INCLUDE_PATH/delimiter=; -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/C_INCLUDE_PATH/operation=remove -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/append=true -environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/appendContributed=true -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/LIBRARY_PATH/delimiter=; -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/LIBRARY_PATH/operation=remove -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/append=true -environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1749013372/appendContributed=true diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/generate_Reference.launch b/examples/org.eclipse.etrice.generator.cpp.reference/generate_Reference.launch deleted file mode 100644 index cb341528c..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/generate_Reference.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/log/readme.txt b/examples/org.eclipse.etrice.generator.cpp.reference/log/readme.txt deleted file mode 100644 index dadbdcfe8..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/log/readme.txt +++ /dev/null @@ -1 +0,0 @@ -This directory is an eTrice directory used for logging e.g. MSC. \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/Mapping.etmap b/examples/org.eclipse.etrice.generator.cpp.reference/model/Mapping.etmap deleted file mode 100644 index f45138175..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/Mapping.etmap +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This model defines a mapping between a logical ROOM model and a physical model (nodes and threads). - * - *

Hint: Press F3 to open declaration of selected element or import

- */ -MappingModel ReferenceModelCPP_Mapping { - - import TemplatePhysical.* from "Physical.etphys" - import TemplateModel.* from "ReferenceCPP_Main.room" - - Mapping ReferenceCPP_Main.LogSys -> TemplatePhysicalSystem { - SubSystemMapping subSystemRef -> node { - ThreadMapping defaultThread -> DefaultPhysicalThread - } - } - -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/Physical.etphys b/examples/org.eclipse.etrice.generator.cpp.reference/model/Physical.etphys deleted file mode 100644 index 2bf93c456..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/Physical.etphys +++ /dev/null @@ -1,43 +0,0 @@ -PhysicalModel TemplatePhysical { - - PhysicalSystem TemplatePhysicalSystem { - NodeRef node : DefaultNodeClass - } - - NodeClass DefaultNodeClass { - runtime = DefaultRuntimeClass - priomin = -10 - priomax = 10 - - DefaultThread DefaultPhysicalThread { - execmode = mixed - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 64 - msgpoolsize = 100 - } - - Thread BlockedThread { - execmode = blocked - prio = 0 - stacksize = 1024 - msgblocksize = 64 - msgpoolsize = 100 - } - - Thread PolledThread { - execmode = polled - interval = 100ms - prio = 0 - stacksize = 1024 - msgblocksize = 64 - msgpoolsize = 100 - } - } - - RuntimeClass DefaultRuntimeClass { - model = multiThreaded - } - -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_ActorClasses.room b/examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_ActorClasses.room deleted file mode 100644 index 070e71034..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_ActorClasses.room +++ /dev/null @@ -1,384 +0,0 @@ -RoomModel ReferenceCPP_ActorClasses { - - import ReferenceCPP_DataClasses.* from "ReferenceCPP_DataClasses.room" - - import ReferenceCPP_ProtocolClasses.* from "ReferenceCPP_ProtocolClasses.room" - - import room.basic.annotations.* from "../../org.eclipse.etrice.modellib.cpp/model/Annotations.room" - - import room.basic.types.* from "../../org.eclipse.etrice.modellib.cpp/model/Types.room" - - ActorClass ActorToplevel [ "instantiate all element to enforce code generation" ] { - Structure { - ActorRef allDataClasses: ActorAllDataClasses - ActorRef actorWithImplementationSubclass: ActorWithImplementationSubclass - Binding mirrorDataClasses.portMirror and allDataClasses.portSend - ActorRef mirrorDataClasses: ActorAllDataClassesMirror - Binding derived.port and mirror.port - ActorRef mirror: GenericMirror - ActorRef derived: InheritanceDerivedClassSimple - } - } - - ActorClass ActorAllDataClasses { - Interface { - conjugated Port portSend: PAllDatatypes - } - Structure { - Attribute allDatatypes: DAllDatatypes - Attribute char1: char - Attribute char2: char - Attribute charArray [ 100 ]: char - external Port portSend - } - Behavior { - StateMachine { - State state0 { - entry { - "sprintf(charArray.getData(), \"Hallo eTrice\"); // no very secure -> only for testcase" - "DAllDatatypes data(-1, -2, -3, -4, 1,2,3,4, 123.456, -123.456, false, 'A', charArray.getData(), std::string(\"ABC\"), string32(\"XYZ\"), (void*)0x0F0F, StaticArray(66), StaticArray(55555));" - "data.printAll(\"data 1 send\");" - "portSend.sendAllDatatypes(data);" - } - } - Transition init: initial -> state0 - State state1 - Transition tr0: state0 -> state1 { - triggers { - - } - action { - "// TODO: code proposals for data. do not work" - "data.printAll(\"data 4 receive\");" - } - } - } - } - } - - ActorClass ActorAllDataClassesMirror { - Interface { - Port portMirror: PAllDatatypes - } - Structure { - Attribute allDatatypes: DAllDatatypes - external Port portMirror - } - Behavior { - StateMachine { - State state0 - State state1 - Transition init: initial -> state0 - Transition tr0: state0 -> state1 { - triggers { - - } - action { - "allDatatypes = data;" - "allDatatypes.printAll(\"data 2 receive\");" - "allDatatypes.attribute_char_array[3]++;" - "allDatatypes.attribute_string32+=\"2\";" - "allDatatypes.attribute_charPtr[0]=\'X\';" - "allDatatypes.printAll(\"data 3 modify & send\");" - "" - "portMirror.mirrorAllDatatypes(allDatatypes);" - } - } - } - } - } - - ProtocolClass PStartStop { - incoming { - Message start() - Message stop() - } - outgoing { - Message started() - Message stopped() - } - } - - datadriven ActorClass ActorWithImplementationSubclass { - @ImplementationSubclass(fqnClassName = "ActorWithImplementationSubclass_Impl") - Behavior { - StateMachine { - State State1 { - entry { - "//" - } - exit { - "//" - } - } - State State2 { - entry { - "//" - } - exit { - "//" - } do { - "//" - } - } - Transition init: initial -> State1 { - action { - "//" - } - } - Transition tr0: State1 -> State2 { - guard { - "true" - } - action { - "//" - } - } - } - } - } - - abstract ActorClass InheritanceBaseClassSimple { - Interface { - conjugated Port port: PNumberedMessages - } - Structure { - external Port port - } - Behavior { - StateMachine { - Transition init: initial -> tp0 of state0 - State state0 { - subgraph { - EntryPoint tp0 - ExitPoint tp1 - TransitionPoint tp2 - ExitPoint tp3 - } - } - Transition tr0: tp1 of state0 -> tp0 of state2 - State state1 { - entry { - "port.message2();" - } - } - Transition tr1: state1 -> tp0 of state0 { - triggers { - - } - } - State state2 { - subgraph { - EntryPoint tp0 - ExitPoint tp1 - EntryPoint tr1 - } - } - Transition tr2: tp1 of state2 -> Done - State Done - TransitionPoint tp0 - Transition tr3: my tp0 -> state1 { - triggers { - - } - } - ChoicePoint cp0 - Transition tr4: state0 -> cp cp0 { - triggers { - - } - } - Transition tr5: cp cp0 -> tp0 of state2 - Transition tr6: cp cp0 -> tr1 of state2 { - cond { - "true" - } - } - Transition tr7: cp cp0 -> tp0 of state0 { - cond { - "true" - } - } - Transition tr8: tp3 of state0 -> cp cp0 - } - } - } - - ActorClass InheritanceDerivedClassSimple extends InheritanceBaseClassSimple { - Behavior { - StateMachine { - RefinedState state0 { - subgraph { - State state0 { - entry { - "port.message0();" - } - } - Transition tr0: my tp0 -> state0 - Transition tr1: state0 -> my tp1 { - triggers { - - } - } - Transition tr2: state0 -> my tp3 { - triggers { - - } - } - - } - } - } - } - } - - ActorClass GenericMirror { - Interface { - Port port: PNumberedMessages - } - Structure { - external Port port - } - Behavior { - StateMachine { - State Idle - Transition init: initial -> Idle - Transition tr0: Idle -> Idle { - triggers { - - } - action { - "port.reply0();" - } - } - Transition tr1: Idle -> Idle { - triggers { - - } - action { - "port.reply1();" - } - } - Transition tr2: Idle -> Idle { - triggers { - - } - action { - "port.reply2();" - } - } - Transition tr3: Idle -> Idle { - triggers { - - } - action { - "port.reply3();" - } - } - Transition tr4: Idle -> Idle { - triggers { - - } - action { - "port.reply4();" - } - } - Transition tr5: Idle -> Idle { - triggers { - - } - action { - "port.reply5();" - } - } - Transition tr6: Idle -> Idle { - triggers { - - } - action { - "port.reply6();" - } - } - } - } - } - - ActorClass ReplicationTop { - - Structure { - ActorRef replSub1 [3]: ReplicationSub1 - ActorRef replSub2 [3]: ReplicationSub2 - Binding replSub1.port and replSub2.port - ActorRef replSub3_1 [1]: ReplicationSub3 - ActorRef replSub3_2: ReplicationSub3 - conjugated Port replPort [8]: PStartStop - Binding replPort and replSub3_1.replPort - Binding replPort and replSub3_2.replPort - } - Behavior { - StateMachine { - State state0 { - entry { - "replPort.start();" - } - } - State DONE - State state1 - Transition init0: initial -> state0 - Transition tr0: state0 -> state1 { - triggers { - - } - } - Transition tr1: state1 -> DONE { - triggers { - - } - } - } - } - } - - ActorClass ReplicationSub1 { - - Interface { - conjugated Port port: PStartStop - } - Structure { - external Port port - } - } - - ActorClass ReplicationSub2 { - - Interface { - Port port: PStartStop - } - Structure { - external Port port - } - } - ActorClass ReplicationSub3 { - - Interface { - Port replPort [1]: PStartStop - } - Structure { - external Port replPort - } - Behavior { - StateMachine { State state0 - State state1 - Transition init0: initial -> state0 - Transition tr0: state0 -> state1 { - triggers { - - } - action { - "replPort.started();" - } - } - } - } - } -} \ No newline at end of file diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_DataClasses.room b/examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_DataClasses.room deleted file mode 100644 index 7ac666f07..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/ReferenceCPP_DataClasses.room +++ /dev/null @@ -1,82 +0,0 @@ -// -RoomModel ReferenceCPP_DataClasses { - - import room.basic.types.* from "../../org.eclipse.etrice.modellib.cpp/model/Types.room" - - import room.basic.annotations.* from "../../org.eclipse.etrice.modellib.cpp/model/Annotations.room" - - DataClass DAllDatatypes { - // int - Attribute attribute_int8: int8 - Attribute attribute_int16: int16 - Attribute attribute_int32: int32 - Attribute attribute_int64: int64 - - // uint - Attribute attribute_uint8: uint8 - Attribute attribute_uint16: uint16 - Attribute attribute_uint32: uint32 - Attribute attribute_uint64: uint64 - - // float - Attribute attribute_float32: float32 - Attribute attribute_float64: float64 - - // others - Attribute attribute_boolean: boolean - Attribute attribute_char: char - Attribute attribute_charPtr: charPtr - - // strings - Attribute attribute_string: string // maps to std::string attribute_string; (standard template library) - Attribute attribute_string32: string32 // maps to StaticString<32> attribute_string32; (in org.eclipse.etrice.runtime.cpp\src\common\containers) - - // references - Attribute attribute_voidTypeRef: voidType ref - - // arrays - Attribute attribute_char_array [ 4 ]: char // maps to StaticArray attribute_char_array; (in org.eclipse.etrice.runtime.cpp\src\common\containers) - Attribute attribute_int32_array [ 4 ]: int32 // maps to StaticArray attribute_int32_array; (in org.eclipse.etrice.runtime.cpp\src\common\containers) - Operation printAll(text: charPtr) { - "// This operation is only for testing purposes - do not use printf in embedded systems" - " " - " printf(\"\\n%s -> DAllDatatypes=(\" , text);" - " printf(\"%d, \", attribute_int8);" - " printf(\"%d, \", attribute_int16);" - " printf(\"%d, \", attribute_int32);" - "" - " printf(\"%d, \", attribute_uint8);" - " printf(\"%d, \", attribute_uint16);" - " printf(\"%d, \", attribute_uint32);" - "" - " printf(\"%f, \", attribute_float32);" - " printf(\"%f, \", attribute_float64);" - "" - " printf(\"%s, \", attribute_boolean ? \"true\" : \"false\");" - " printf(\"%c, \", attribute_char);" - " printf(\"%s, \", attribute_charPtr);" - "" - " printf(\"%s, \", attribute_string.c_str());" - " printf(\"%s, \", attribute_string32.c_str());" - "" - " printf(\"%.4x, \", (int32)attribute_voidTypeRef);" - "" - " printf(\"(\");" - " for (int i=0; i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClasses.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClasses.structure deleted file mode 100644 index d4328b4ea..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClasses.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.behavior deleted file mode 100644 index f00232a04..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.behavior +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.structure deleted file mode 100644 index ebe948db2..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorAllDataClassesMirror.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.behavior deleted file mode 100644 index d1355a210..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.behavior +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.structure deleted file mode 100644 index 285b63995..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorToplevel.structure +++ /dev/null @@ -1,736 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorWithImplementationSubclass.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorWithImplementationSubclass.behavior deleted file mode 100644 index 4ce31746b..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ActorWithImplementationSubclass.behavior +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.behavior deleted file mode 100644 index 335d63c02..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.behavior +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.structure deleted file mode 100644 index 736d272d8..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.GenericMirror.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.behavior deleted file mode 100644 index 6d5f073ec..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.behavior +++ /dev/null @@ -1,657 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.structure deleted file mode 100644 index fcdbdf3e1..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceBaseClassSimple.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.behavior deleted file mode 100644 index 4cd3140ed..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.behavior +++ /dev/null @@ -1,741 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.structure deleted file mode 100644 index ae6c6d5b3..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.InheritanceDerivedClassSimple.structure +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub1.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub1.structure deleted file mode 100644 index 88391817a..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub1.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub2.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub2.structure deleted file mode 100644 index 7a0756109..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub2.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.behavior deleted file mode 100644 index 46d6e239a..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.behavior +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.structure deleted file mode 100644 index cb1a5d69a..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationSub3.structure +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.behavior b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.behavior deleted file mode 100644 index 0a0309244..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.behavior +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.structure deleted file mode 100644 index f6937377c..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_ActorClasses.ReplicationTop.structure +++ /dev/null @@ -1,600 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_Main.SubSysClass.structure b/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_Main.SubSysClass.structure deleted file mode 100644 index 9bef2f9ac..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/model/diagrams/ReferenceCPP_Main.SubSysClass.structure +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/run_CPP_Reference.launch b/examples/org.eclipse.etrice.generator.cpp.reference/run_CPP_Reference.launch deleted file mode 100644 index 99991a9b5..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/run_CPP_Reference.launch +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/run_Template_Linux_.launch b/examples/org.eclipse.etrice.generator.cpp.reference/run_Template_Linux_.launch deleted file mode 100644 index d4a17a7bc..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/run_Template_Linux_.launch +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/src-gen-info/readme.txt b/examples/org.eclipse.etrice.generator.cpp.reference/src-gen-info/readme.txt deleted file mode 100644 index 1dc2b35ab..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/src-gen-info/readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory is an eTrice code generation target. -It will be erased every time the generator is executed. - -DO NOT PLACE OTHER FILES HERE! diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/src-gen/readme.txt b/examples/org.eclipse.etrice.generator.cpp.reference/src-gen/readme.txt deleted file mode 100644 index 1dc2b35ab..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/src-gen/readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory is an eTrice code generation target. -It will be erased every time the generator is executed. - -DO NOT PLACE OTHER FILES HERE! diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.cpp b/examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.cpp deleted file mode 100644 index efe253c5f..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/* - * ActorWithImplementationSubclassImpl.cpp - * - * Created on: 13.07.2016 - * Author: tschuetz - */ - -#include - -ActorWithImplementationSubclass_Impl::ActorWithImplementationSubclass_Impl( - etRuntime::IRTObject* parent, const std::string& name) : - ActorWithImplementationSubclass(parent, name) { -} - -ActorWithImplementationSubclass_Impl::~ActorWithImplementationSubclass_Impl() { -} - -void ActorWithImplementationSubclass_Impl::entry_State1() { - printf("\n2-entry_State1"); -} - -void ActorWithImplementationSubclass_Impl::exit_State1() { - printf("\n3-entry_State1"); -} -void ActorWithImplementationSubclass_Impl::entry_State2() { - printf("\n5-entry_State2"); -} -void ActorWithImplementationSubclass_Impl::exit_State2() { - printf("\n7-exit_State2 - should never happen"); - -} - -void ActorWithImplementationSubclass_Impl::do_State2() { - printf("\n6-do_State2"); - -} - -/* Action Codes */ -void ActorWithImplementationSubclass_Impl::action_TRANS_INITIAL_TO__State1() { - printf("\n1-Initial"); -} -void ActorWithImplementationSubclass_Impl::action_TRANS_tr0_FROM_State1_TO_State2_GUARD_tr0() { - printf("\n4-action_State1_to_State2"); -} - diff --git a/examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.h b/examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.h deleted file mode 100644 index 6ee0e2108..000000000 --- a/examples/org.eclipse.etrice.generator.cpp.reference/src/ActorWithImplementationSubclass_Impl.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ActorWithImplementationSubclassImpl.h - * - * Created on: 13.07.2016 - * Author: tschuetz - */ - -#ifndef ACTORWITHIMPLEMENTATIONSUBCLASS_IMPL_H_ -#define ACTORWITHIMPLEMENTATIONSUBCLASS_IMPL_H_ - -#include - -class ActorWithImplementationSubclass_Impl: public ActorWithImplementationSubclass { -public: - ActorWithImplementationSubclass_Impl(etRuntime::IRTObject* parent, const std::string& name); - - virtual ~ActorWithImplementationSubclass_Impl(); - - // Overrides - /* Entry and Exit Codes */ - virtual void entry_State1(); - virtual void exit_State1(); - virtual void entry_State2(); - virtual void exit_State2(); - virtual void do_State2(); - - /* Action Codes */ - virtual void action_TRANS_INITIAL_TO__State1(); - virtual void action_TRANS_tr0_FROM_State1_TO_State2_GUARD_tr0(); - -}; - -#endif /* ACTORWITHIMPLEMENTATIONSUBCLASS_IMPL_H_ */ -- cgit v1.2.3