PerforceDepotView::ResultsInfo PerforceDepotView::GetClientInfo() { // Get the client root from the perforce connection std::string cmd("info"); auto results = RunCommand(cmd); if (!results || results->hasErrors()) return ResultsInfo(); std::string output(results->output()); if (output.empty()) return ResultsInfo(); return ParseResults(output); }
void SegmentationManager::WantsProcessResults() { emit ProcessResults( ResultsInfo( GetInputImage(), GetOutputGeometry() ) ); }