# thermoeye/tmsdk architecture

> Architecture diagram of the GitHub repository thermoeye/tmsdk, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thermoeye/tmsdk
- Repository: https://github.com/thermoeye/tmsdk

## Overview

TmSDK is documented as a multi-language SDK for controlling TMC80/160/256/384 cameras. The supplied tree contains generated API-documentation assets, not the SDK runtime or examples, so this map shows the documented API surface and the browser documentation layer rather than asserting an unobserved camera-control implementation. The documented workflow is a developer consulting an API surface for camera operations and ROI handling. Camera discovery, frame handling, and model-specific controls are visible in the API documentation tree, but their runtime interactions are not established by the excerpts.

Main entry points: [`Document/API/Cpp/html`](https://github.com/thermoeye/tmsdk/tree/main/Document/API/Cpp/html) (C++ API), [`Document/API/Cpp/html/jquery.js`](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/jquery.js) (DOM Utilities), [`Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_roi_manager.js`](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_roi_manager.js) (ROI Management), [`Document/API/CSharp/html`](https://github.com/thermoeye/tmsdk/tree/main/Document/API/CSharp/html) (C# API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["SDK API Surface"]
  node_sdk["Camera SDK"]
  node_camera["Camera Control"]
  node_discovery["Camera Discovery"]
  node_frames["Frame Data"]
  node_roi["ROI Management"]
end

subgraph group_docs["API Documentation"]
  node_cppdocs["C++ API"]
  node_csharpdocs["C&#35; API"]
  node_pythondocs["Python API"]
  node_androiddocs["Android API"]
end

subgraph group_ui["Documentation UI"]
  node_jquery["DOM Utilities<br/>[jquery.js]"]
  node_navigation["API Navigation<br/>[navtree.js]"]
  node_menus["Documentation Menus<br/>[menu.js]"]
  node_search["API Search<br/>[search.js]"]
  node_searchdata["Search Index Config<br/>[searchdata.js]"]
end

node_developer(("SDK Developer"))

node_developer -->|"uses"| node_sdk
node_sdk -.->|"controls cameras"| node_camera
node_developer -.->|"consults"| node_cppdocs
node_developer -.->|"consults"| node_csharpdocs
node_developer -.->|"consults"| node_pythondocs
node_developer -.->|"consults"| node_androiddocs
node_cppdocs -.->|"documents"| node_camera
node_cppdocs -.->|"documents"| node_discovery
node_cppdocs -.->|"documents"| node_frames
node_cppdocs -->|"documents"| node_roi
node_csharpdocs -->|"documents"| node_roi
node_pythondocs -->|"documents"| node_roi
node_navigation -->|"navigates"| node_cppdocs
node_menus -->|"organizes"| node_cppdocs
node_search -->|"loads config"| node_searchdata
node_jquery -.->|"supports DOM"| node_navigation
node_jquery -.->|"supports DOM"| node_menus
node_jquery -.->|"supports DOM"| node_search

click node_camera "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_control.js"
click node_discovery "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_cam_info.js"
click node_frames "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_frame.js"
click node_roi "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_roi_manager.js"
click node_cppdocs "https://github.com/thermoeye/tmsdk/tree/main/Document/API/Cpp/html"
click node_csharpdocs "https://github.com/thermoeye/tmsdk/tree/main/Document/API/CSharp/html"
click node_pythondocs "https://github.com/thermoeye/tmsdk/tree/main/Document/API/Python/html"
click node_androiddocs "https://github.com/thermoeye/tmsdk/tree/main/Document/API/Android/scripts"
click node_jquery "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/jquery.js"
click node_navigation "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/navtree.js"
click node_menus "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/menu.js"
click node_search "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/search/search.js"
click node_searchdata "https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/search/searchdata.js"

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_sdk,node_camera,node_discovery,node_frames,node_roi toneBlue
class node_cppdocs,node_csharpdocs,node_pythondocs,node_androiddocs toneAmber
class node_jquery,node_navigation,node_menus,node_search,node_searchdata toneMint
class node_developer toneIndigo
```

## Components

### SDK API Surface

- **Camera SDK**
- [Camera Control](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_control.js): `Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_control.js`
- [Camera Discovery](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_cam_info.js): `Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_cam_info.js`
- [Frame Data](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_frame.js): `Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_frame.js`
- [ROI Management](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_roi_manager.js): `Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_roi_manager.js`

### API Documentation

- [C++ API](https://github.com/thermoeye/tmsdk/tree/main/Document/API/Cpp/html): `Document/API/Cpp/html`
- [C# API](https://github.com/thermoeye/tmsdk/tree/main/Document/API/CSharp/html): `Document/API/CSharp/html`
- [Python API](https://github.com/thermoeye/tmsdk/tree/main/Document/API/Python/html): `Document/API/Python/html`
- [Android API](https://github.com/thermoeye/tmsdk/tree/main/Document/API/Android/scripts): `Document/API/Android/scripts`

### Documentation UI

- [DOM Utilities](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/jquery.js): `Document/API/Cpp/html/jquery.js`
- [API Navigation](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/navtree.js): `Document/API/Cpp/html/navtree.js`
- [Documentation Menus](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/menu.js): `Document/API/Cpp/html/menu.js`
- [API Search](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/search/search.js): `Document/API/Cpp/html/search/search.js`
- [Search Index Config](https://github.com/thermoeye/tmsdk/blob/main/Document/API/Cpp/html/search/searchdata.js): `Document/API/Cpp/html/search/searchdata.js`

### Other components

- **SDK Developer**

## Connections

- SDK Developer → Camera SDK: uses (evidence: `README.md`)
- Camera SDK → Camera Control: controls cameras (evidence: `README.md`)
- SDK Developer → C++ API: consults (evidence: `README.md`)
- SDK Developer → C# API: consults (evidence: `README.md`)
- SDK Developer → Python API: consults (evidence: `README.md`)
- SDK Developer → Android API: consults (evidence: `README.md`)
- C++ API → Camera Control: documents
- C++ API → Camera Discovery: documents
- C++ API → Frame Data: documents
- C++ API → ROI Management: documents (evidence: `Document/API/Cpp/html/class_tm_s_d_k_1_1_tm_roi_manager.js`)
- C# API → ROI Management: documents (evidence: `Document/API/CSharp/html/class_tm_s_d_k_1_1_tm_roi_manager.js`)
- Python API → ROI Management: documents (evidence: `Document/API/Python/html/class_tm_core_1_1_tm_roi_1_1_tm_roi_manager.js`)
- API Navigation → C++ API: navigates (evidence: `Document/API/Cpp/html/navtree.js`)
- Documentation Menus → C++ API: organizes (evidence: `Document/API/Cpp/html/menu.js`)
- API Search → Search Index Config: loads config (evidence: `Document/API/Cpp/html/search/search.js`)
- DOM Utilities → API Navigation: supports DOM
- DOM Utilities → Documentation Menus: supports DOM
- DOM Utilities → API Search: supports DOM
