WPILibC++ 2023.4.3-108-ge5452e3
|
Functions | |
NT_MultiSubscriber | NT_SubscribeMultiple (NT_Inst inst, const struct NT_String *prefixes, size_t prefixes_len, const struct NT_PubSubOptions *options) |
Subscribes to multiple topics based on one or more topic name prefixes. More... | |
void | NT_UnsubscribeMultiple (NT_MultiSubscriber sub) |
Unsubscribes a multi-subscriber. More... | |
NT_MultiSubscriber NT_SubscribeMultiple | ( | NT_Inst | inst, |
const struct NT_String * | prefixes, | ||
size_t | prefixes_len, | ||
const struct NT_PubSubOptions * | options | ||
) |
Subscribes to multiple topics based on one or more topic name prefixes.
Can be used in combination with a Value Listener or ReadQueueValue() to get value changes across all matching topics.
inst | instance handle |
prefixes | topic name prefixes |
prefixes_len | number of elements in prefixes array |
options | subscriber options |
void NT_UnsubscribeMultiple | ( | NT_MultiSubscriber | sub | ) |
Unsubscribes a multi-subscriber.
sub | multi-subscriber handle |