NT_SubscribeMultiple

Function NT_SubscribeMultiple 

Source
pub unsafe extern "C" fn NT_SubscribeMultiple(
    inst: NT_Inst,
    prefixes: *const WPI_String,
    prefixes_len: usize,
    options: *const NT_PubSubOptions,
) -> NT_MultiSubscriber
Expand description

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.

§Parameters

  • inst: instance handle
  • prefixes: topic name prefixes
  • prefixes_len: number of elements in prefixes array
  • options: subscriber options

§Returns

subscriber handle