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

Timestamped String. More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedString ()=default
 
 TimestampedString (int64_t time, int64_t serverTime, std::string value)
 

Public Attributes

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

Detailed Description

Timestamped String.

Constructor & Destructor Documentation

◆ TimestampedString() [1/2]

nt::TimestampedString::TimestampedString ( )
default

◆ TimestampedString() [2/2]

nt::TimestampedString::TimestampedString ( int64_t  time,
int64_t  serverTime,
std::string  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedString::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedString::time = 0

Time in local time base.

◆ value

std::string nt::TimestampedString::value = {}

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