WPILibC++ 2023.4.3
nt::TimestampedRawView Struct Reference

Timestamped Raw view (for SmallVector-taking functions). More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedRawView ()=default
 
 TimestampedRawView (int64_t time, int64_t serverTime, std::span< uint8_t > value)
 

Public Attributes

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

Detailed Description

Timestamped Raw view (for SmallVector-taking functions).

Constructor & Destructor Documentation

◆ TimestampedRawView() [1/2]

nt::TimestampedRawView::TimestampedRawView ( )
default

◆ TimestampedRawView() [2/2]

nt::TimestampedRawView::TimestampedRawView ( int64_t  time,
int64_t  serverTime,
std::span< uint8_t >  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedRawView::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedRawView::time = 0

Time in local time base.

◆ value

std::span<uint8_t> nt::TimestampedRawView::value = {}

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