WPILibC++ 2023.4.3
nt::TimestampedDouble Struct Reference

Timestamped Double. More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedDouble ()=default
 
 TimestampedDouble (int64_t time, int64_t serverTime, double value)
 

Public Attributes

int64_t time = 0
 Time in local time base. More...
 
int64_t serverTime = 0
 Time in server time base. More...
 
double value = {}
 Value. More...
 

Detailed Description

Timestamped Double.

Constructor & Destructor Documentation

◆ TimestampedDouble() [1/2]

nt::TimestampedDouble::TimestampedDouble ( )
default

◆ TimestampedDouble() [2/2]

nt::TimestampedDouble::TimestampedDouble ( int64_t  time,
int64_t  serverTime,
double  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedDouble::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedDouble::time = 0

Time in local time base.

◆ value

double nt::TimestampedDouble::value = {}

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