12 namespace itk::itkpix::endec {
23 virtual void reset() = 0;
25 virtual void decode(
EventCallback& cb, std::span<const uint8_t> buff, uint8_t pos = 0) = 0;
27 virtual void decode(
EventCallback& cb, std::span<const uint64_t> buff, uint8_t pos = 0) = 0;
30 virtual void set_options(
const Options& opt) = 0;
31 virtual uint64_t get_status() = 0;
32 virtual void set_status(uint64_t
status) = 0;
57 maker.func = []() ->
auto {
return new T(); };
58 maker.func_opt = [](
Options opt) ->
auto {
return new T(opt); };
62 std::function<intf::Decoder<intf::EventCallback>* ()> func;
63 std::function<intf::Decoder<intf::EventCallback>* (
Options opt)> func_opt;
Definition: test_enc_dec.cpp:117
Definition: decoder.hpp:17
Implementation for ITkPix Decoder.
Common encoder/decoder options.
Definition: options.hpp:10
Constructor for Decoder.
Definition: decoder.hpp:41
auto operator()()
Constructor.
Definition: decoder.hpp:45
auto operator()(Options opt)
Constructor.
Definition: decoder.hpp:50
static Decoder make()
Create Decoder maker.
Definition: decoder.hpp:55