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

Function ExportCoreOptions

src/runtime/python_runtime/export_core_runtime.h:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace aimrt::runtime::python_runtime {
14
15inline void ExportCoreOptions(pybind11::object m) {
16 using aimrt::runtime::core::AimRTCore;
17
18 pybind11::class_<AimRTCore::Options>(std::move(m), "CoreOptions")
19 .def(pybind11::init<>())
20 .def_readwrite("cfg_file_path", &AimRTCore::Options::cfg_file_path);
21}
22
23inline void PyCoreStart(aimrt::runtime::core::AimRTCore& core) {
24 // Release GIL before blocking

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected