![]() |
SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
|
Public Member Functions | |
| __init__ (self) | |
| None | graceful_shutdown (self) |
| None | handle_redis_pubsub (self, MetricsCollectorConfig config) |
| None | handle_logs (self) |
| None | handle_redis_command_queue (self, MetricsCollectorConfig config) |
| None | keyboard_monitor (self) |
| int | run (self) |
Public Attributes | |
| physiology_client = None | |
| MetricsCollector | collector = None |
| bool | recording = False |
| bool | continue_running = True |
| list | tasks = [] |
| int | message_count = 0 |
Application that collects metrics from Redis and controls the physiology server.
| None redis_ipc_metrics_saving_client.MetricsSavingApp.graceful_shutdown | ( | self | ) |
Clean shutdown of all resources.
| None redis_ipc_metrics_saving_client.MetricsSavingApp.handle_logs | ( | self | ) |
Handle log streaming via gRPC.
| None redis_ipc_metrics_saving_client.MetricsSavingApp.handle_redis_command_queue | ( | self, | |
| MetricsCollectorConfig | config ) |
Monitor Redis command queue for UI commands (async).
| None redis_ipc_metrics_saving_client.MetricsSavingApp.handle_redis_pubsub | ( | self, | |
| MetricsCollectorConfig | config ) |
Handle Redis pub/sub messages and feed them to the collector.
| None redis_ipc_metrics_saving_client.MetricsSavingApp.keyboard_monitor | ( | self | ) |
Monitor for keyboard input.
| int redis_ipc_metrics_saving_client.MetricsSavingApp.run | ( | self | ) |
Main entry point.