| 367 | } |
| 368 | |
| 369 | NodeOpsSelector* NodeOpsRegistry::FindSelector(const std::string& name) |
| 370 | { |
| 371 | if(registry.count(name) == 0) |
| 372 | return nullptr; |
| 373 | |
| 374 | return registry.at(name).get(); |
| 375 | } |
| 376 | |
| 377 | bool NodeOpsRegistry::RegisterSelector(NodeOpsSelector* selector) |
| 378 | { |
no test coverage detected