WPILibC++ 2024.3.2
nt::Timestamped< T > Struct Template Reference

Timestamped value. More...

#include </home/runner/work/allwpilib/allwpilib/ntcore/src/generated/main/native/include/ntcore_cpp_types.h>

Public Member Functions

 Timestamped ()=default
 
 Timestamped (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...
 
value = {}
 Value. More...
 

Detailed Description

template<typename T>
struct nt::Timestamped< T >

Timestamped value.

Constructor & Destructor Documentation

◆ Timestamped() [1/2]

template<typename T >
nt::Timestamped< T >::Timestamped ( )
default

◆ Timestamped() [2/2]

template<typename T >
nt::Timestamped< T >::Timestamped ( int64_t  time,
int64_t  serverTime,
value 
)
inline

Member Data Documentation

◆ serverTime

template<typename T >
int64_t nt::Timestamped< T >::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

template<typename T >
int64_t nt::Timestamped< T >::time = 0

Time in local time base.

◆ value

template<typename T >
T nt::Timestamped< T >::value = {}

The documentation for this struct was generated from the following file: