Namespace MOSAIC.Services
Classes
BlockStatusTimer
Refreshes all block statuses on the UI thread every 250 ms.
PipelineSession
Owns all blocks independently of their visible cards or groups. UI callers serialize edits. Reload, deletion and shutdown use the same asynchronous resource-release path.
PopoutHelper
Pops any UserControl out into a standalone window. Only available on Desktop (Windows/macOS/Linux).
Usage from a ViewModel command or code-behind:
PopoutHelper.TryPopout(myVisualizationPanel, "EMG Monitor", 800, 500);
The control is removed from its current parent, placed in the new window, and returned to its original parent when the window closes.
RecentFile
Represents a recent file entry
RecentFilesService
Service for managing recent files list
RecordingService
Holds the one folder every recording block writes into, so a path is chosen once per machine instead of once per block.
RecordingService.Settings
Shape persisted to disk. Kept separate from the service so the file stays additive.
StorageFilePickerService
Avalonia-backed implementation of IFilePickerService. Resolves the Avalonia.Platform.Storage.IStorageProvider lazily from the application's main window on each call, avoiding the chicken-and-egg problem during DI registration.
VisualizationTimer
Shared timer service for all visualization components. Supports multiple tick rates (30fps, 60fps) with automatic start/stop.
VisualizationTimer.TimerGroup
Interfaces
IFilePickerService
Abstracts file picker dialogs so ViewModels can open file browsers
without depending on Avalonia's IStorageProvider or TopLevel.
Enums
VisualizationTimer.TickRate
Standard tick rates supported by the timer.