ezmsg.panel.replay#
Classes
|
|
|
|
|
- class ReplaySettings(data_dir, name='Message Replay')[source]#
Bases:
Settings- msg_rate_window = 2.0#
- class ReplayGUIState[source]#
Bases:
State-
message_rate:
Number#
-
file_selector:
FileSelector#
-
enqueue_button:
Button#
-
pause_toggle:
Toggle#
-
stop_button:
Button#
-
playback_file:
StaticText#
-
playback:
Progress#
-
rapid:
Checkbox#
-
rate:
FloatInput#
-
replay_status:
Optional[ReplayStatusMessage] = None#
-
message_rate:
- class ReplayGUI(*args, settings=None, **kwargs)[source]#
Bases:
Unit- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
ReplaySettings
- STATE#
alias of
ReplayGUIState
- INPUT_REPLAY_STATUS = InputStream:unlocated[<class 'ezmsg.util.messagereplay.ReplayStatusMessage'>]()#
- OUTPUT_FILE_REPLAY = OutputStream:unlocated[<class 'ezmsg.util.messagereplay.FileReplayMessage'>](self.num_buffers=32, self.force_tcp=False)#
- OUTPUT_STOP = OutputStream:unlocated[<class 'bool'>](self.num_buffers=32, self.force_tcp=False)#
- OUTPUT_PAUSE = OutputStream:unlocated[<class 'bool'>](self.num_buffers=32, self.force_tcp=False)#
- 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:
- async on_replay_status(msg)[source]#
- Return type:
- Parameters:
msg (ReplayStatusMessage)
- class Replay(*args, settings=None, **kwargs)[source]#
Bases:
Collection,Tab- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
ReplaySettings
- OUTPUT_MESSAGE = InputStream:unlocated[typing.Any]()#
- OUTPUT_REPLAY_STATUS = OutputStream:unlocated[<class 'ezmsg.util.messagereplay.ReplayStatusMessage'>](self.num_buffers=32, self.force_tcp=False)#
- GUI = <ezmsg.panel.replay.ReplayGUI object>#
- REPLAY = <ezmsg.util.messagereplay.MessageReplay 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.