LCOV - code coverage report
Current view: top level - hermesmodules/pybindsrc - hermescorecontroller.cpp (source / functions) Coverage Total Hit
Test: code.result Lines: 0.0 % 12 0
Test Date: 2025-12-21 13:07:08 Functions: 0.0 % 1 0

            Line data    Source code
       1              : /**
       2              :  * @file renameme.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/operators.h"
      10              : #include "pybind11/pybind11.h"
      11              : #include "pybind11/stl.h"
      12              : 
      13              : #include <sstream>
      14              : 
      15              : #include "hermesmodules/HermesCoreController.hpp"
      16              : 
      17              : namespace py = pybind11;
      18              : using namespace pybind11::literals; 
      19              : 
      20              : 
      21              : namespace dunedaq::hermesmodules::python {
      22              : 
      23              : void
      24            0 : register_hermescorecontroller(py::module& m)
      25              : {
      26            0 :     py::class_<HermesCoreController>(m, "HermesCoreController")
      27            0 :     .def(py::init<uhal::HwInterface>())
      28              :     // .def("load_hw_info", &HermesCoreController::load_hw_info)
      29            0 :     .def("sel_tx_mux", &HermesCoreController::sel_tx_mux)
      30            0 :     .def("sel_tx_mux_buf", &HermesCoreController::sel_tx_mux_buf)
      31            0 :     .def("reset", &HermesCoreController::reset)
      32            0 :     .def("is_link_in_error", &HermesCoreController::is_link_in_error, "link"_a, "do_throw"_a = false)
      33            0 :     .def("enable", &HermesCoreController::enable)
      34            0 :     .def("config_mux", &HermesCoreController::config_mux)
      35            0 :     .def("config_udp", &HermesCoreController::config_udp)
      36            0 :     .def("config_fake_src", &HermesCoreController::config_fake_src)
      37              : 
      38              :       //.def("read_link_stats", &HermesCoreController::read_link_stats)  //opmon
      39              : 
      40              :     // .def("get_attribute",
      41              :     //      py::overload_cast<const std::string&>
      42              :     //      (&HDF5RawDataFile::get_attribute<std::string>),
      43              :     //      "Get attribute")
      44              :     ;
      45            0 : }
      46              : 
      47              : } // namespace dunedaq::hermesmodules::python
        

Generated by: LCOV version 2.0-1