SDK Templates
ApiGear provides a collection of SDK templates that transform your API definitions into production-ready code for various programming languages and platforms.
Each template generates clean interfaces, data structures, and build system support based on your API modules. Templates can be configured with different features and scale with your project as you add more API modules.
Available Templates
C++17
Modern C++17 SDK with CMake and Conan support. Generates abstract interfaces, data structures, and full build infrastructure.
Features: API interfaces, scaffolding, OLink protocol, MQTT support, monitoring
C++14
C++14 compliant SDK for projects requiring older compiler support. Currently in maintenance mode.
Features: API interfaces, scaffolding, CMake, Conan, test support
Qt6
Qt6/QML SDK generating CMake-based libraries and QtQuick plugins. Ideal for Qt-based desktop and embedded applications.
Features: API interfaces, scaffolding, QML integration, OLink protocol, monitoring
Unreal Engine
Unreal Engine 5 SDK generating Blueprints and C++ classes. Perfect for game development and interactive applications.
Features: API interfaces, scaffolding, Blueprint support, OLink protocol, monitoring
Python
Python SDK generating modules with clean interfaces and type hints. Suitable for backend services and scripting.
Features: API interfaces, scaffolding, test support, OLink protocol
Template Features
All templates support common features that can be enabled or disabled:
| Feature | Description |
|---|---|
| API | Generates interface definitions and data structures |
| Scaffold | Creates a complete project with build system and tests |
| OLink | Enables remote object communication protocol |
| MQTT | Adds MQTT messaging support (select templates) |
| Monitor | Integrates with ApiGear monitoring tools |
Getting Started
- Define your API using the ObjectAPI format
- Create a solution file specifying your template
- Run the code generator using CLI or Studio
- Follow the generated README for build and integration instructions