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

Timestamped Integer. More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedInteger ()=default
 
 TimestampedInteger (int64_t time, int64_t serverTime, int64_t value)
 

Public Attributes

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

Detailed Description

Timestamped Integer.

Constructor & Destructor Documentation

◆ TimestampedInteger() [1/2]

nt::TimestampedInteger::TimestampedInteger ( )
default

◆ TimestampedInteger() [2/2]

nt::TimestampedInteger::TimestampedInteger ( int64_t  time,
int64_t  serverTime,
int64_t  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedInteger::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedInteger::time = 0

Time in local time base.

◆ value

int64_t nt::TimestampedInteger::value = {}

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