NT_GetTopicInfos

Function NT_GetTopicInfos 

Source
pub unsafe extern "C" fn NT_GetTopicInfos(
    inst: NT_Inst,
    prefix: *const WPI_String,
    types: u32,
    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: bitmask of NT_Type values; 0 is treated specially as a “don’t care”
  • count: output parameter; set to length of returned array

§Returns

Array of topic information.