artdaq_core_demo  v1_07_01
demo::AsciiFragment::Metadata Struct Reference

Metadata describing the contents of the AsciiFragment. More...

#include <artdaq-core-demo/Overlays/AsciiFragment.hh>

Public Types

typedef char data_t
 
typedef uint32_t chars_in_line_t
 Type used to represent the length in characters of the AsciiFragment data.
 

Public Attributes

chars_in_line_t charsInLine
 How many characters are in the data payload.
 

Static Public Attributes

static size_t const size_words = 4ul
 Size of the Metadata object, in units of Metadata::data_t.
 

Detailed Description

Metadata describing the contents of the AsciiFragment.

The AsciiFragment::Metadata struct is used to store information about the upstream environment from where the fragment came. In the case of AsciiFragment, this is simply a count of the characters in the data payload.

Definition at line 43 of file AsciiFragment.hh.

Member Typedef Documentation

 "data_t" is a typedef of the fundamental unit of data the

metadata structure thinks of itself as consisting of; it can give its size via the static "size_words" variable ( AsciiFragment::Metadata::size_words )

Definition at line 50 of file AsciiFragment.hh.


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