Project
Loading...
Searching...
No Matches
o2::mch::raw::PayloadDecoder< T > Class Template Reference

Decoder for MCH Raw Data Format. More...

#include <PayloadDecoder.h>

Public Member Functions

 PayloadDecoder (DecodedDataHandlers decodedDataHandlers)
 
size_t process (uint32_t orbit, Payload payload)
 

Detailed Description

template<typename T>
class o2::mch::raw::PayloadDecoder< T >

Decoder for MCH Raw Data Format.

Definition at line 38 of file PayloadDecoder.h.

Constructor & Destructor Documentation

◆ PayloadDecoder()

template<typename T >
o2::mch::raw::PayloadDecoder< T >::PayloadDecoder ( DecodedDataHandlers  decodedDataHandlers)

Constructs a decoder

Parameters
decodedDataHandlersdecodedDataHandlers a structure with various callable objects that will be called for each decoded Sampa packet and in case of decoding errors

Definition at line 56 of file PayloadDecoder.h.

Member Function Documentation

◆ process()

template<typename T >
size_t o2::mch::raw::PayloadDecoder< T >::process ( uint32_t  orbit,
Payload  payload 
)

decode the buffer (=payload only)

Returns
the number of bytes used from the buffer

Definition at line 62 of file PayloadDecoder.h.


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