tin  1.5.9
tsm::runtime::storage Namespace Reference

Classes

struct  freertos_queue
 
struct  target_storage< Capacity, freertos_storage_tag >
 
class  fixed_ring_queue
 
struct  static_ring
 
struct  static_storage_tag
 
struct  freertos_storage_tag
 
struct  zephyr_storage_tag
 
struct  target_storage
 
struct  target_storage< Capacity, static_storage_tag >
 

Typedefs

using active_storage_tag = freertos_storage_tag
 
template<std::size_t Capacity>
using target_queue = typename target_storage< Capacity >::type
 

Typedef Documentation

◆ active_storage_tag

◆ target_queue

template<std::size_t Capacity>
using tsm::runtime::storage::target_queue = typedef typename target_storage<Capacity>::type

Platform-selectable queue storage.

Generic builds resolve this to static_ring<N>. Platform headers may specialize target_storage<N> after including this header, allowing the same runtime policy to use a FreeRTOS queue, Zephyr queue, or another target queue without changing topology names.