WPILibC++ 2023.4.3
nt::TimestampedFloat Struct Reference

Timestamped Float. More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedFloat ()=default
 
 TimestampedFloat (int64_t time, int64_t serverTime, float value)
 

Public Attributes

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

Detailed Description

Timestamped Float.

Constructor & Destructor Documentation

◆ TimestampedFloat() [1/2]

nt::TimestampedFloat::TimestampedFloat ( )
default

◆ TimestampedFloat() [2/2]

nt::TimestampedFloat::TimestampedFloat ( int64_t  time,
int64_t  serverTime,
float  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedFloat::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedFloat::time = 0

Time in local time base.

◆ value

float nt::TimestampedFloat::value = {}

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