Definition at line 2156 of file RotorBrowser.h. References AddRelevantContexts(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetCenter(), IsRelevant(), mActiveContext, mBusyManaging, mContexts, mManageDepth, RepositionContexts(), and Impala::Visualization::RotorBrowser::RotorBrowserContext::SetDepth(). Referenced by ManageContexts(). 02157 { 02158 mBusyManaging = true; 02159 02160 // create lists of active contexts for the new position: 02161 RotorBrowserContextList newposition; 02162 02163 // erase current contexts but not active one, and not context "time": 02164 RotorBrowserContextList::iterator context; 02165 for (context=mContexts.begin(); context!=mContexts.end(); context++) 02166 { 02167 if ((*context)->GetName() == "time" || 02168 IsRelevant((*context)->GetThread(),mActiveContext->GetCenter())) 02169 { 02170 // context still relevant: keep 02171 newposition.push_back(*context); 02172 if (mManageDepth) 02173 (*context)->SetDepth(4); 02174 continue; 02175 } 02176 delete (*context); 02177 } 02178 mContexts.clear(); 02179 mContexts = newposition; // is this legal memory-wise? 02180 AddRelevantContexts(); 02181 02182 if (mManageDepth) 02183 mActiveContext->SetDepth(6); 02184 mBusyManaging = false; 02185 RepositionContexts(); 02186 }
Here is the call graph for this function:
|