libtcspc.EventType

class libtcspc.EventType[source]

Bases: ABC

Opaque marker for the type of events carried on a graph edge.

An EventType instance is a type tag, not a data carrier. Each concrete subclass corresponds to a C++ event type in namespace tcspc; an instance describes a particular instantiation of that C++ type (for example, parameterised by DataTypes) and is used by the codegen layer to determine the C++ types flowing on each graph edge.

EventType itself is abstract; instantiate one of its concrete subclasses. User-defined event types are not supported.