DUECA/DUSIME
Loading...
Searching...
No Matches
Classes | Functions | Variables
ControlBlock.hxx File Reference

, definition of control information in ddff files More...

Include dependency graph for ControlBlock.hxx:

Classes

struct  ControlBlockRead
 Object to decode a control block. More...
 

Functions

void control_block_write (DDFFMessageBuffer::ptr_type buffer, uint16_t stream_id, unsigned buffer_num)
 Write a control block at the start of a message buffer.
 

Variables

const size_t control_block_size = 28
 Size of ddff control blocks.
 

Detailed Description

, definition of control information in ddff files

Each block has the following 28-byte header:

Function Documentation

◆ control_block_write()

void control_block_write ( DDFFMessageBuffer::ptr_type buffer,
uint16_t stream_id,
unsigned buffer_num )

Write a control block at the start of a message buffer.

Parameters
bufferBuffer where the block is written.
stream_idStream number.
buffer_numNumber of the buffer in the stream.