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 : #include "confmodel/DaqApplication.hpp"
13 : #include "confmodel/HostComponent.hpp"
14 :
15 : namespace py = pybind11;
16 :
17 : namespace dunedaq::confmodel::python {
18 :
19 : extern void
20 : register_dal_methods(py::module&);
21 :
22 0 : PYBIND11_MODULE(_daq_confmodel_dal_py, m)
23 : {
24 :
25 0 : m.doc() = "C++ implementation of the confmodel modules";
26 : #if 0
27 : py::class_<dunedaq::confmodel::DaqApplication>(m,"DaqApplication")
28 : .def(py::init<conffwk::Configuration& , const conffwk::ConfigObject&>())
29 : .def("get_used_hostresources", &dunedaq::confmodel::DaqApplication::get_used_hostresources);
30 : py::class_<dunedaq::confmodel::HostComponent>(m,"HostComponent");
31 : #endif
32 0 : register_dal_methods(m);
33 0 : }
34 :
35 : } // namespace dunedaq::confmodel::python
|