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

RotorView* Impala::Visualization::RotorBrowser::RotorViewCache::GetViewFor ( String  thread,
int  pos 
) [inline]

Definition at line 134 of file RotorViewCache.h.

References FindViewFor(), mListenerTarget, mMisses, mThreadSet, mUnusedViewCache, mWnd, Impala::Visualization::RotorBrowser::RotorView::SetViewListener(), Impala::Visualization::RotorBrowser::RotorView::Show(), and Impala::Visualization::RotorBrowser::RotorView::UpdateBookmarkState().

Referenced by Impala::Visualization::RotorBrowser::RotorBrowser::BookmarkActiveCenter(), Impala::Visualization::RotorBrowser::ThreadClusterSelector::ShowRelevantSquare(), and Impala::Visualization::RotorBrowser::RotorBrowserContext::UpdateViewsToContext().

00135     {
00136         RotorView *v = FindViewFor(thread, pos);
00137         if (v==NULL)
00138         {
00139             mMisses++;
00140             if (mUnusedViewCache.size() > 0)
00141                 v = new RotorView(mWnd,mThreadSet,thread,pos,0.0,0.0,this);
00142             else
00143                 v = new RotorView(mWnd,mThreadSet,thread,pos,0.0,0.0);
00144         }
00145         v->SetViewListener(mListenerTarget);
00146         v->Show();
00147         v->UpdateBookmarkState();
00148         return v;
00149     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:56:47 2010 for ImpalaSrc by  doxygen 1.5.1