phoenix_title wx.lib.pubsub.core.topicmgr

Code related to the concept of topic tree and its management: creating and removing topics, getting info about a particular topic, etc.

copyright

Copyright since 2006 by Oliver Schoenborn, all rights reserved.

license

BSD, see LICENSE_BSD_Simple.txt for details.

function_summary Functions Summary

validateNameHierarchy

Check that names in topicTuple are valid: no spaces, not empty.


class_summary Classes Summary

_MasterTopicDefnProvider

Stores a list of topic definition providers. When queried for a topic

TopicManager

Manages the registry of all topics and creation/deletion


Functions



validateNameHierarchy(topicTuple)

Check that names in topicTuple are valid: no spaces, not empty. Raise ValueError if fails check. E.g. (‘’,) and (‘a’,’ ‘) would both fail, but (‘a’,’b’) would be ok.