
Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | is_connection |
| def | validate |
| def | get_enabled |
| def | get_sink |
| def | get_source |
| def | export_data |
Private Attributes | |
| _source | |
| _sink | |
Definition at line 29 of file Connection.py.
| def grc.elements.Connection.Connection.__init__ | ( | self, | ||
| flow_graph, | ||||
| porta, | ||||
| portb | ||||
| ) |
Make a new connection given the parent and 2 ports.
| flow_graph | the parent of this element | |
| porta | a port (any direction) | |
| portb | a port (any direction) |
| Error | cannot make connection |
Definition at line 31 of file Connection.py.
| def grc.elements.Connection.Connection.__str__ | ( | self | ) |
Definition at line 53 of file Connection.py.
| def grc.elements.Connection.Connection.is_connection | ( | self | ) |
| def grc.elements.Connection.Connection.validate | ( | self | ) |
Validate the connections. The ports must match in type.
Reimplemented from grc.elements.Element.Element.
Definition at line 57 of file Connection.py.
| def grc.elements.Connection.Connection.get_enabled | ( | self | ) |
Get the enabled state of this connection.
Definition at line 67 of file Connection.py.
| def grc.elements.Connection.Connection.get_sink | ( | self | ) |
Definition at line 78 of file Connection.py.
| def grc.elements.Connection.Connection.get_source | ( | self | ) |
Definition at line 79 of file Connection.py.
| def grc.elements.Connection.Connection.export_data | ( | self | ) |
Import/Export Methods
Export this connection's info. @return a nested data odict
Definition at line 84 of file Connection.py.
Definition at line 50 of file Connection.py.
grc.elements.Connection.Connection._sink [private] |
Definition at line 51 of file Connection.py.
1.5.4