tin  1.5.9
tsm::transport::event_io_message< MaxBytes > Struct Template Reference

#include <transport.h>

Collaboration diagram for tsm::transport::event_io_message< MaxBytes >:
Collaboration graph

Public Attributes

std::uint32_t channel_id {}
 
std::uint32_t source_id {}
 
std::uint32_t sequence {}
 
std::uint16_t event_id {}
 
bool valid { true }
 
payload_buffer< MaxBytes > payload {}
 

Detailed Description

template<std::size_t MaxBytes>
struct tsm::transport::event_io_message< MaxBytes >

External event I/O message handoff.

Event I/O is the generic ingress shape for events delivered by an external reactor, middleware callback, file descriptor, socket, or platform wait set. OS primitives such as epoll, kevent, FreeRTOS notifications, Zephyr polling, or bare-metal interrupt flags only indicate readiness. The adapter below turns the ready record into a typed HSM event and hands it to local dispatch or queue storage.

Member Data Documentation

◆ channel_id

template<std::size_t MaxBytes>
std::uint32_t tsm::transport::event_io_message< MaxBytes >::channel_id {}

◆ event_id

template<std::size_t MaxBytes>
std::uint16_t tsm::transport::event_io_message< MaxBytes >::event_id {}

◆ payload

template<std::size_t MaxBytes>
payload_buffer<MaxBytes> tsm::transport::event_io_message< MaxBytes >::payload {}

◆ sequence

template<std::size_t MaxBytes>
std::uint32_t tsm::transport::event_io_message< MaxBytes >::sequence {}

◆ source_id

template<std::size_t MaxBytes>
std::uint32_t tsm::transport::event_io_message< MaxBytes >::source_id {}

◆ valid

template<std::size_t MaxBytes>
bool tsm::transport::event_io_message< MaxBytes >::valid { true }

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