void SchedTestParam::getAllTasks() { vector<TaskParam>::iterator it; TaskParam taskParam(0,0,0,0,0,0,0); int i=0; while(!getTaskParam(&taskParam,startTaskPos+i)) { taskParams.push_back(taskParam); i++; } }
void LaunchTestParam::getAllTasks() { vector<TaskParam>::iterator it; unsigned taskParamPos = startTaskPos; TaskParam taskParam(0,0,0,0,0,0,0); int i=0; while(!getTaskParam(&taskParam,startTaskPos+i)) { taskParams.push_back(taskParam); i++; if (taskParam.tDuration > this->testing_duration) { this->testing_duration = taskParam.tDuration; } } }