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 | 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 -
40 files changed, 5544 deletions(-)
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
(limited to 'examples/org.eclipse.etrice.generator.cpp.reference')
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