Revision 5d65b84e
| Protocol/specification/messages.proto | ||
|---|---|---|
| 11 | 11 |
import "eye_data.proto"; |
| 12 | 12 |
|
| 13 | 13 |
message Message {
|
| 14 |
required string uuid = 1; // A unique ID to identify the message |
|
| 14 |
required gazetk.protocol.types.Timestamp timestamp = 1; // Time of the creation of the message |
|
| 15 |
required string uuid = 2; // A unique ID to identify the message |
|
| 16 |
required string sender_uuid = 3; // The unique ID identifying the sender |
|
| 17 |
required string addressee_uuid = 4; // The unique ID of the addressee |
|
| 15 | 18 |
oneof content {
|
| 16 |
gazetk.protocol.EyeSampe eyesample = 10
|
|
| 19 |
gazetk.protocol.EyeSample eyesample = 10;
|
|
| 17 | 20 |
gazetk.protocol.Gaze2DSample gaze2dsample = 12; |
| 18 | 21 |
gazetk.protocol.Gaze2DFixation gaze2dfixation = 13; |
| 19 | 22 |
} |
| Protocol/src_cpp/Protocol.h.in | ||
|---|---|---|
| 1 |
// Version numbers... |
|
| 2 |
#define GAZETKPROTOCOL_VERSION_MAJOR @GazeTkProtocol_VERSION_MAJOR@ |
|
| 3 |
#define GAZETKPROTOCOL_VERSION_MINOR @GazeTkProtocol_VERSION_MINOR@ |
|
| Protocol/src_cpp/protocol.cc | ||
|---|---|---|
| 1 |
#include "Protocol.h" |
|
Also available in: Unified diff