Pottu
Classes | Namespaces | Enumerations | Functions
dataitem.hpp File Reference

Defines the raw low level dataitems used in tdr datastreams and files. More...

#include <cstdint>
#include <cinttypes>
#include <cstdio>
#include <cstring>
Include dependency graph for dataitem.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pottu::dataitem_type_t
 Dataitem used to read the itemtype_e. More...
 
struct  pottu::dataitem_data_t
 Dataitem used to read the dataitem of type itemtype_e::DATA. More...
 
struct  pottu::dataitem_info_t
 Dataitem used to read the dataitem of type itemtype_e::INFO. More...
 
struct  pottu::dataitem_tracehead_t
 Dataitem used to read the dataitem of type itemtype_e::TRACEHEAD. More...
 
struct  pottu::dataitem_tracedata_t
 Dataitem used to read the dataitem of type itemtype_e::tracedata. More...
 
union  pottu::dataitem_t
 Raw dataitem in tdr binary data. More...
 
struct  pottu::dataitem_ts_t
 Raw dataitem with full timestamp. More...
 

Namespaces

 pottu
 

Enumerations

enum class  pottu::itemtype_e : uint32_t { tracedata = 0 , tracehead = 1 , info = 2 , data = 3 }
 Enum to describe all possible types of a raw dataitem. More...
 
enum class  pottu::infocode_e : uint32_t {
  undef = 0 , pileup = 1 , pausets = 2 , resumets = 3 ,
  sync100ts = 4 , undef2 = 5 , discrdata = 6 , extendedts = 7 ,
  st_mbs_info = 8 , adc_overrange = 9 , adc_underrange = 10 , adc_overflow = 11 ,
  adc_underflow = 12 , trigger_seq = 13 , data_link_stat = 14 , sharc_link_num = 15
}
 Enum to describe all possible types of infovalue. More...
 

Functions

const char * pottu::rectypeToString (uint64_t type)
 Function to get a static string corresponding to dataitemtypes. More...
 

Detailed Description

Defines the raw low level dataitems used in tdr datastreams and files.