Package rst.timing¶
This package contains data types which represent aspects of time.
Messages¶
Message IntervalCollection¶
-
class
rst.timing.
IntervalCollection
¶ Collection of
Interval
instances.Auto-generated.
-
element
¶ Type: array of rst.timing.Interval
The individual elements of the collection.
Constraints regarding the empty collection, sorting, duplicated entries etc. are use case specific.
-
message IntervalCollection {
/**
* The individual elements of the collection.
*
* Constraints regarding the empty collection, sorting, duplicated
* entries etc. are use case specific.
*/
repeated Interval element = 1;
}
Message TimestampCollection¶
-
class
rst.timing.
TimestampCollection
¶ Collection of
Timestamp
instances.Auto-generated.
-
element
¶ Type: array of rst.timing.Timestamp
The individual elements of the collection.
Constraints regarding the empty collection, sorting, duplicated entries etc. are use case specific.
-
message TimestampCollection {
/**
* The individual elements of the collection.
*
* Constraints regarding the empty collection, sorting, duplicated
* entries etc. are use case specific.
*/
repeated Timestamp element = 1;
}
Message DurationCollection¶
-
class
rst.timing.
DurationCollection
¶ Collection of
Duration
instances.Auto-generated.
-
element
¶ Type: array of rst.timing.Duration
The individual elements of the collection.
Constraints regarding the empty collection, sorting, duplicated entries etc. are use case specific.
-
message DurationCollection {
/**
* The individual elements of the collection.
*
* Constraints regarding the empty collection, sorting, duplicated
* entries etc. are use case specific.
*/
repeated Duration element = 1;
}
Message FrequencyCollection¶
-
class
rst.timing.
FrequencyCollection
¶ Collection of
Frequency
instances.Auto-generated.
-
element
¶ Type: array of rst.timing.Frequency
The individual elements of the collection.
Constraints regarding the empty collection, sorting, duplicated entries etc. are use case specific.
-
message FrequencyCollection {
/**
* The individual elements of the collection.
*
* Constraints regarding the empty collection, sorting, duplicated
* entries etc. are use case specific.
*/
repeated Frequency element = 1;
}
Message Interval¶
-
class
rst.timing.
Interval
¶ Constraint:
.begin.time <= .end.time
A time interval represented with two absolute timestamps.
Code author: Arne Nordmann <anordman@techfak.uni-bielefeld.de>
@create_collection
-
begin
¶ Type: rst.timing.Timestamp
Start of the interval.
-
end
¶ Type: rst.timing.Timestamp
End of the interval.
-
message Interval {
/**
* Start of the interval.
*/
optional Timestamp begin = 1;
/**
* End of the interval.
*/
optional Timestamp end = 2;
}
Message Timestamp¶
-
class
rst.timing.
Timestamp
¶ Holds a UNIX timestamp in microseconds.
Count starts at the Unix Epoch on January 1st, 1970 in UTC time.
Code author: Agnes Swadzba <aswadzba@techfak.uni-bielefeld.de>
@create_collection
-
time
¶ Type: UINT64
Unit: microsecond
Number of microseconds since January 1st, 1970 in UTC time.
-
message Timestamp {
/**
* Number of microseconds since January 1st, 1970 in UTC time.
*/
// @unit(microsecond)
required uint64 time = 1;
}
Message Duration¶
-
class
rst.timing.
Duration
¶ Holds a time duration in microseconds.
Code author: Arne Nordmann <anordman@techfak.uni-bielefeld.de>
@create_collection
-
time
¶ Type: UINT64
Unit: microsecond
-
message Duration {
// @unit(microsecond)
required uint64 time = 1;
}
Message Frequency¶
-
class
rst.timing.
Frequency
¶ Holds a frequency.
Code author: Arne Nordmann <anordman@techfak.uni-bielefeld.de>
@create_collection
-
hz
¶ Type: FLOAT64
Unit: hertz
-
message Frequency {
// @unit(hertz)
required double hz = 1;
}