Line data Source code
1 : /**
2 : * @file renameme.cpp
3 : *
4 : * This is part of the DUNE DAQ Software Suite, copyright 2020.
5 : * Licensing/copyright details are in the COPYING file that you should have
6 : * received with this code.
7 : */
8 :
9 : #include "pybind11/pybind11.h"
10 : #include "pybind11/stl.h"
11 :
12 : #include "tdemodules/AMCController.hpp"
13 :
14 : namespace py = pybind11;
15 :
16 : namespace dunedaq::tdemodules::python {
17 :
18 : void
19 0 : register_amc(py::module& m) {
20 :
21 0 : py::class_<AMCController>(m, "AMCController")
22 0 : .def(py::init<const std::string&, uint16_t>())
23 0 : .def("card_status", &AMCController::card_status)
24 0 : .def("card_reset", &AMCController::card_reset)
25 0 : .def("card_start", &AMCController::card_start)
26 0 : .def("card_stop", &AMCController::card_stop)
27 : ;
28 0 : }
29 :
30 : } // namespace dunedaq::tdemodules::python
|