Package edu.wpi.first.networktables
Class TimestampedObject<T>
java.lang.Object
edu.wpi.first.networktables.TimestampedObject<T>
- Type Parameters:
T
- Value type.
NetworkTables timestamped object.
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
Timestamp in server time base.final long
Timestamp in local time base.final T
Value. -
Constructor Summary
ConstructorDescriptionTimestampedObject
(long timestamp, long serverTime, T value) Create a timestamped value. -
Method Summary
-
Field Details
-
timestamp
Timestamp in local time base. -
serverTime
Timestamp in server time base. May be 0 or 1 for locally set values. -
value
Value.
-
-
Constructor Details
-
TimestampedObject
Create a timestamped value.- Parameters:
timestamp
- timestamp in local time baseserverTime
- timestamp in server time basevalue
- value
-