FIX: fixed bug with the usage of the id in control and fix a issue where the data class where invalid while creating with a data put in
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
syntax = "proto3";
|
||||
import "Identifier.proto";
|
||||
|
||||
package messages.control;
|
||||
|
||||
message control{
|
||||
uint32 type = 1;
|
||||
string data = 2;
|
||||
optional uint64 timestamp = 3;
|
||||
messages.track.Identifier Identifier = 1;
|
||||
uint32 type = 2;
|
||||
string data = 3;
|
||||
optional uint64 timestamp = 4;
|
||||
}
|
||||
@@ -16,7 +16,7 @@ namespace SimCore
|
||||
|
||||
}
|
||||
|
||||
Data(T val):mx(),data_(val),valid_(false),writeTime_(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count())
|
||||
Data(T val):mx(),data_(val),valid_(true),writeTime_(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user