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

Function ExportModuleBase

src/runtime/python_runtime/export_module_base.h:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35inline void ExportModuleBase(pybind11::object m) {
36 pybind11::class_<ModuleBase, PyModuleBaseAdapter, std::shared_ptr<ModuleBase>>(std::move(m), "ModuleBase")
37 .def(pybind11::init<>())
38 .def("Info", &ModuleBase::Info)
39 .def("Initialize", &ModuleBase::Initialize)
40 .def("Start", &ModuleBase::Start)
41 .def("Shutdown", &ModuleBase::Shutdown);
42}
43
44} // namespace aimrt::runtime::python_runtime

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected