|
tin
1.5.9
|
Small application composition helper for tsm runtimes. More...
#include <cstddef>#include <cstdint>#include <utility>#include "tsm/runtime/executor.h"#include "tsm/runtime/runtime.h"#include "tsm/ticks.h"

Go to the source code of this file.
Classes | |
| class | tsm::runtime::app< Definition, RuntimePolicy, Executor, TimerSlots > |
Namespaces | |
| tsm | |
| tsm::runtime | |
Typedefs | |
| template<typename Definition , typename RuntimePolicy , template< typename... > class Executor = runtime::cooperative_executor, std::size_t TimerSlots = 0U> | |
| using | tsm::app = runtime::app< Definition, RuntimePolicy, Executor, TimerSlots > |
Small application composition helper for tsm runtimes.
app owns one runtime and one executor. It is a convenience for examples and embedded applications that want an object representing the assembled machine plus its execution backend. It does not add HSM semantics.
The motivating pattern is an application shell: one object owns the runtime, the executor, optional delayed-event timers, and the context accessor used by drivers or tests. Larger systems can assemble the same pieces manually; app is intentionally only composition glue.