aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArFeatures.py39
1 files changed, 6 insertions, 33 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index b77cd7f..cabac94 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -1693,44 +1693,18 @@ class ArContext(DataFeatures.PipelineStepObject):
self._pause_event.clear()
-
class LiveProcessingContext(ArContext):
"""
Defines abstract live data processing context.
"""
- def calibrate(self):
- """Launch device calibration process."""
-
- raise NotImplementedError
-
- def calibration_status(self) -> str:
- """Get device calibration status."""
-
- raise NotImplementedError
-
- def start_recording(self):
- """Start device data recording."""
-
- raise NotImplementedError
-
- def stop_recording(self):
- """Stop device data recording."""
-
- raise NotImplementedError
-
- def pause_recording(self):
- """Pause device data recording."""
-
- raise NotImplementedError
-
- def cancel_recording(self):
- """Cancel device data recording."""
+ @DataFeatures.PipelineStepInit
+ def __init__(self, **kwargs):
- raise NotImplementedError
+ super().__init__()
- def recording_status(self) -> str:
- """Get device recording status."""
+ def calibrate(self):
+ """Launch device calibration process."""
raise NotImplementedError
@@ -1769,8 +1743,7 @@ class PostProcessingContext(ArContext):
Get pipeline image with post processing information.
Parameters:
- draw_times: draw pipeline execution times
- draw_exceptions: draw pipeline exception messages
+ draw_progression: draw progress bar
"""
logging.debug('PostProcessingContext.image %s', self.name)