WPILibC++ 2023.4.3-108-ge5452e3
|
Timestamped unit. More...
#include <networktables/UnitTopic.h>
Public Member Functions | |
TimestampedUnit ()=default | |
TimestampedUnit (int64_t time, int64_t serverTime, T value) | |
Public Attributes | |
int64_t | time = 0 |
Time in local time base. More... | |
int64_t | serverTime = 0 |
Time in server time base. More... | |
T | value = {} |
Value. More... | |
Timestamped unit.
T | unit type, e.g. units::meter_t |
|
default |
|
inline |
int64_t nt::TimestampedUnit< T >::serverTime = 0 |
Time in server time base.
May be 0 or 1 for locally set values.
int64_t nt::TimestampedUnit< T >::time = 0 |
Time in local time base.
T nt::TimestampedUnit< T >::value = {} |