tin  1.5.9
tsm::policy::ShallowHistoryStorage< StateCount > Struct Template Reference

#include <policies.h>

Collaboration diagram for tsm::policy::ShallowHistoryStorage< StateCount >:
Collaboration graph

Public Member Functions

constexpr ShallowHistoryStorage ()
 
constexpr void clear ()
 
constexpr std::uint16_t get (std::uint16_t parent) const
 
constexpr void set (std::uint16_t parent, std::uint16_t child)
 

Public Attributes

std::array< std::uint16_t, StateCount > state {}
 

Constructor & Destructor Documentation

◆ ShallowHistoryStorage()

template<std::size_t StateCount>
constexpr tsm::policy::ShallowHistoryStorage< StateCount >::ShallowHistoryStorage ( )
inlineconstexpr

Member Function Documentation

◆ clear()

template<std::size_t StateCount>
constexpr void tsm::policy::ShallowHistoryStorage< StateCount >::clear ( )
inlineconstexpr

◆ get()

template<std::size_t StateCount>
constexpr std::uint16_t tsm::policy::ShallowHistoryStorage< StateCount >::get ( std::uint16_t  parent) const
inlineconstexpr

◆ set()

template<std::size_t StateCount>
constexpr void tsm::policy::ShallowHistoryStorage< StateCount >::set ( std::uint16_t  parent,
std::uint16_t  child 
)
inlineconstexpr

Member Data Documentation

◆ state

template<std::size_t StateCount>
std::array<std::uint16_t, StateCount> tsm::policy::ShallowHistoryStorage< StateCount >::state {}

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