Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2019-04-15 13:00:47 -0400
committerJuergen Haug2019-04-15 13:03:58 -0400
commit636465baf602e2bc9ea0b6ae89c2bb255306eaaf (patch)
tree82a2822a601acf79e3672df256f237e4051c5dae /runtime/org.eclipse.etrice.modellib.c/model/Annotations.room
parentc4fc914e0870f96b996033a92ba515d54c21da0c (diff)
downloadorg.eclipse.etrice-636465baf602e2bc9ea0b6ae89c2bb255306eaaf.tar.gz
org.eclipse.etrice-636465baf602e2bc9ea0b6ae89c2bb255306eaaf.tar.xz
org.eclipse.etrice-636465baf602e2bc9ea0b6ae89c2bb255306eaaf.zip
Bug 546443 - [c.gen] Support special user code for library elements
Diffstat (limited to 'runtime/org.eclipse.etrice.modellib.c/model/Annotations.room')
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/model/Annotations.room8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.modellib.c/model/Annotations.room b/runtime/org.eclipse.etrice.modellib.c/model/Annotations.room
index dbdbb0a8d..064d7dd86 100644
--- a/runtime/org.eclipse.etrice.modellib.c/model/Annotations.room
+++ b/runtime/org.eclipse.etrice.modellib.c/model/Annotations.room
@@ -17,6 +17,14 @@ RoomModel room.basic.annotations {
optional attribute noGenerate: ptBoolean
}
+ /**
+ * Special user code which is generated to the sub system instance.
+ */
+ AnnotationType SubSystemUserCode {
+ target = ActorClass
+ mandatory attribute userCode: ptCharacter
+ }
+
AnnotationType DataLogging {
target = SubSystemClass
mandatory attribute pathlist: ptCharacter

Back to the top