WPILibC++
2019.1.1-beta-2-36-g3d54642
|
Functions | |
void | NT_DisposeValue (struct NT_Value *value) |
Frees value memory. More... | |
void | NT_InitValue (struct NT_Value *value) |
Initializes a NT_Value. More... | |
void | NT_DisposeString (struct NT_String *str) |
Frees string memory. More... | |
void | NT_InitString (struct NT_String *str) |
Initializes a NT_String. More... | |
void | NT_DisposeEntryArray (NT_Entry *arr, size_t count) |
Disposes an entry handle array. More... | |
void | NT_DisposeConnectionInfoArray (struct NT_ConnectionInfo *arr, size_t count) |
Disposes a connection info array. More... | |
void | NT_DisposeEntryInfoArray (struct NT_EntryInfo *arr, size_t count) |
Disposes an entry info array. More... | |
void | NT_DisposeEntryInfo (struct NT_EntryInfo *info) |
Disposes a single entry info (as returned by NT_GetEntryInfoHandle). More... | |
void | NT_DisposeRpcDefinition (struct NT_RpcDefinition *def) |
Disposes a Rpc Definition structure. More... | |
void | NT_DisposeRpcAnswerArray (struct NT_RpcAnswer *arr, size_t count) |
Disposes a Rpc Answer array. More... | |
void | NT_DisposeRpcAnswer (struct NT_RpcAnswer *answer) |
Disposes a Rpc Answer structure. More... | |
void | NT_DisposeEntryNotificationArray (struct NT_EntryNotification *arr, size_t count) |
Disposes an entry notification array. More... | |
void | NT_DisposeEntryNotification (struct NT_EntryNotification *info) |
Disposes a single entry notification. More... | |
void | NT_DisposeConnectionNotificationArray (struct NT_ConnectionNotification *arr, size_t count) |
Disposes a connection notification array. More... | |
void | NT_DisposeConnectionNotification (struct NT_ConnectionNotification *info) |
Disposes a single connection notification. More... | |
void | NT_DisposeLogMessageArray (struct NT_LogMessage *arr, size_t count) |
Disposes a log message array. More... | |
void | NT_DisposeLogMessage (struct NT_LogMessage *info) |
Disposes a single log message. More... | |
uint64_t | NT_Now (void) |
Returns monotonic current time in 1 us increments. More... | |
void NT_DisposeConnectionInfoArray | ( | struct NT_ConnectionInfo * | arr, |
size_t | count | ||
) |
Disposes a connection info array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeConnectionNotification | ( | struct NT_ConnectionNotification * | info | ) |
Disposes a single connection notification.
info | pointer to the info to dispose |
void NT_DisposeConnectionNotificationArray | ( | struct NT_ConnectionNotification * | arr, |
size_t | count | ||
) |
Disposes a connection notification array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeEntryArray | ( | NT_Entry * | arr, |
size_t | count | ||
) |
Disposes an entry handle array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeEntryInfo | ( | struct NT_EntryInfo * | info | ) |
Disposes a single entry info (as returned by NT_GetEntryInfoHandle).
info | pointer to the info to dispose |
void NT_DisposeEntryInfoArray | ( | struct NT_EntryInfo * | arr, |
size_t | count | ||
) |
Disposes an entry info array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeEntryNotification | ( | struct NT_EntryNotification * | info | ) |
Disposes a single entry notification.
info | pointer to the info to dispose |
void NT_DisposeEntryNotificationArray | ( | struct NT_EntryNotification * | arr, |
size_t | count | ||
) |
Disposes an entry notification array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeLogMessage | ( | struct NT_LogMessage * | info | ) |
Disposes a single log message.
info | pointer to the info to dispose |
void NT_DisposeLogMessageArray | ( | struct NT_LogMessage * | arr, |
size_t | count | ||
) |
Disposes a log message array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeRpcAnswer | ( | struct NT_RpcAnswer * | answer | ) |
Disposes a Rpc Answer structure.
answer | pointer to the struct to dispose |
void NT_DisposeRpcAnswerArray | ( | struct NT_RpcAnswer * | arr, |
size_t | count | ||
) |
Disposes a Rpc Answer array.
arr | pointer to the array to dispose |
count | number of elements in the array |
void NT_DisposeRpcDefinition | ( | struct NT_RpcDefinition * | def | ) |
Disposes a Rpc Definition structure.
def | pointer to the struct to dispose |
void NT_DisposeString | ( | struct NT_String * | str | ) |
Frees string memory.
str | string to free |
void NT_DisposeValue | ( | struct NT_Value * | value | ) |
Frees value memory.
value | value to free |
void NT_InitString | ( | struct NT_String * | str | ) |
Initializes a NT_String.
Sets length to zero and pointer to null.
str | string to initialize |
void NT_InitValue | ( | struct NT_Value * | value | ) |
Initializes a NT_Value.
Sets type to NT_UNASSIGNED and clears rest of struct.
value | value to initialize |
uint64_t NT_Now | ( | void | ) |
Returns monotonic current time in 1 us increments.
This is the same time base used for entry and connection timestamps. This function is a compatibility wrapper around WPI_Now().