DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::tdemodules::python Namespace Reference

Functions

void register_amc (py::module &m)
 
 PYBIND11_MODULE (_daq_tdemodules_py, m)
 
void register_amc (pybind11::module &)
 

Function Documentation

◆ PYBIND11_MODULE()

dunedaq::tdemodules::python::PYBIND11_MODULE ( _daq_tdemodules_py ,
m  )

Definition at line 18 of file module.cpp.

19{
20
21 m.doc() = "C++ implementation of the tdemodules modules";
22
23 // You'd want to change renameme to the name of a function which
24 // you'd like to have a python binding to
25
26 register_amc(m);
27}
void register_amc(py::module &m)
Definition amc.cpp:19

◆ register_amc() [1/2]

void dunedaq::tdemodules::python::register_amc ( py::module & m)

Definition at line 19 of file amc.cpp.

19 {
20
21 py::class_<AMCController>(m, "AMCController")
22 .def(py::init<const std::string&, uint16_t>())
23 .def("card_status", &AMCController::card_status)
24 .def("card_reset", &AMCController::card_reset)
25 .def("card_start", &AMCController::card_start)
26 .def("card_stop", &AMCController::card_stop)
27 ;
28}

◆ register_amc() [2/2]

void dunedaq::tdemodules::python::register_amc ( pybind11::module & )