12 #include "cmd-itkpix/unigoe/decoder.hpp"
14 namespace itk::itkpix::cmd::unigoe {
16 using namespace itk::itkpix::cmd;
21 using CommandCallback = T;
24 : decoder(std::nullopt, &cb) {}
27 : decoder(chip_id, &cb) {}
29 inline void reset() { decoder.reset(); }
31 inline void decode(uint16_t frame) { decoder.decode_single(frame); }
33 inline void decode(
const std::span<const uint16_t> frames) {
34 for (
auto frame : frames) decode(frame);
37 inline void decode(uint16_t* frames,
size_t size) {
38 decode({ frames,
size });
41 TTCDecoderSMGen<CommandCallback> decoder;
47 namespace itk::itkpix::cmd {
55 static_assert(concepts::CommandDecoder<CommandDecoder>);
Dummy command decoder implementation.
Definition: cmddecoder.hpp:26
Command callback interface for ITkPix.
Definition: cmdcallback.hpp:20
Dummy CommandDecoder implementation.
Templates for ITkPix emulator.
Templates for ITkPix emulator.