| 734 | } |
| 735 | |
| 736 | bool ResourceMgr::check_stop() |
| 737 | { |
| 738 | if (!need_to_stop_) { |
| 739 | return true; |
| 740 | } |
| 741 | |
| 742 | if (running()) { |
| 743 | LogError << "stopping, ignore new post"; |
| 744 | return false; |
| 745 | } |
| 746 | |
| 747 | need_to_stop_ = false; |
| 748 | return true; |
| 749 | } |
| 750 | |
| 751 | std::optional<json::object> ResourceMgr::get_default_recognition_param(const std::string& reco_type) const |
| 752 | { |
nothing calls this directly
no outgoing calls
no test coverage detected