Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::Stream::Metadata Struct Reference

Stream metadata, often cast to StreamHandle. More...

Public Attributes

uint64_t protocol
 stream protocol
 
RingBuffer< uint8_t > * data
 stream data
 
NodeHandle nodeHandle
 node we are communicating with
 
size_t size
 max buffer size
 
size_t count
 count received before proceed required
 
State state
 Stream state.
 
uint8_t srcID
 unique source ID
 
uint8_t dstID
 unique destination ID
 

Detailed Description

Stream metadata, often cast to StreamHandle.

Definition at line 154 of file Stream.hxx.

Member Data Documentation

◆ count

size_t openlcb::Stream::Metadata::count

count received before proceed required

Definition at line 161 of file Stream.hxx.

◆ data

RingBuffer<uint8_t>* openlcb::Stream::Metadata::data

stream data

Definition at line 157 of file Stream.hxx.

◆ dstID

uint8_t openlcb::Stream::Metadata::dstID

unique destination ID

Definition at line 164 of file Stream.hxx.

◆ nodeHandle

NodeHandle openlcb::Stream::Metadata::nodeHandle

node we are communicating with

Definition at line 158 of file Stream.hxx.

◆ protocol

uint64_t openlcb::Stream::Metadata::protocol

stream protocol

Definition at line 156 of file Stream.hxx.

◆ size

size_t openlcb::Stream::Metadata::size

max buffer size

Definition at line 160 of file Stream.hxx.

◆ srcID

uint8_t openlcb::Stream::Metadata::srcID

unique source ID

Definition at line 163 of file Stream.hxx.

◆ state

State openlcb::Stream::Metadata::state

Stream state.

Definition at line 162 of file Stream.hxx.


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