gazetk / Protocol / specification / messages.proto @ 0cee33d5
History | View | Annotate | Download (522 Bytes)
1 | 0cee33d5 | Thies Pfeiffer | syntax = "proto2"; |
---|---|---|---|
2 | // |
||
3 | // Messages |
||
4 | // |
||
5 | // Defines the message structures used within the gazetk protocol |
||
6 | // |
||
7 | |||
8 | import "basic_types.proto"; |
||
9 | import "gaze2d_data.proto"; |
||
10 | import "gaze3d_data.proto"; |
||
11 | import "eye_data.proto"; |
||
12 | |||
13 | message Message { |
||
14 | required string uuid = 1; // A unique ID to identify the message |
||
15 | oneof content { |
||
16 | gazetk.protocol.EyeSampe eyesample = 10 |
||
17 | gazetk.protocol.Gaze2DSample gaze2dsample = 12; |
||
18 | gazetk.protocol.Gaze2DFixation gaze2dfixation = 13; |
||
19 | } |
||
20 | } |