Storyboard Extension
Ahsoka.Extensions.Storyboard connects an OpenPV application to a user interface built in Crank Storyboard. Storyboard Designer owns the look and the interaction; your application owns the data and the business logic. The two meet over SBIO, Storyboard's named-channel event transport.
Unlike most OpenPV extensions, this one is not a service you talk to. It is two things that run at different times: a code generator that turns your Storyboard project's event definitions into typed model classes during Generate, and a client that carries those events between your application and the Storyboard engine at runtime.
Table of Contents
The Two Halves
| Design time | Runtime | |
|---|---|---|
| What runs | StoryboardCodeGenerator, during Generate and packaging |
StoryboardClient, inside your application |
| Input | events/custom.evt in the Storyboard project |
Events arriving on SBIO channels |
| Output | GeneratedStoryboardObjects.cs (or .h/.cpp) |
Model objects your code reads and writes |
| Configured by | StoryboardConfiguration.json |
The channels you add to the client |
The link between them is the event definition. An event declared in Storyboard Designer becomes a generated class with one property per field; setting a property writes into the message buffer, and sending the message puts it on the wire. Rename an event in Designer and the generated class name changes with it — which is the point, because a mismatch becomes a compile error rather than a UI that silently stops updating.
Where the Pieces Run
flowchart LR
subgraph design ["Design time"]
gde["Storyboard Designer<br/>.gde model"]
evt["events/custom.evt"]
gen["Code generation"]
gde --> evt --> gen
end
subgraph device ["OpenView display"]
app["Your application"]
client["StoryboardClient"]
sbio{{"SBIO channels"}}
engine["sbengine<br/>Storyboard Engine"]
panel["Display"]
app --- client
client <--> sbio
sbio <--> engine
engine --> panel
end
gen -.->|"generated model classes"| app
gde -.->|"exported .gapp"| engine
The engine is a separate process. Your application never draws anything and never links against the rendering stack — it sends an event saying the coolant temperature is 94, and the screen reacts because someone wired that event to a gauge in Designer.
Events, Not Widgets
An application talks to Storyboard in terms of events, and each event travels one way:
| Direction | Meaning | Type in custom.evt |
|---|---|---|
| Out | Your application tells the UI something — a new value, a state change | 0x40 |
| In | The UI tells your application something — a button press, a slider move | 0x20 |
There is no shared object graph, no data binding across the process boundary, and no way to ask the engine what it is currently showing. If your application needs to know the UI's state, it has to have been told.
What Is Supported
Platform. Storyboard runs on every OpenView display, but the display's rendering stack changes how an engine instance is bound to a screen:
| Platform family | Displays | Surface binding |
|---|---|---|
OpenView Pro / Flex (OpenViewLinuxPro) |
Up to three | ivi_application — the surface id is used directly |
OpenView Select (OpenViewLinux) |
One | xdg_shell — the surface id is resolved to an app id |
Driving more than one display is a Pro/Flex capability. See Driving Multiple Displays.
Languages. C# and C++ applications are both supported, and code generation emits model objects for either. See C++ Integration.
Licensing. A package that ships to a device must include a Storyboard Runtime licence. Packaging fails without one. Desktop development does not require it.
Tooling. Crank Storyboard Designer and a Storyboard Engine build are installed separately and are not redistributed by this extension — the project points at your local install. Read Supported & Not Supported before building against anything.
Where to Go Next
| If you want to | Read |
|---|---|
| Get a UI on screen quickly | Getting Started |
| Understand channels, events, and the engine process | Core Concepts |
Fill in StoryboardConfiguration.json |
Configuration Reference |
| Add or change an event | Events & the SBIO Format String |
| Know what code generation produces | Generated Model Objects |
| Start and stop the client correctly | Client Lifecycle |
| Put something on a second screen | Driving Multiple Displays |
| Do this from C++ | C++ Integration |
| Work out why nothing is happening | Troubleshooting |
| Decode an acronym | Glossary |
Note
These documents ship inside the Ahsoka.Extensions.Storyboard package, so what you are reading
always matches the package version installed in your project.