C++ Sugar for Applets¶
caliper.hpp is an optional header-only C++20 layer with an Applet class, the CALIPER_APPLET macro and typed wrappers for the services.
| Field | Value |
|---|---|
| ID | COR-51 |
| Status | Shipped |
| Scope | Supporting |
| Pillar | Core Runtime and SDK |
| Sprint | None |
| Depends On | SDK Package (COR-04) |
| Unblocks | Fixture Host for Applet Tests (COR-52) |
| Docs | C++ Sugar, CALIPER_APPLET Macro |
| Branches | None |
| Design | None |
Coverage Ledger¶
- C++ Sugar, CALIPER_APPLET Macro. The CALIPER_APPLET macro and the caliper::Applet class replace the five extern C bridge functions and the hand-built descriptor.
- C++ Sugar, ui::connect Semantics. ui::connect binds an applet to the UI service contexts.
- C++ Sugar, Service Wrappers. Typed C++ wrappers Jobs, Metrics, Artifacts, Data, Bridge, Geometry, Export and Device over the C services.
- C++ Sugar, Full Source. The full caliper.hpp source.
- Development Basics, Applet Anatomy. The anatomy of an applet.
- First Applet. Your first applet builds Hello step by step with the manifest, the macro and the lifecycle.