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

Method GetExecutor

src/runtime/core/executor/executor_proxy.h:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85 private:
86 const aimrt_executor_base_t* GetExecutor(aimrt_string_view_t executor_name) const {
87 auto finditr = executor_proxy_map_.find(aimrt::util::ToStdStringView(executor_name));
88 if (finditr != executor_proxy_map_.end()) return finditr->second->NativeHandle();
89
90 AIMRT_WARN("Can not find executor '{}'.", aimrt::util::ToStdStringView(executor_name));
91
92 return nullptr;
93 }
94
95 static aimrt_executor_manager_base_t GenBase(void* impl) {
96 return aimrt_executor_manager_base_t{

Callers 1

GenBaseMethod · 0.45

Calls 2

ToStdStringViewFunction · 0.85
NativeHandleMethod · 0.45

Tested by

no test coverage detected