Line data Source code
1 : /**
2 : * @file module.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 : namespace py = pybind11;
13 :
14 : namespace dunedaq::hermesmodules::python {
15 :
16 : extern void
17 : register_hermescorecontroller(py::module&);
18 :
19 0 : PYBIND11_MODULE(_daq_hermesmodules_py, m)
20 : {
21 :
22 0 : m.doc() = "C++ implementation of the hermesmodules modules";
23 :
24 : // You'd want to change renameme to the name of a function which
25 : // you'd like to have a python binding to
26 :
27 0 : register_hermescorecontroller(m);
28 0 : }
29 :
30 : } // namespace dunedaq::hermesmodules::python
|