tin  1.5.9
tsm::policy::ShallowHistory Struct Reference

#include <policies.h>

Collaboration diagram for tsm::policy::ShallowHistory:
Collaboration graph

Public Types

template<std::size_t StateCount>
using storage = ShallowHistoryStorage< StateCount >
 

Static Public Attributes

static constexpr const char * name = "shallow-history"
 

Detailed Description

History policy backed by numeric state IDs.

History storage records the last active child for each composite state. The array is indexed by compile-time state IDs, so the runtime does not need names or dynamic maps.

Member Typedef Documentation

◆ storage

template<std::size_t StateCount>
using tsm::policy::ShallowHistory::storage = ShallowHistoryStorage<StateCount>

Member Data Documentation

◆ name

constexpr const char* tsm::policy::ShallowHistory::name = "shallow-history"
staticconstexpr

The documentation for this struct was generated from the following file: