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

VideoSet* Impala::Application::Repository::GetVideoSet ( CmdOptions &  options,
bool  required,
bool  getSrcLoc = true 
)

Definition at line 166 of file mainRepository.cpp.

References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), GetVideoSet(), ILOG_ERROR, and ILOG_VAR.

Referenced by Impala::Application::IDash::ScreenReconstruction::CheckLoad(), and Impala::Application::IDash::ScreenPlay::PlayFileEvent().

00167 {
00168     ILOG_VAR(Impala.Application.Repository.GetVideoSet);
00169 
00170     int nrArg = 2;
00171     if (!getSrcLoc)
00172         nrArg++;
00173     if (options.GetNrArg() < nrArg)
00174     {
00175         ILOG_ERROR("Need at least " << nrArg << " parameters");
00176     }
00177     int a = 1;
00178     String locString = options.GetArg(a++);
00179     String setName = options.GetArg(a++);
00180     if (!getSrcLoc)
00181         locString = options.GetArg(a++);
00182     return GetVideoSet(locString, setName, required);
00183 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:44 2011 for ImpalaSrc by  doxygen 1.5.1