Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 73d9efe539b456c3c933f4dce03af2a3fde7403b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
RoomModel ReferenceCPP_ProtocolClasses {

	import room.basic.types.* from "../../org.eclipse.etrice.modellib.cpp/model/Types.room"

	import ReferenceCPP_DataClasses.* from "ReferenceCPP_DataClasses.room"
	
	ProtocolClass PAllDatatypes {
		incoming {
			Message sendAllDatatypes(data: DAllDatatypes)
			Message sendInt16(data: int16)
			Message sendFloat(data: float32)
			Message sendBoolean(data: boolean)
			Message sendCharPtr(data: charPtr)
		}
		outgoing {
			Message mirrorAllDatatypes(data: DAllDatatypes)
			Message mirrorInt16(data: int16)
			Message mirrorFloat(data: float64)
			Message mirrorBoolean(data: boolean)
			Message mirrorCharPtr(data: charPtr)
		}
	}
	ProtocolClass PNumberedMessages {
		incoming {
			Message message0()
			Message message1()
			Message message2()
			Message message3()
			Message message4()
			Message message5()
			Message message6()
		}
		outgoing {
			Message reply0()
			Message reply1()
			Message reply2()
			Message reply3()
			Message reply4()
			Message reply5()
			Message reply6()
		}
	}
}

Back to the top