LOLA
readout_chain.h
Go to the documentation of this file.
1 #pragma once
2 #define CHIP_REVISION 3
4 #undef CHIP_REVISION
5 
7 
8 GENPYBIND(postamble)
9 GENPYBIND_MANUAL({
10  using namespace lola::vx::v3;
11  {
12  auto attr = parent.attr("ReadoutChain").attr("PadMux");
13  auto const to_str = [](ReadoutChain::PadMux const& self) {
14  std::stringstream ss;
15  ss << self;
16  return ss.str();
17  };
18  auto ism = parent->py::is_method(attr);
19  attr.attr("__str__") = parent->py::cpp_function(to_str, ism);
20  }
21  {
22  auto attr = parent.attr("ReadoutChain").attr("InputMux");
23  auto const to_str = [](ReadoutChain::InputMux const& self) {
24  std::stringstream ss;
25  ss << self;
26  return ss.str();
27  };
28  auto ism = parent->py::is_method(attr);
29  attr.attr("__str__") = parent->py::cpp_function(to_str, ism);
30  }
31  {
32  auto attr = parent.attr("ReadoutChain").attr("BufferToPad");
33  auto const to_str = [](ReadoutChain::BufferToPad const& self) {
34  std::stringstream ss;
35  ss << self;
36  return ss.str();
37  };
38  auto ism = parent->py::is_method(attr);
39  attr.attr("__str__") = parent->py::cpp_function(to_str, ism);
40  }
41 })
42 
43 } // lola::vx::v3
#define GENPYBIND_TAG_LOLA_VX_V3
Definition: genpybind.h:6
auto const to_str
Definition: readout_chain.h:41
attr("PadMux")