A connector where another module can be connected.
More...
|
def | __init__ (self, name=None, interface=None) |
|
def | __call__ (self) |
| Return reference to the module that this connector is connected to. More...
|
|
def | connect (self, target) |
| Check if target is connectable this connector and connect. More...
|
|
def | disconnect (self) |
| Disconnect connector. More...
|
|
def | copy (self, kwargs) |
| Create a new instance of Connector with copied values and update.
|
|
A connector where another module can be connected.
◆ __init__()
def core.module.Connector.__init__ |
( |
|
self, |
|
|
|
name = None , |
|
|
|
interface = None |
|
) |
| |
- Parameters
-
name | name of the connector |
interface | interface class or name of the interface for this connector |
◆ __call__()
def core.module.Connector.__call__ |
( |
|
self | ) |
|
Return reference to the module that this connector is connected to.
◆ connect()
def core.module.Connector.connect |
( |
|
self, |
|
|
|
target |
|
) |
| |
Check if target is connectable this connector and connect.
◆ disconnect()
def core.module.Connector.disconnect |
( |
|
self | ) |
|
The documentation for this class was generated from the following file: