DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
component_request.cpp
Go to the documentation of this file.
1
10
11#include <pybind11/pybind11.h>
12#include <pybind11/stl.h>
13
14namespace py = pybind11;
15
16namespace dunedaq {
17namespace daqdataformats {
18namespace python {
19
20void
22{
23
24 py::class_<ComponentRequest>(m, "ComponentRequest")
25 .def(py::init())
26 .def(py::init<SourceID const&, timestamp_t const&, timestamp_t const&>())
27 .def_readonly_static("s_component_request_version", &ComponentRequest::s_component_request_version)
28 .def_readonly("unused", &ComponentRequest::unused)
29 .def_readonly("version", &ComponentRequest::version)
30 .def_readonly("window_begin", &ComponentRequest::window_begin)
31 .def_readonly("window_end", &ComponentRequest::window_end);
32}
33
34} // namespace python
35} // namespace daqdataformats
36} // namespace dunedaq
void register_component_request(py::module &m)
Including Qt Headers.
uint32_t unused
Padding to ensure 64b alignment // NOLINT(build/unsigned)
timestamp_t window_end
End of the data collection window.
static constexpr uint32_t s_component_request_version
The current version of the ComponentRequest.
uint32_t version
The version number of this ComponentRequest.
timestamp_t window_begin
Start of the data collection window.