Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::VideoJob::Manager::CreateMoreStageJobs ( VideoJob job  )  [inline, private]

Definition at line 516 of file Manager.h.

References Impala::Job::State::CREATED, ILOG_ERROR, Impala::Core::VideoJob::Data::VideoMeta::jobs, Impala::Core::VideoJob::Data::mAllJobs, Impala::Core::VideoJob::Data::mCountOfWaitingJobs, mCurrentStage, mData, and Impala::Core::VideoJob::Data::mVideos.

Referenced by JobDone().

00517     {
00518         if (!job->isIndiv)
00519             ILOG_ERROR("Stage " << mCurrentStage <<
00520                        " is not individual and can contain only one step");
00521 
00522         VideoMeta& video = mData.mVideos[job->videoNr];
00523         VideoJob* newJob = new VideoJob;
00524         newJob->stepNr = job->stepNr + 1;
00525         newJob->videoNr = job->videoNr;
00526         newJob->videoNrCompact = job->videoNrCompact;
00527         newJob->isIndiv = true;
00528         newJob->state = Job::State::CREATED;
00529         video.jobs.push_back(newJob);
00530 
00531         mData.mAllJobs.push_back(newJob);
00532         mData.mCountOfWaitingJobs++;
00533     }


Generated on Thu Jan 13 09:21:41 2011 for ImpalaSrc by  doxygen 1.5.1