| 24 | } |
| 25 | |
| 26 | inline void ExportCoreRef(pybind11::object m) { |
| 27 | pybind11::class_<CoreRef>(std::move(m), "CoreRef") |
| 28 | .def(pybind11::init<>()) |
| 29 | .def("__bool__", &CoreRef::operator bool) |
| 30 | .def("Info", &CoreRef::Info) |
| 31 | .def("GetConfigurator", &CoreRef::GetConfigurator) |
| 32 | .def("GetLogger", &CoreRef::GetLogger) |
| 33 | .def("GetExecutorManager", &CoreRef::GetExecutorManager) |
| 34 | .def("GetRpcHandle", &CoreRef::GetRpcHandle) |
| 35 | .def("GetChannelHandle", &CoreRef::GetChannelHandle) |
| 36 | .def("GetParameterHandle", &CoreRef::GetParameterHandle); |
| 37 | } |
| 38 | |
| 39 | } // namespace aimrt::runtime::python_runtime |