| 224 | } |
| 225 | |
| 226 | bool 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 |
no test coverage detected