DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Protected Attributes
hadaq::HadTu Struct Reference

HADES transport unit header. More...

#include <hadaq/defines.h>

Inheritance diagram for hadaq::HadTu:
hadaq::HadTuId hadaq::RawEvent hadaq::RawSubevent

Public Member Functions

uint32_t GetDecoding () const
 
uint32_t GetPaddedSize () const
 
uint32_t GetSize () const
 
 HadTu ()
 
bool IsSwapped () const
 msb of decode word is always non zero...? More...
 
void SetDecoding (uint32_t decod)
 
void SetDecodingDirect (uint32_t dec)
 
void SetSize (uint32_t bytes)
 
void SetValue (uint32_t *member, uint32_t val)
 swapsave method to set value stolen from hadtu.h More...
 
uint32_t Value (const uint32_t *member) const
 

Protected Attributes

uint32_t tuDecoding
 
uint32_t tuSize
 

Detailed Description

HADES transport unit header.

used as base for event and subevent also common envelope for trd network data packets

Definition at line 138 of file defines.h.

Constructor & Destructor Documentation

◆ HadTu()

hadaq::HadTu::HadTu ( )
inline

Definition at line 145 of file defines.h.

Member Function Documentation

◆ IsSwapped()

bool hadaq::HadTu::IsSwapped ( ) const
inline

msb of decode word is always non zero...?

Definition at line 148 of file defines.h.

◆ SetDecodingDirect()

void hadaq::HadTu::SetDecodingDirect ( uint32_t  dec)
inline

Definition at line 150 of file defines.h.

◆ Value()

uint32_t hadaq::HadTu::Value ( const uint32_t *  member) const
inline

Definition at line 152 of file defines.h.

◆ SetValue()

void hadaq::HadTu::SetValue ( uint32_t *  member,
uint32_t  val 
)
inline

swapsave method to set value stolen from hadtu.h

Definition at line 166 of file defines.h.

◆ GetDecoding()

uint32_t hadaq::HadTu::GetDecoding ( ) const
inline

Definition at line 181 of file defines.h.

◆ GetSize()

uint32_t hadaq::HadTu::GetSize ( ) const
inline

Definition at line 182 of file defines.h.

◆ GetPaddedSize()

uint32_t hadaq::HadTu::GetPaddedSize ( ) const
inline

Definition at line 184 of file defines.h.

◆ SetSize()

void hadaq::HadTu::SetSize ( uint32_t  bytes)
inline

Definition at line 191 of file defines.h.

◆ SetDecoding()

void hadaq::HadTu::SetDecoding ( uint32_t  decod)
inline

Definition at line 193 of file defines.h.

Field Documentation

◆ tuSize

uint32_t hadaq::HadTu::tuSize
protected

Definition at line 140 of file defines.h.

◆ tuDecoding

uint32_t hadaq::HadTu::tuDecoding
protected

Definition at line 141 of file defines.h.


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