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

Function PyCoreRegisterModule

src/runtime/python_runtime/export_core_runtime.h:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30inline void PyCoreRegisterModule(
31 aimrt::runtime::core::AimRTCore& core, const aimrt::ModuleBase* module) {
32 AIMRT_HL_CHECK_ERROR_THROW(core.GetLogger(), module, "module is null!");
33 core.GetModuleManager().RegisterModule("core-py", module->NativeHandle());
34}
35
36inline aimrt::CoreRef PyCoreCreateModule(
37 aimrt::runtime::core::AimRTCore& core, std::string_view module_name) {

Callers

nothing calls this directly

Calls 3

GetLoggerMethod · 0.45
RegisterModuleMethod · 0.45
NativeHandleMethod · 0.45

Tested by

no test coverage detected