Qudi
Public Member Functions | Public Attributes | List of all members
core.module.Connector Class Reference

A connector where another module can be connected. More...

Public Member Functions

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.
 

Public Attributes

 name
 
 interface
 
 obj
 

Detailed Description

A connector where another module can be connected.

Constructor & Destructor Documentation

◆ __init__()

def core.module.Connector.__init__ (   self,
  name = None,
  interface = None 
)
Parameters
namename of the connector
interfaceinterface class or name of the interface for this connector

Member Function Documentation

◆ __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)

Disconnect connector.


The documentation for this class was generated from the following file: