WPILibC++ 2023.4.3-108-ge5452e3
nt::TimestampedFloatArray Struct Reference

Timestamped FloatArray. More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedFloatArray ()=default
 
 TimestampedFloatArray (int64_t time, int64_t serverTime, std::vector< float > value)
 

Public Attributes

int64_t time = 0
 Time in local time base. More...
 
int64_t serverTime = 0
 Time in server time base. More...
 
std::vector< float > value = {}
 Value. More...
 

Detailed Description

Timestamped FloatArray.

Constructor & Destructor Documentation

◆ TimestampedFloatArray() [1/2]

nt::TimestampedFloatArray::TimestampedFloatArray ( )
default

◆ TimestampedFloatArray() [2/2]

nt::TimestampedFloatArray::TimestampedFloatArray ( int64_t  time,
int64_t  serverTime,
std::vector< float >  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedFloatArray::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedFloatArray::time = 0

Time in local time base.

◆ value

std::vector<float> nt::TimestampedFloatArray::value = {}

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