Go to the documentation of this file. 1 #include <pybind11/pybind11.h> 6 namespace py = pybind11;
8 #define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME) PYBIND11_MODULE(plugin##PAYLOAD_TYPENAME##_PayloadInspector, m) 10 #define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME) \ 11 py::class_<CLASS_NAME, cond::payloadInspector::PlotBase>(m, EDM_STRINGIZE(EDM_CONCATENATE(plot_, CLASS_NAME))) \ 13 .def("process", &cond::payloadInspector::PlotBase::process) \ 14 .def("payloadType", &cond::payloadInspector::PlotBase::payloadType) \ 15 .def("title", &cond::payloadInspector::PlotBase::title) \ 16 .def("isSingleIov", &cond::payloadInspector::PlotBase::isSingleIov) \ 17 .def("isTwoTags", &cond::payloadInspector::PlotBase::isTwoTags) \ 18 .def("data", &cond::payloadInspector::PlotBase::data);