# texasinstruments/ti-apps-launcher architecture

> Architecture diagram of the GitHub repository texasinstruments/ti-apps-launcher, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/texasinstruments/ti-apps-launcher
- Repository: https://github.com/texasinstruments/ti-apps-launcher

## Overview

TI Apps Launcher is a Qt/QML launcher and platform-demo application for TI boards. Its principal workflow is to start the Qt application, detect the device, configure QML-visible services, and load the launcher UI; users then open board-enabled apps or invoke device features such as camera streaming, Wi-Fi, benchmarks, and system statistics. The graph preserves the main UI and backend capability areas visible in the tree. Several QML pages and backend implementations were not excerpted, so their specific interactions are not asserted.

Main entry points: [`configs/platform.cpp`](https://github.com/texasinstruments/ti-apps-launcher/blob/master/configs/platform.cpp) (Platform setup), [`apps/appsmenu.qml`](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/appsmenu.qml) (App menu), [`ti-apps-launcher.cpp`](https://github.com/texasinstruments/ti-apps-launcher/blob/master/ti-apps-launcher.cpp) (Qt application), [`ti-apps-launcher.qml`](https://github.com/texasinstruments/ti-apps-launcher/blob/master/ti-apps-launcher.qml) (Launcher shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_launch["Launcher and platform"]
  node_main["Qt application"]
  node_platform["Platform setup<br/>[platform.cpp]"]
  node_profiles["Board profiles<br/>[config_common.h]"]
end

subgraph group_ui["QML application pages"]
  node_rootqml["Launcher shell"]
  node_appmenu["App menu<br/>[appsmenu.qml]"]
  node_settingsui["Settings page<br/>[settings.qml]"]
  node_cameraui["Camera pages<br/>[camera.qml]"]
  node_wifiui["Wi-Fi page<br/>[wifi.qml]"]
  node_benchmarkui["Benchmark pages<br/>[benchmarks.qml]"]
  node_analyticsui["Analytics page<br/>[arm_analytics.qml]"]
end

subgraph group_features["Device features"]
  node_appsbackend["Menu and device info<br/>[appsmenu.cpp]"]
  node_settings["Settings and commands<br/>[settings.cpp]"]
  node_camera["Camera and recording<br/>[camera.cpp]"]
  node_livecamera["Live camera<br/>[live_camera.cpp]"]
  node_wifi["Wi-Fi control<br/>[wifi.cpp]"]
  node_benchmarks["Benchmarks<br/>[benchmarks.cpp]"]
  node_gpu["GPU performance"]
  node_analytics["ARM analytics<br/>[arm_analytics.cpp]"]
end

subgraph group_monitor["System monitoring"]
  node_stats["Performance statistics<br/>[stats.cpp]"]
  node_perf["Hardware performance counters<br/>[perf_stats.cpp]"]
  node_topbar["Top bar<br/>[topbar.cpp]"]
end

node_user(("Device user"))

node_user -->|"uses"| node_rootqml
node_main -->|"configures"| node_platform
node_main -->|"loads"| node_rootqml
node_platform -->|"selects"| node_profiles
node_platform -->|"exposes"| node_camera
node_platform -->|"exposes"| node_livecamera
node_platform -->|"exposes"| node_settings
node_platform -->|"exposes"| node_wifi
node_platform -->|"exposes"| node_benchmarks
node_platform -->|"exposes"| node_gpu
node_platform -->|"exposes"| node_analytics
node_main -->|"exposes"| node_appsbackend
node_main -->|"exposes"| node_stats
node_main -->|"exposes"| node_topbar
node_stats -->|"reads"| node_perf
node_rootqml -.->|"includes"| node_appmenu
node_appmenu -.->|"opens"| node_cameraui
node_appmenu -.->|"opens"| node_wifiui
node_appmenu -.->|"opens"| node_settingsui
node_appmenu -.->|"opens"| node_benchmarkui
node_appmenu -.->|"opens"| node_analyticsui
node_cameraui -.->|"invokes"| node_camera
node_wifiui -.->|"invokes"| node_wifi
node_settingsui -.->|"invokes"| node_settings
node_benchmarkui -.->|"invokes"| node_benchmarks
node_analyticsui -.->|"invokes"| node_analytics

click node_main "https://github.com/texasinstruments/ti-apps-launcher/blob/master/ti-apps-launcher.cpp"
click node_platform "https://github.com/texasinstruments/ti-apps-launcher/blob/master/configs/platform.cpp"
click node_profiles "https://github.com/texasinstruments/ti-apps-launcher/blob/master/configs/config_common.h"
click node_rootqml "https://github.com/texasinstruments/ti-apps-launcher/blob/master/ti-apps-launcher.qml"
click node_appmenu "https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/appsmenu.qml"
click node_settingsui "https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/settings.qml"
click node_cameraui "https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/camera.qml"
click node_wifiui "https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/wifi.qml"
click node_benchmarkui "https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/benchmarks.qml"
click node_analyticsui "https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/arm_analytics.qml"
click node_appsbackend "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/appsmenu.cpp"
click node_settings "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/settings.cpp"
click node_camera "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/camera.cpp"
click node_livecamera "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/live_camera.cpp"
click node_wifi "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/wifi.cpp"
click node_benchmarks "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/benchmarks.cpp"
click node_gpu "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/gpu_performance.cpp"
click node_analytics "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/arm_analytics.cpp"
click node_stats "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/stats.cpp"
click node_perf "https://github.com/texasinstruments/ti-apps-launcher/blob/master/utils/perf_stats.cpp"
click node_topbar "https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/topbar.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_platform,node_profiles,node_user toneBlue
class node_rootqml,node_appmenu,node_settingsui,node_cameraui,node_wifiui,node_benchmarkui,node_analyticsui toneAmber
class node_appsbackend,node_settings,node_camera,node_livecamera,node_wifi,node_benchmarks,node_gpu,node_analytics toneMint
class node_stats,node_perf,node_topbar toneRose
```

## Components

### Launcher and platform

- [Qt application](https://github.com/texasinstruments/ti-apps-launcher/blob/master/ti-apps-launcher.cpp): `ti-apps-launcher.cpp`
- [Platform setup](https://github.com/texasinstruments/ti-apps-launcher/blob/master/configs/platform.cpp): `configs/platform.cpp`
- [Board profiles](https://github.com/texasinstruments/ti-apps-launcher/blob/master/configs/config_common.h): `configs/config_common.h`

### QML application pages

- [Launcher shell](https://github.com/texasinstruments/ti-apps-launcher/blob/master/ti-apps-launcher.qml): `ti-apps-launcher.qml`
- [App menu](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/appsmenu.qml): `apps/appsmenu.qml`
- [Settings page](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/settings.qml): `apps/settings.qml`
- [Camera pages](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/camera.qml): `apps/camera.qml`
- [Wi-Fi page](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/wifi.qml): `apps/wifi.qml`
- [Benchmark pages](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/benchmarks.qml): `apps/benchmarks.qml`
- [Analytics page](https://github.com/texasinstruments/ti-apps-launcher/blob/master/apps/arm_analytics.qml): `apps/arm_analytics.qml`

### Device features

- [Menu and device info](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/appsmenu.cpp): `backend/appsmenu.cpp`
- [Settings and commands](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/settings.cpp): `backend/settings.cpp`
- [Camera and recording](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/camera.cpp): `backend/camera.cpp`
- [Live camera](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/live_camera.cpp): `backend/live_camera.cpp`
- [Wi-Fi control](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/wifi.cpp): `backend/wifi.cpp`
- [Benchmarks](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/benchmarks.cpp): `backend/benchmarks.cpp`
- [GPU performance](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/gpu_performance.cpp): `backend/gpu_performance.cpp`
- [ARM analytics](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/arm_analytics.cpp): `backend/arm_analytics.cpp`

### System monitoring

- [Performance statistics](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/stats.cpp): `backend/stats.cpp`
- [Hardware performance counters](https://github.com/texasinstruments/ti-apps-launcher/blob/master/utils/perf_stats.cpp): `utils/perf_stats.cpp`
- [Top bar](https://github.com/texasinstruments/ti-apps-launcher/blob/master/backend/topbar.cpp): `backend/topbar.cpp`

### Other components

- **Device user**

## Connections

- Device user → Launcher shell: uses (evidence: `README.md`)
- Qt application → Platform setup: configures (evidence: `ti-apps-launcher.cpp`)
- Qt application → Launcher shell: loads (evidence: `ti-apps-launcher.cpp`)
- Platform setup → Board profiles: selects (evidence: `configs/platform.cpp`)
- Platform setup → Camera and recording: exposes (evidence: `configs/platform.cpp`)
- Platform setup → Live camera: exposes (evidence: `configs/platform.cpp`)
- Platform setup → Settings and commands: exposes (evidence: `configs/platform.cpp`)
- Platform setup → Wi-Fi control: exposes (evidence: `configs/platform.cpp`)
- Platform setup → Benchmarks: exposes (evidence: `configs/platform.cpp`)
- Platform setup → GPU performance: exposes (evidence: `configs/platform.cpp`)
- Platform setup → ARM analytics: exposes (evidence: `configs/platform.cpp`)
- Qt application → Menu and device info: exposes (evidence: `ti-apps-launcher.cpp`)
- Qt application → Performance statistics: exposes (evidence: `ti-apps-launcher.cpp`)
- Qt application → Top bar: exposes (evidence: `ti-apps-launcher.cpp`)
- Performance statistics → Hardware performance counters: reads (evidence: `backend/stats.cpp`)
- Launcher shell → App menu: includes
- App menu → Camera pages: opens
- App menu → Wi-Fi page: opens
- App menu → Settings page: opens
- App menu → Benchmark pages: opens
- App menu → Analytics page: opens
- Camera pages → Camera and recording: invokes
- Wi-Fi page → Wi-Fi control: invokes
- Settings page → Settings and commands: invokes
- Benchmark pages → Benchmarks: invokes
- Analytics page → ARM analytics: invokes
