| 39 | } |
| 40 | |
| 41 | inline void ExportCore(pybind11::object m) { |
| 42 | using aimrt::runtime::core::AimRTCore; |
| 43 | |
| 44 | pybind11::class_<AimRTCore>(std::move(m), "Core") |
| 45 | .def(pybind11::init<>()) |
| 46 | .def("Initialize", &AimRTCore::Initialize) |
| 47 | .def("Start", &PyCoreStart) |
| 48 | .def("Shutdown", &AimRTCore::Shutdown) |
| 49 | .def("RegisterModule", &PyCoreRegisterModule) |
| 50 | .def("CreateModule", &PyCoreCreateModule) |
| 51 | .def("GenInitializationReport", &AimRTCore::GenInitializationReport); |
| 52 | } |
| 53 | |
| 54 | } // namespace aimrt::runtime::python_runtime |