Topic

class compas_eve.Topic[source]

Bases: object

A topic is like a mailbox where messages can be sent and received.

Topics are described by a name, a type of message they accept, and a set of options.

Attributes:
namestr

Name of the topic.

message_typetype

Class defining the message structure. Use Message for a generic, non-typed checked message implementation. Defaults to Message.

optionsdict

A dictionary of options.