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

void Impala::Visualization::AppController::AddControl ( AppControl ctr,
bool  forceCurrent = false 
) [inline]

Definition at line 30 of file AppControllerAlt.h.

References Impala::Visualization::AppControl::GetAlwaysActive(), Impala::Visualization::AppControl::GetControlId(), ILOG_DEBUG, mControls, mCurControl, and Impala::Visualization::AppControl::SetActive().

00031     {
00032         int ctrId = ctr->GetControlId();
00033         ILOG_DEBUG("AddControl: id = " << ctr->GetControlId() <<
00034                    ", always active = " << ctr->GetAlwaysActive());
00035         mControls.push_back(ctr);
00036         if (!mCurControl || forceCurrent)
00037         {
00038             mCurControl = ctr;
00039             mCurControl->SetActive(true);
00040         }
00041     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:42:41 2010 for ImpalaSrc by  doxygen 1.5.1