12 #ifndef CTKTOPICREGISTRY_H
13 #define CTKTOPICREGISTRY_H
39 const QObject *
owner(
const QString topic)
const;
bool registerTopic(const QString topic, const QObject *owner)
Register a new topic.
void shutdown()
Destroy the singleton instance. To be called at the end of the application.
bool isTopicRegistered(const QString topic) const
Check if a topic is present in the topic hash.
const QObject * owner(const QString topic) const
Return the owner of a topic.
void dump()
Dump of the topic hash.
bool unregisterTopic(const QString topic)
Unregister a topic.
static ctkTopicRegistry * instance()
Return an instance of the event bus.