Updated: April 19, 2023 |
Get the type name of a topic
#include <pips/publication.h>
const char* pips_topic_get_type(pips_topic_t *const topic)
This function gets the type name of the current topic. The type name is unique to the topic's provider, but different providers may have a topic with the same type name but different implementations.
An immutable string containing the topic's type name. If the provider can't be retrieved, the function returns NULL and sets errno.