NT_GetTopicInfosStr

Function NT_GetTopicInfosStr 

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

Get Topics.

Returns an array of topic information (handle, name, type). 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 information.