ezmsg.panel.recorder#
Classes
|
|
|
|
|
- class RecorderSettings(data_dir, name='Message Recorder', msg_rate_window=2.0, write_period=0.0)[source]#
Bases:
Settings
- class RecorderGUIState[source]#
Bases:
State-
message_rate:
Number#
-
file_selector:
FileSelector#
-
rec_dir:
TextInput#
-
rec_name:
TextInput#
-
rec_button:
Button#
-
stop_button:
Button#
-
rec_file:
StaticText#
-
rec_msgs:
Number#
-
message_rate:
- class RecorderGUI(*args, settings=None, **kwargs)[source]#
Bases:
Unit- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
RecorderSettings
- STATE#
alias of
RecorderGUIState
- INPUT_MESSAGE = InputStream:unlocated[typing.Any]()#
- OUTPUT_START = OutputStream:unlocated[<class 'pathlib.Path'>](self.num_buffers=32, self.force_tcp=False)#
- INPUT_START = InputStream:unlocated[<class 'pathlib.Path'>]()#
- OUTPUT_STOP = OutputStream:unlocated[<class 'pathlib.Path'>](self.num_buffers=32, self.force_tcp=False)#
- INPUT_STOP = InputStream:unlocated[<class 'pathlib.Path'>]()#
- async initialize()[source]#
Runs when the
Unitis instantiated. This is called from within the same process this unit will live. This lifecycle hook can be overridden. It can be run asasyncfunctions by simply adding theasynckeyword when overriding.- Return type:
- class Recorder(*args, settings=None, **kwargs)[source]#
Bases:
Collection,Tab- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
RecorderSettings
- INPUT_MESSAGE = InputStream:unlocated[typing.Any]()#
- GUI = <ezmsg.panel.recorder.RecorderGUI object>#
- LOGGER = <ezmsg.util.messagelogger.MessageLogger object>#
- configure()[source]#
A lifecycle hook that runs when the
Collectionis instantiated. This is the best place to callUnit.apply_settings()on each memberUnitof theCollection.- Return type:
- network()[source]#
Override this method and have the definition return a
NetworkDefinitionwhich defines howInputStreamandOutputStreamfrom memberUnits will be connected.