ezmsg.tools.proc#

Classes

class EZProcManager(graph_ip, graph_port, buf_dur=3.0)[source]#

Bases: object

Manages the subprocess that runs an ezmsg pipeline comprising a single ShMemCircBuff unit connected to a pipeline. The unit must be parameterized with the correct shared memory name. We do not actually interact with the shared memory in this class. See .mirror.EzmsgShmMirror.

Parameters:
__init__(graph_ip, graph_port, buf_dur=3.0)[source]#
Parameters:
Return type:

None

property node_path: str#
property conn: Connection | None#
reset(node_path)[source]#
Parameters:

node_path (str | None)

Return type:

None

cleanup()[source]#
class EzMonitorProcess(settings, topic, address=None)[source]#

Bases: Process

Parameters:
__init__(settings, topic, address=None)[source]#
Parameters:
Return type:

None

run()[source]#

Method to be run in sub-process; can be overridden in sub-class

Return type:

None

class EzMonitorProcess(settings, topic, address=None)[source]#

Bases: Process

Parameters:
__init__(settings, topic, address=None)[source]#
Parameters:
Return type:

None

run()[source]#

Method to be run in sub-process; can be overridden in sub-class

Return type:

None

class EZProcManager(graph_ip, graph_port, buf_dur=3.0)[source]#

Bases: object

Manages the subprocess that runs an ezmsg pipeline comprising a single ShMemCircBuff unit connected to a pipeline. The unit must be parameterized with the correct shared memory name. We do not actually interact with the shared memory in this class. See .mirror.EzmsgShmMirror.

Parameters:
__init__(graph_ip, graph_port, buf_dur=3.0)[source]#
Parameters:
Return type:

None

property node_path: str#
property conn: Connection | None#
reset(node_path)[source]#
Parameters:

node_path (str | None)

Return type:

None

cleanup()[source]#