WPILibC++ 2023.4.3
nt::TimestampedBoolean Struct Reference

Timestamped Boolean. More...

#include <ntcore_cpp_types.h>

Public Member Functions

 TimestampedBoolean ()=default
 
 TimestampedBoolean (int64_t time, int64_t serverTime, bool value)
 

Public Attributes

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

Detailed Description

Timestamped Boolean.

Constructor & Destructor Documentation

◆ TimestampedBoolean() [1/2]

nt::TimestampedBoolean::TimestampedBoolean ( )
default

◆ TimestampedBoolean() [2/2]

nt::TimestampedBoolean::TimestampedBoolean ( int64_t  time,
int64_t  serverTime,
bool  value 
)
inline

Member Data Documentation

◆ serverTime

int64_t nt::TimestampedBoolean::serverTime = 0

Time in server time base.

May be 0 or 1 for locally set values.

◆ time

int64_t nt::TimestampedBoolean::time = 0

Time in local time base.

◆ value

bool nt::TimestampedBoolean::value = {}

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