tin  1.5.9
tsm::task_def< Entry, Options > Struct Template Reference

#include <coroutine.h>

Collaboration diagram for tsm::task_def< Entry, Options >:
Collaboration graph

Static Public Attributes

static constexpr auto entry = Entry
 
static constexpr std::size_t instances
 
static constexpr std::size_t frame_bytes
 
static constexpr std::uint8_t priority
 

Member Data Documentation

◆ entry

template<auto Entry, typename... Options>
constexpr auto tsm::task_def< Entry, Options >::entry = Entry
staticconstexpr

A task definition is a compile-time declaration of how many identical coroutine instances exist and how much frame storage each may consume.

◆ frame_bytes

template<auto Entry, typename... Options>
constexpr std::size_t tsm::task_def< Entry, Options >::frame_bytes
staticconstexpr
Initial value:
=
consteval std::size_t selected_frame_bytes()
Definition: coroutine.h:1100

◆ instances

template<auto Entry, typename... Options>
constexpr std::size_t tsm::task_def< Entry, Options >::instances
staticconstexpr
Initial value:
=
consteval std::size_t selected_instances()
Definition: coroutine.h:1080

◆ priority

template<auto Entry, typename... Options>
constexpr std::uint8_t tsm::task_def< Entry, Options >::priority
staticconstexpr
Initial value:
=
consteval std::uint8_t selected_priority()
Definition: coroutine.h:1120

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