exopy.instruments.connections.base_connection module¶
Base classes to handle connection information edition.
Connection information are the information a user need to provide to open a connection to an instrument. The format of a connection does not depend on the architecture backend as any format discrepencies should be smoothed by the starter used to instantiate the driver.
-
class
exopy.instruments.connections.base_connection.BaseConnection(parent=None, **kwargs)[source]¶ Bases:
enaml.widgets.group_box.GroupBoxBase widget for creating a connection.
-
declaration¶ Reference to the declaration that created this object.
-
read_only¶ Whether or not to make the connection editable
-
-
class
exopy.instruments.connections.base_connection.Connection(parent=None, **kwargs)[source]¶ Bases:
enaml.core.declarative.DeclarativeA declarative class for contributing a connection.
Connection object can be contributed as extension children to the ‘connections’ extension point of the ‘exopy.instruments’ plugin.
-
id¶ Unique name used to identify the connection.
-
description¶ Connection description.
-