|
WPILibC++
2020.3.2
|
Functions | |
| NT_Bool | NT_SetEntryBoolean (NT_Entry entry, uint64_t time, NT_Bool v_boolean, NT_Bool force) |
| Set Entry Boolean Sets an entry boolean. More... | |
| NT_Bool | NT_SetEntryDouble (NT_Entry entry, uint64_t time, double v_double, NT_Bool force) |
| Set Entry Double Sets an entry double. More... | |
| NT_Bool | NT_SetEntryString (NT_Entry entry, uint64_t time, const char *str, size_t str_len, NT_Bool force) |
| Set Entry String Sets an entry string. More... | |
| NT_Bool | NT_SetEntryRaw (NT_Entry entry, uint64_t time, const char *raw, size_t raw_len, NT_Bool force) |
| Set Entry Raw Sets the raw value of an entry. More... | |
| NT_Bool | NT_SetEntryBooleanArray (NT_Entry entry, uint64_t time, const int *arr, size_t size, NT_Bool force) |
| Set Entry Boolean Array Sets an entry boolean array. More... | |
| NT_Bool | NT_SetEntryDoubleArray (NT_Entry entry, uint64_t time, const double *arr, size_t size, NT_Bool force) |
| Set Entry Double Array Sets an entry double array. More... | |
| NT_Bool | NT_SetEntryStringArray (NT_Entry entry, uint64_t time, const struct NT_String *arr, size_t size, NT_Bool force) |
| Set Entry String Array Sets an entry string array. More... | |
Set Entry Boolean Sets an entry boolean.
If the entry name is not currently assigned to a boolean, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| v_boolean | boolean value to set |
| force | 1 to force the entry to get overwritten, otherwise 0 |
| NT_Bool NT_SetEntryBooleanArray | ( | NT_Entry | entry, |
| uint64_t | time, | ||
| const int * | arr, | ||
| size_t | size, | ||
| NT_Bool | force | ||
| ) |
Set Entry Boolean Array Sets an entry boolean array.
If the entry name is not currently assigned to a boolean array, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| arr | boolean array to write |
| size | number of elements in the array |
| force | 1 to force the entry to get overwritten, otherwise 0 |
Set Entry Double Sets an entry double.
If the entry name is not currently assigned to a double, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| v_double | double value to set |
| force | 1 to force the entry to get overwritten, otherwise 0 |
| NT_Bool NT_SetEntryDoubleArray | ( | NT_Entry | entry, |
| uint64_t | time, | ||
| const double * | arr, | ||
| size_t | size, | ||
| NT_Bool | force | ||
| ) |
Set Entry Double Array Sets an entry double array.
If the entry name is not currently assigned to a double array, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| arr | double array to write |
| size | number of elements in the array |
| force | 1 to force the entry to get overwritten, otherwise 0 |
| NT_Bool NT_SetEntryRaw | ( | NT_Entry | entry, |
| uint64_t | time, | ||
| const char * | raw, | ||
| size_t | raw_len, | ||
| NT_Bool | force | ||
| ) |
Set Entry Raw Sets the raw value of an entry.
If the entry name is not currently assigned to a raw value, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| raw | raw string to set (UTF-8 string) |
| raw_len | length of raw string to write in bytes |
| force | 1 to force the entry to get overwritten, otherwise 0 |
| NT_Bool NT_SetEntryString | ( | NT_Entry | entry, |
| uint64_t | time, | ||
| const char * | str, | ||
| size_t | str_len, | ||
| NT_Bool | force | ||
| ) |
Set Entry String Sets an entry string.
If the entry name is not currently assigned to a string, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| str | string to set (UTF-8 string) |
| str_len | length of string to write in bytes |
| force | 1 to force the entry to get overwritten, otherwise 0 |
| NT_Bool NT_SetEntryStringArray | ( | NT_Entry | entry, |
| uint64_t | time, | ||
| const struct NT_String * | arr, | ||
| size_t | size, | ||
| NT_Bool | force | ||
| ) |
Set Entry String Array Sets an entry string array.
If the entry name is not currently assigned to a string array, returns error unless the force parameter is set.
| entry | entry handle |
| time | timestamp |
| arr | NT_String array to write |
| size | number of elements in the array |
| force | 1 to force the entry to get overwritten, otherwise 0 |