636uint8_t*
NT_GetRaw(
NT_Handle subentry,
const uint8_t* defaultValue,
size_t defaultValueLen,
size_t* len);
NT_Bool NT_SetDefaultBoolean(NT_Handle pubentry, NT_Bool defaultValue)
Publish a default value.
void NT_GetAtomicBoolean(NT_Handle subentry, NT_Bool defaultValue, struct NT_TimestampedBoolean *value)
Get the last published value along with its timestamp.
void NT_FreeQueueBoolean(struct NT_TimestampedBoolean *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueBoolean).
NT_Bool NT_GetBoolean(NT_Handle subentry, NT_Bool defaultValue)
Get the last published value.
void NT_DisposeTimestampedBoolean(struct NT_TimestampedBoolean *value)
Disposes a timestamped value (as returned by NT_GetAtomicBoolean).
NT_Bool * NT_ReadQueueValuesBoolean(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
struct NT_TimestampedBoolean * NT_ReadQueueBoolean(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
NT_Bool NT_SetBoolean(NT_Handle pubentry, int64_t time, NT_Bool value)
Publish a new value.
void NT_FreeQueueBooleanArray(struct NT_TimestampedBooleanArray *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueBooleanArray).
void NT_GetAtomicBooleanArray(NT_Handle subentry, const NT_Bool *defaultValue, size_t defaultValueLen, struct NT_TimestampedBooleanArray *value)
Get the last published value along with its timestamp.
NT_Bool * NT_GetBooleanArray(NT_Handle subentry, const NT_Bool *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
NT_Bool NT_SetDefaultBooleanArray(NT_Handle pubentry, const NT_Bool *defaultValue, size_t defaultValueLen)
Publish a default value.
NT_Bool NT_SetBooleanArray(NT_Handle pubentry, int64_t time, const NT_Bool *value, size_t len)
Publish a new value.
void NT_DisposeTimestampedBooleanArray(struct NT_TimestampedBooleanArray *value)
Disposes a timestamped value (as returned by NT_GetAtomicBooleanArray).
struct NT_TimestampedBooleanArray * NT_ReadQueueBooleanArray(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
void NT_FreeQueueDouble(struct NT_TimestampedDouble *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueDouble).
void NT_GetAtomicDouble(NT_Handle subentry, double defaultValue, struct NT_TimestampedDouble *value)
Get the last published value along with its timestamp.
struct NT_TimestampedDouble * NT_ReadQueueDouble(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
void NT_DisposeTimestampedDouble(struct NT_TimestampedDouble *value)
Disposes a timestamped value (as returned by NT_GetAtomicDouble).
NT_Bool NT_SetDefaultDouble(NT_Handle pubentry, double defaultValue)
Publish a default value.
double NT_GetDouble(NT_Handle subentry, double defaultValue)
Get the last published value.
NT_Bool NT_SetDouble(NT_Handle pubentry, int64_t time, double value)
Publish a new value.
double * NT_ReadQueueValuesDouble(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
NT_Bool NT_SetDoubleArray(NT_Handle pubentry, int64_t time, const double *value, size_t len)
Publish a new value.
void NT_GetAtomicDoubleArray(NT_Handle subentry, const double *defaultValue, size_t defaultValueLen, struct NT_TimestampedDoubleArray *value)
Get the last published value along with its timestamp.
NT_Bool NT_SetDefaultDoubleArray(NT_Handle pubentry, const double *defaultValue, size_t defaultValueLen)
Publish a default value.
double * NT_GetDoubleArray(NT_Handle subentry, const double *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
void NT_FreeQueueDoubleArray(struct NT_TimestampedDoubleArray *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueDoubleArray).
void NT_DisposeTimestampedDoubleArray(struct NT_TimestampedDoubleArray *value)
Disposes a timestamped value (as returned by NT_GetAtomicDoubleArray).
struct NT_TimestampedDoubleArray * NT_ReadQueueDoubleArray(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
void NT_FreeQueueFloat(struct NT_TimestampedFloat *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueFloat).
float NT_GetFloat(NT_Handle subentry, float defaultValue)
Get the last published value.
struct NT_TimestampedFloat * NT_ReadQueueFloat(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
void NT_DisposeTimestampedFloat(struct NT_TimestampedFloat *value)
Disposes a timestamped value (as returned by NT_GetAtomicFloat).
void NT_GetAtomicFloat(NT_Handle subentry, float defaultValue, struct NT_TimestampedFloat *value)
Get the last published value along with its timestamp.
NT_Bool NT_SetDefaultFloat(NT_Handle pubentry, float defaultValue)
Publish a default value.
float * NT_ReadQueueValuesFloat(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
NT_Bool NT_SetFloat(NT_Handle pubentry, int64_t time, float value)
Publish a new value.
void NT_DisposeTimestampedFloatArray(struct NT_TimestampedFloatArray *value)
Disposes a timestamped value (as returned by NT_GetAtomicFloatArray).
NT_Bool NT_SetDefaultFloatArray(NT_Handle pubentry, const float *defaultValue, size_t defaultValueLen)
Publish a default value.
float * NT_GetFloatArray(NT_Handle subentry, const float *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
void NT_GetAtomicFloatArray(NT_Handle subentry, const float *defaultValue, size_t defaultValueLen, struct NT_TimestampedFloatArray *value)
Get the last published value along with its timestamp.
NT_Bool NT_SetFloatArray(NT_Handle pubentry, int64_t time, const float *value, size_t len)
Publish a new value.
struct NT_TimestampedFloatArray * NT_ReadQueueFloatArray(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
void NT_FreeQueueFloatArray(struct NT_TimestampedFloatArray *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueFloatArray).
struct NT_TimestampedInteger * NT_ReadQueueInteger(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
int64_t * NT_ReadQueueValuesInteger(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
NT_Bool NT_SetDefaultInteger(NT_Handle pubentry, int64_t defaultValue)
Publish a default value.
NT_Bool NT_SetInteger(NT_Handle pubentry, int64_t time, int64_t value)
Publish a new value.
void NT_FreeQueueInteger(struct NT_TimestampedInteger *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueInteger).
void NT_DisposeTimestampedInteger(struct NT_TimestampedInteger *value)
Disposes a timestamped value (as returned by NT_GetAtomicInteger).
int64_t NT_GetInteger(NT_Handle subentry, int64_t defaultValue)
Get the last published value.
void NT_GetAtomicInteger(NT_Handle subentry, int64_t defaultValue, struct NT_TimestampedInteger *value)
Get the last published value along with its timestamp.
int64_t * NT_GetIntegerArray(NT_Handle subentry, const int64_t *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
void NT_GetAtomicIntegerArray(NT_Handle subentry, const int64_t *defaultValue, size_t defaultValueLen, struct NT_TimestampedIntegerArray *value)
Get the last published value along with its timestamp.
struct NT_TimestampedIntegerArray * NT_ReadQueueIntegerArray(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
NT_Bool NT_SetDefaultIntegerArray(NT_Handle pubentry, const int64_t *defaultValue, size_t defaultValueLen)
Publish a default value.
NT_Bool NT_SetIntegerArray(NT_Handle pubentry, int64_t time, const int64_t *value, size_t len)
Publish a new value.
void NT_DisposeTimestampedIntegerArray(struct NT_TimestampedIntegerArray *value)
Disposes a timestamped value (as returned by NT_GetAtomicIntegerArray).
void NT_FreeQueueIntegerArray(struct NT_TimestampedIntegerArray *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueIntegerArray).
NT_Bool NT_SetDefaultRaw(NT_Handle pubentry, const uint8_t *defaultValue, size_t defaultValueLen)
Publish a default value.
void NT_GetAtomicRaw(NT_Handle subentry, const uint8_t *defaultValue, size_t defaultValueLen, struct NT_TimestampedRaw *value)
Get the last published value along with its timestamp.
uint8_t * NT_GetRaw(NT_Handle subentry, const uint8_t *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
struct NT_TimestampedRaw * NT_ReadQueueRaw(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
void NT_FreeQueueRaw(struct NT_TimestampedRaw *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueRaw).
void NT_DisposeTimestampedRaw(struct NT_TimestampedRaw *value)
Disposes a timestamped value (as returned by NT_GetAtomicRaw).
NT_Bool NT_SetRaw(NT_Handle pubentry, int64_t time, const uint8_t *value, size_t len)
Publish a new value.
void NT_DisposeTimestampedString(struct NT_TimestampedString *value)
Disposes a timestamped value (as returned by NT_GetAtomicString).
void NT_GetAtomicString(NT_Handle subentry, const char *defaultValue, size_t defaultValueLen, struct NT_TimestampedString *value)
Get the last published value along with its timestamp.
void NT_FreeQueueString(struct NT_TimestampedString *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueString).
NT_Bool NT_SetString(NT_Handle pubentry, int64_t time, const char *value, size_t len)
Publish a new value.
NT_Bool NT_SetDefaultString(NT_Handle pubentry, const char *defaultValue, size_t defaultValueLen)
Publish a default value.
char * NT_GetString(NT_Handle subentry, const char *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
struct NT_TimestampedString * NT_ReadQueueString(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
struct NT_String * NT_GetStringArray(NT_Handle subentry, const struct NT_String *defaultValue, size_t defaultValueLen, size_t *len)
Get the last published value.
NT_Bool NT_SetStringArray(NT_Handle pubentry, int64_t time, const struct NT_String *value, size_t len)
Publish a new value.
struct NT_TimestampedStringArray * NT_ReadQueueStringArray(NT_Handle subentry, size_t *len)
Get an array of all value changes since the last call to ReadQueue.
NT_Bool NT_SetDefaultStringArray(NT_Handle pubentry, const struct NT_String *defaultValue, size_t defaultValueLen)
Publish a default value.
void NT_GetAtomicStringArray(NT_Handle subentry, const struct NT_String *defaultValue, size_t defaultValueLen, struct NT_TimestampedStringArray *value)
Get the last published value along with its timestamp.
void NT_FreeQueueStringArray(struct NT_TimestampedStringArray *arr, size_t len)
Frees a timestamped array of values (as returned by NT_ReadQueueStringArray).
void NT_DisposeTimestampedStringArray(struct NT_TimestampedStringArray *value)
Disposes a timestamped value (as returned by NT_GetAtomicStringArray).
int NT_Bool
Typedefs.
Definition: ntcore_c.h:30
unsigned int NT_Handle
Definition: ntcore_c.h:32
A NetworkTables string.
Definition: ntcore_c.h:133
size_t len
Length of the string in bytes.
Definition: ntcore_c.h:146
Timestamped BooleanArray.
Definition: ntcore_c_types.h:686
NT_Bool * value
Value.
Definition: ntcore_c_types.h:700
size_t len
Value length.
Definition: ntcore_c_types.h:704
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:690
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:695
Timestamped Boolean.
Definition: ntcore_c_types.h:22
NT_Bool value
Value.
Definition: ntcore_c_types.h:36
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:26
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:31
Timestamped DoubleArray.
Definition: ntcore_c_types.h:1022
double * value
Value.
Definition: ntcore_c_types.h:1036
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:1026
size_t len
Value length.
Definition: ntcore_c_types.h:1040
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:1031
Timestamped Double.
Definition: ntcore_c_types.h:352
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:356
double value
Value.
Definition: ntcore_c_types.h:366
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:361
Timestamped FloatArray.
Definition: ntcore_c_types.h:910
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:919
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:914
size_t len
Value length.
Definition: ntcore_c_types.h:928
float * value
Value.
Definition: ntcore_c_types.h:924
Timestamped Float.
Definition: ntcore_c_types.h:242
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:251
float value
Value.
Definition: ntcore_c_types.h:256
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:246
Timestamped IntegerArray.
Definition: ntcore_c_types.h:798
size_t len
Value length.
Definition: ntcore_c_types.h:816
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:802
int64_t * value
Value.
Definition: ntcore_c_types.h:812
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:807
Timestamped Integer.
Definition: ntcore_c_types.h:132
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:136
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:141
int64_t value
Value.
Definition: ntcore_c_types.h:146
Timestamped Raw.
Definition: ntcore_c_types.h:574
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:583
size_t len
Value length.
Definition: ntcore_c_types.h:592
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:578
uint8_t * value
Value.
Definition: ntcore_c_types.h:588
Timestamped StringArray.
Definition: ntcore_c_types.h:1134
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:1138
struct NT_String * value
Value.
Definition: ntcore_c_types.h:1148
size_t len
Value length.
Definition: ntcore_c_types.h:1152
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:1143
Timestamped String.
Definition: ntcore_c_types.h:462
size_t len
Value length.
Definition: ntcore_c_types.h:480
int64_t serverTime
Time in server time base.
Definition: ntcore_c_types.h:471
char * value
Value.
Definition: ntcore_c_types.h:476
int64_t time
Time in local time base.
Definition: ntcore_c_types.h:466