tin  1.5.9
tsm::transport::shared_memory_adapter< Serializer > Struct Template Reference

#include <transport.h>

Collaboration diagram for tsm::transport::shared_memory_adapter< Serializer >:
Collaboration graph

Static Public Member Functions

template<typename Runtime , std::size_t MaxBytes, std::size_t Capacity>
static status receive_one (Runtime &runtime, shared_memory_channel< serialized_event< MaxBytes >, Capacity > &channel)
 

Detailed Description

template<typename Serializer>
struct tsm::transport::shared_memory_adapter< Serializer >

Shared-memory ingress adapter for serialized event records.

The channel manages slot ownership only. This adapter reads one committed serialized record, asks the user serializer to recover the typed event, sends it through local runtime dispatch, then releases the slot. OS shared-memory mapping and wakeup primitives remain platform responsibilities around the channel.

Member Function Documentation

◆ receive_one()

template<typename Serializer >
template<typename Runtime , std::size_t MaxBytes, std::size_t Capacity>
static status tsm::transport::shared_memory_adapter< Serializer >::receive_one ( Runtime runtime,
shared_memory_channel< serialized_event< MaxBytes >, Capacity > &  channel 
)
inlinestatic

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