MCPcopy Create free account
hub / github.com/AimRT/AimRT / ExportCore

Function ExportCore

src/runtime/python_runtime/export_core_runtime.h:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41inline 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

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected