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::daqdataformats::python {
15 :
16 : extern void
17 : register_sourceid(py::module&);
18 : extern void
19 : register_fragment(py::module&);
20 : extern void
21 : register_component_request(py::module&);
22 : extern void
23 : register_trigger_record(py::module&);
24 : extern void
25 : register_timeslice(py::module&);
26 :
27 0 : PYBIND11_MODULE(_daq_daqdataformats_py, m)
28 : {
29 :
30 0 : m.doc() = "c++ implementation of the dunedaq daqdataformats modules"; // optional module docstring
31 :
32 0 : register_sourceid(m);
33 0 : register_fragment(m);
34 0 : register_component_request(m);
35 0 : register_trigger_record(m);
36 0 : register_timeslice(m);
37 0 : }
38 :
39 : } // namespace dunedaq::daqdataformats::python
|