exopy.measurement.engines.process_engine.engine_declaration module

Declaration of the ProcessEngine and workspace related contribution.

class exopy.measurement.engines.process_engine.engine_declaration.ProcFilter

Bases: atom.atom.Atom

Filter accepting or rejecting a log according to its process of origin.

filter(record)

Accept or reject a log according to its process of origin.

process_name

A value of type str.

Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.

The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.

reject_if_equal

A value of type bool.

class exopy.measurement.engines.process_engine.engine_declaration.ProcessEngine(parent=None, **kwargs)

Bases: exopy.measurement.engines.base_engine.Engine

Manifest contributing the ProcessEngine to the MeasurementPlugin.

clean_workspace
contribute_to_workspace
new
panel_name

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

class exopy.measurement.engines.process_engine.engine_declaration.SubprocessLogPanel(parent=None, **kwargs)

Bases: enaml.widgets.dock_item.DockItem

Log panel used to display the message coming from the subprocess.

model

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.