Definition at line 1073 of file RotorBrowser.h. References depth, Impala::Core::Trec::Thread::GetName(), GetThreadByName(), HasContext(), ILOG_DEBUG, mCache, mContexts, mInitialQueryPosition, RepositionContexts(), Impala::Visualization::RotorBrowser::RotorBrowserContext::SetSwallowMode(), Impala::Visualization::RotorBrowser::RotorBrowserContext::SetSwallowThread(), Impala::Visualization::RotorBrowser::RotorBrowserContext::SWALLOW_ALL, and UpdateViewsToContext(). Referenced by AddRelevantContexts(). 01075 { 01076 if (HasContext(thread->GetName())) 01077 { 01078 ILOG_DEBUG("RotorBrowser::AddContext(" << thread->GetName() << 01079 "): already exists. not added." ); 01080 return; 01081 } 01082 ILOG_DEBUG("RotorBrowser::AddContext(" << thread->GetName() << 01083 ", " << initialpos <<")" ); 01084 01085 if (thread->GetName() == "shots_initialquery") 01086 mInitialQueryPosition = -1; 01087 01088 RotorBrowserContext *add = 01089 new RotorBrowserContext(mCache,thread,initialpos,direction,depth); 01090 add->SetSwallowThread(GetThreadByName("virtual_hidden")); 01091 add->SetSwallowMode(RotorBrowserContext::SWALLOW_ALL); 01092 mContexts.push_back(add); 01093 01094 RepositionContexts(); 01095 UpdateViewsToContext(); 01096 }
Here is the call graph for this function:
|