NT_GetTopicsStr

Function NT_GetTopicsStr 

Source
pub unsafe extern "C" fn NT_GetTopicsStr(
    inst: NT_Inst,
    prefix: *const WPI_String,
    types: *const WPI_String,
    types_len: usize,
    count: *mut usize,
) -> *mut NT_Topic
Expand description

Get Published Topic Handles.

Returns an array of topic handles. The results are optionally filtered by string prefix and type to only return a subset of all topics.

§Parameters

  • inst: instance handle
  • prefix: name required prefix; only topics whose name starts with this string are returned
  • types: array of type strings
  • types_len: number of elements in types array
  • count: output parameter; set to length of returned array

§Returns

Array of topic handles.