How operativef/oscar works
Main Components
a. Core Application Layer:
• Main application (oscar/main.cpp, mainwindow.cpp)
• User Interface components (*.ui files)
• Profile management (oscar/profileselect.cpp, profiles.cpp)
b. Data Processing Layer (SleepLib):
• Machine data loaders (oscar/SleepLib/loader_plugins/*)
• Data models (day.cpp, session.cpp, event.cpp)
• Calculations engine (calcs.cpp)
c. Visualization Layer:
• Graph components (oscar/Graphs/*)
• Statistics generation (statistics.cpp)
• Report generation (reports.cpp)
d. Support Systems:
• Translation system (Translations/*)
• Help system (help/*)
• Update mechanism (UpdaterWindow.cpp)
[User Interface Layer]
• Main Window
• Daily View
• Overview
• Statistics
• Reports
[Data Processing Layer]
• Machine Loaders
• PRS1 Loader
• ResMed Loader
• Other Device Loaders
• Data Models
• Profile
• Session
• Events
• Calculations Engine
[Visualization Layer]
• Graph Engine
• Line Charts
• Summary Charts
• Session Charts
• Report Generator
[Support Systems]
• Translation System
• Help System
• Update Manager
Data Flow Indicators
Following interactions:
• User input → UI Layer
• UI Layer → Data Processing Layer
• Data Processing → Visualization Layer
• Support Systems ↔ All Layers
Technical Details
• Qt5 dependency
• OpenGL usage for graphics
• Serial port communication for device data
• Multi-language support architecture
• Help system integration