Orion
high-rate readout
chpmap.hpp
1 
7 struct RegMap {
8  struct Factory : itk::Factory<RegMap> {
9  virtual RegMap* operator()() = 0;
10  };
11 
12  typedef const Register& ref_t;
13  ref_t REG_LIST(PROC_NAME);
14 
15  RegMap(REG_LIST(PROC_REFT)) : REG_LIST(PROC_INIT) {}
16 };
17 
18 
20 struct FldMap {
21  struct Factory : itk::Factory<FldMap> {
22  virtual FldMap* operator()() = 0;
23  };
24 
25  typedef const Field& ref_t;
26  ref_t FLD_LIST(PROC_NAME);
27 
28  FldMap(FLD_LIST(PROC_REFT)) : FLD_LIST(PROC_INIT) {}
29 };
30 
31 #undef REG_LIST_SEP
32 #undef FLD_LIST_SEP
Templated implementation of Factory class.
Definition: factory.hpp:35
Definition: chpmap.hpp:21
FldMap class to contain all fields.
Definition: chpmap.hpp:20
Definition: chpmap.hpp:8
RegMap class to contain all registers.
Definition: chpmap.hpp:7