WPILibC++ 2023.4.3
nt::TimestampedBooleanArrayView Struct Reference

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

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedBooleanArrayView ()=default
 
 TimestampedBooleanArrayView (int64_t time, int64_t serverTime, std::span< int > 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< int > value = {}
 Value. More...
 

Detailed Description

Timestamped BooleanArray view (for SmallVector-taking functions).

Constructor & Destructor Documentation

◆ TimestampedBooleanArrayView() [1/2]

nt::TimestampedBooleanArrayView::TimestampedBooleanArrayView ( )
default

◆ TimestampedBooleanArrayView() [2/2]

nt::TimestampedBooleanArrayView::TimestampedBooleanArrayView ( int64_t  time,
int64_t  serverTime,
std::span< int >  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedBooleanArrayView::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedBooleanArrayView::time = 0

Time in local time base.

◆ value

std::span<int> nt::TimestampedBooleanArrayView::value = {}

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