예제 #1
0
void SimpleTaskProgress::update(const ofx::TaskFailedEventArgs& args)
{
    taskId = args.getTaskId();
    name = args.getTaskName();
    state = args.getState();
    errorMessage = args.getException().displayText();
}
예제 #2
0
파일: FileImporter.cpp 프로젝트: EQ4/Viza
void FileImporter::onTaskFailed(const ofx::TaskFailedEventArgs& args){taskProgress.erase(args.getTaskId());ofLogError("FileImporter","task failed");}