Orion
high-rate readout
frontend.hpp
1 
5 #pragma once
6 
7 #include "itk/logger.hpp"
8 #include "itk/fec/frontend.hpp"
9 #include "itk/itkpix/chip.hpp"
10 
11 namespace itk::itkpix1 {
12 
13 using reg_t = uint16_t;
14 using fld_t = uint64_t;
15 
16 class FrontEnd : public itk::FrontEnd<Chip> {
17 public:
18 
19  struct Factory : itk::Factory<FrontEnd> {
20  virtual FrontEnd* operator()() = 0;
21  virtual FrontEnd* operator()(uint8_t chip_id, netio_tag_t tx_fid, netio_tag_t rx_fid = -1) = 0;
22  };
23 
24  // /// Properties
25  // virtual Commander* get_cmdr() = 0;
26  // virtual void set_cmdr(Commander* cmdr) = 0;
27 
28 }; // FrontEnd
29 
30 } // itk::itkpix
Templated implementation of Factory class.
Definition: factory.hpp:35
Interface definition for FrontEnd.
Definition: frontend.hpp:19
Definition: frontend.hpp:16
Logger definitions.
Definition: frontend.hpp:19