12#ifndef O2_MCH_RAW_DECODER_PAGE_DECODER_H
13#define O2_MCH_RAW_DECODER_PAGE_DECODER_H
25using Page = gsl::span<const std::byte>;
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
gsl::span< const std::byte > RawBuffer
PageParser createPageParser()
std::function< void(Page buffer)> PageDecoder
gsl::span< const std::byte > Page
std::function< void(DsElecId dsId, DualSampaChannelId channel, SampaCluster)> SampaChannelHandler
std::function< std::optional< uint16_t >(FeeLinkId id)> FeeLink2SolarMapper
From (feeId,linkId) to solarId.
PageDecoder createPageDecoder(RawBuffer rdhBuffer, DecodedDataHandlers decodedDataHandlers)
will be called for each decoded Sampa packet and in case of decoding errors
std::function< void(RawBuffer buffer, PageDecoder pageDecoder)> PageParser