LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_cpp.cpp
Go to the documentation of this file.
1#include "lasp_config.h"
2#include <pybind11/pybind11.h>
3
35namespace py = pybind11;
36
37void init_dsp(py::module &m);
38void init_deviceinfo(py::module &m);
39void init_daqconfiguration(py::module &m);
40void init_daq(py::module &m);
41void init_streammgr(py::module &m);
42void init_datahandler(py::module &m);
43void init_siggen(py::module &m);
44
45PYBIND11_MODULE(lasp_cpp, m) {
46
47 init_dsp(m);
50 init_daq(m);
53 init_siggen(m);
54
55 // We store the version number of the code via CMake, and create an
56 // attribute in the C++ code.
57 m.attr("__version__") = std::to_string(LASP_VERSION_MAJOR) + "." +
58 std::to_string(LASP_VERSION_MINOR);
59
60 m.attr("LASP_VERSION_MAJOR") = LASP_VERSION_MAJOR;
61 m.attr("LASP_VERSION_MINOR") = LASP_VERSION_MINOR;
62}
PYBIND11_MODULE(lasp_cpp, m)
Definition lasp_cpp.cpp:45
void init_dsp(py::module &m)
Initialize DSP code.
void init_datahandler(py::module &m)
void init_streammgr(py::module &m)
void init_daq(py::module &m)
Definition lasp_daq.cpp:9
void init_daqconfiguration(py::module &m)
void init_siggen(py::module &m)
Initialize Siggen wrappers.
void init_deviceinfo(py::module &m)