WPILibC++ 2023.4.3
NT_Value Struct Reference

NetworkTables Entry Value. More...

#include <ntcore_c.h>

Public Attributes

enum NT_Type type
 
int64_t last_change
 
int64_t server_time
 
union {
   NT_Bool   v_boolean
 
   int64_t   v_int
 
   float   v_float
 
   double   v_double
 
   struct NT_String   v_string
 
   struct {
      uint8_t *   data
 
      size_t   size
 
   }   v_raw
 
   struct {
      NT_Bool *   arr
 
      size_t   size
 
   }   arr_boolean
 
   struct {
      double *   arr
 
      size_t   size
 
   }   arr_double
 
   struct {
      float *   arr
 
      size_t   size
 
   }   arr_float
 
   struct {
      int64_t *   arr
 
      size_t   size
 
   }   arr_int
 
   struct {
      struct NT_String *   arr
 
      size_t   size
 
   }   arr_string
 
data
 

Detailed Description

NetworkTables Entry Value.

Note this is a typed union.

Member Data Documentation

◆ arr [1/5]

NT_Bool* NT_Value::arr

◆ arr [2/5]

double* NT_Value::arr

◆ arr [3/5]

float* NT_Value::arr

◆ arr [4/5]

int64_t* NT_Value::arr

◆ arr [5/5]

struct NT_String* NT_Value::arr

◆ 

struct { ... } NT_Value::arr_boolean

◆ 

struct { ... } NT_Value::arr_double

◆ 

struct { ... } NT_Value::arr_float

◆ 

struct { ... } NT_Value::arr_int

◆ 

struct { ... } NT_Value::arr_string

◆ data [1/2]

uint8_t* NT_Value::data

◆  [2/2]

union { ... } NT_Value::data

◆ last_change

int64_t NT_Value::last_change

◆ server_time

int64_t NT_Value::server_time

◆ size

size_t NT_Value::size

◆ type

enum NT_Type NT_Value::type

◆ v_boolean

NT_Bool NT_Value::v_boolean

◆ v_double

double NT_Value::v_double

◆ v_float

float NT_Value::v_float

◆ v_int

int64_t NT_Value::v_int

◆ 

struct { ... } NT_Value::v_raw

◆ v_string

struct NT_String NT_Value::v_string

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