nineml.abstraction_layer.component.OutputEvent

class nineml.abstraction_layer.component.OutputEvent(port_name)

OutputEvent

OutputEvents can occur during transitions, and correspond to an event being generated on the relevant EventPort port in the component.

__init__(port_name)

OutputEvent Constructor

Parameters:port – The name of the output EventPort that should transmit an event. An EventPort with a mode of ‘send’ must exist with a corresponding name in the component, otherwise a NineMLRuntimeException will be raised.

Methods

__init__(port_name) OutputEvent Constructor
accept_visitor(visitor, **kwargs) link to something about visitation.

Attributes

port_name Returns the name of the port
accept_visitor(visitor, **kwargs)

link to something about visitation.

port_name

Returns the name of the port