Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room')
-rw-r--r--examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room33
1 files changed, 20 insertions, 13 deletions
diff --git a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room b/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room
index 57726f6f6..72395a840 100644
--- a/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room
+++ b/examples/org.eclipse.etrice.generator.c.reference/model/cGenRef.room
@@ -2,8 +2,8 @@ RoomModel cGenRef {
import room.basic.types.c.* from "CTypes.room"
SubSystemClass SubSys {
- ActorRef Receiver: Receiver
- ActorRef Sender: Sender
+ ActorRef Receiver: ReceiverManual
+ ActorRef Sender: SenderManual
Binding Sender.dataOut and Receiver.dataIn
}
@@ -122,22 +122,29 @@ RoomModel cGenRef {
}
}
- ActorClass SenderManual {
- Interface {
-
- }
- Structure {
+ ActorClass SenderManual {
+ Interface {
+ conjugated Port dataOut: CommunicationProtocol
+ }
+ Structure {
+ external Port dataOut
+ Attribute attribute1: int32
+ Attribute attribute2: DataClass1
}
- Behavior {
+ Behavior {
+ //@BehaviorManual
+ Operation operation1(argument1:int32, argument2: DataClass1 ref){""}
}
}
- ActorClass ReceiverManual {
- Interface {
-
- }
- Structure {
+ ActorClass ReceiverManual {
+ Interface {
+ Port dataIn: CommunicationProtocol
+ }
+ Structure {
+ external Port dataIn
}
Behavior {
+ //@BehaviorManual
}
}

Back to the top