| 353 | } |
| 354 | |
| 355 | std::string getGroupForClass(const std::string &class_name) { |
| 356 | std::lock_guard<std::mutex> lock(internal_mutex_); |
| 357 | auto factory_entry = class_to_group_.find(class_name); |
| 358 | if (factory_entry != class_to_group_.end()) { |
| 359 | return factory_entry->second; |
| 360 | } else { |
| 361 | return ""; |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * Instantiate object based on class_name |
no test coverage detected