Port¶
-
class
MonitorControl.
Port
(parent, name, source=None, signal=None)¶ Bases:
object
Class for a signal port in an Device.
- Public attributes::
name - unique identifier for the port source - a Port instances providing the signal(s) destinations - list of Port instances receiving the signal(s) signal - type of signal handled by this channel instance
Notes
When instantiation a Port, the Port should be provided with a ‘source’ attribute, though it is possible, but less obvious, to specify ‘source’ as None and give it a value later. The Port instantation code should then add itself to the upstream Port attribute ‘destinations’.
Methods Summary
base
()String representing the class instance type
Methods Documentation
-
base
()¶ String representing the class instance type