#include <HistoDisplay.h>
Public Member Functions | |
| HistoDisplayUpdateTimer (HistoDisplay *histodisplay, Long_t msec=100, Bool_t mode=kTRUE) | |
| Bool_t | Notify () |
| void | SetCurrentPad (TVirtualPad *pad) |
| TVirtualPad * | GetCurrentPad () const |
Private Attributes | |
| HistoDisplay * | fHistoDisplay |
| TVirtualPad * | fCurrentPad |
|
||||||||||||||||
|
Definition at line 487 of file HistoDisplay.h. References fHistoDisplay. 00489 : TTimer( msec, mode ) { fHistoDisplay = histodisplay; }
|
|
|
Definition at line 496 of file HistoDisplay.h. 00497 { return fCurrentPad; }
|
|
|
Definition at line 3201 of file HistoDisplay.cxx. References HistoDisplay::AutoUpdate, fCurrentPad, fHistoDisplay, HistoDisplay::fHistoListTree, HistoDisplay::fPauseHistoButton, HistoDisplay::fRestartHistoButton, HistoDisplay::fSelectedItem, HistoDisplay::Running, and HistoDisplay::UpdateCanvas(). 03202 {
03203 //cout << " In HistoDisplayUpdateTimer::Notify " << endl;
03204 if ( this &&
03205 ( !fHistoDisplay->AutoUpdate ||
03206 !fHistoDisplay->Running ) ) {
03207
03208 fHistoDisplay->Running = kFALSE;
03209
03210 TurnOff(); // same as Remove();
03211
03212 fHistoDisplay->fPauseHistoButton->SetState( kButtonDisabled );
03213 fHistoDisplay->fRestartHistoButton->SetState( kButtonUp );
03214
03215 fHistoDisplay->fHistoListTree
03216 ->HighlightItem( fHistoDisplay->fSelectedItem );
03217 fHistoDisplay->fClient->NeedRedraw( fHistoDisplay->fHistoListTree );
03218
03219 //cout << "Update done" << endl << endl;
03220 cout << "Update stopped" << endl << endl;
03221 return kTRUE;
03222 } //if ( this &&
03223
03224 //fHistoDisplay->UpdateCanvas();
03225 fHistoDisplay->UpdateCanvas( fCurrentPad );
03226 Reset();
03227 return kFALSE;
03228
03229 }
|
|
|
Definition at line 493 of file HistoDisplay.h. References fCurrentPad. Referenced by HistoDisplay::UpdateTimerOn(). 00494 { fCurrentPad = pad; }
|
|
|
Definition at line 485 of file HistoDisplay.h. Referenced by Notify(), and SetCurrentPad(). |
|
|
Definition at line 484 of file HistoDisplay.h. Referenced by HistoDisplayUpdateTimer(), and Notify(). |
1.3.9.1