MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / GetTargetBusRelations

Method GetTargetBusRelations

src/plugin/bus/src/AFCBusModule.cpp:226–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool AFCBusModule::GetTargetBusRelations(std::vector<ARK_APP_TYPE>& target_list)
227{
228 AFBusAddr bus_addr(GetSelfBusID());
229 auto iter = app_config_.connection_relations.find(static_cast<ARK_APP_TYPE>(bus_addr.app_type));
230 if (iter != app_config_.connection_relations.end())
231 {
232 target_list = iter->second;
233 }
234
235 return true;
236}
237
238} // namespace ark

Callers 1

HealthCheckMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected