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