We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd96b6f commit a23c980Copy full SHA for a23c980
src/PythonInterface.cxx
@@ -92,6 +92,17 @@ class BarChannel
92
93
// Note that the name given here to BOOST_PYTHON_MODULE must be the actual name of the shared object file this file is
94
// compiled into
95
+BOOST_PYTHON_MODULE(libO2ReadoutCard)
96
+{
97
+ using namespace boost::python;
98
+
99
+ class_<BarChannel>("BarChannel", init<std::string, int>(sInitDocString))
100
+ .def("register_read", &BarChannel::read, sRegisterReadDocString)
101
+ .def("register_write", &BarChannel::write, sRegisterWriteDocString)
102
+ .def("register_modify", &BarChannel::modify, sRegisterModifyDocString);
103
+}
104
105
+// Keep libReadoutCard for backward compatility for now
106
BOOST_PYTHON_MODULE(libReadoutCard)
107
{
108
using namespace boost::python;
0 commit comments