CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
DieTimer Class Reference
Inheritance diagram for DieTimer:

Public Member Functions

 DieTimer (CmsShowMain *app)
 
Bool_t Notify () override
 

Protected Attributes

CmsShowMainfApp
 

Detailed Description

Definition at line 439 of file CmsShowMain.cc.

Constructor & Destructor Documentation

◆ DieTimer()

DieTimer::DieTimer ( CmsShowMain app)
inline

Definition at line 444 of file CmsShowMain.cc.

444 : TTimer(), fApp(app) { Start(0, kTRUE); }

Member Function Documentation

◆ Notify()

Bool_t DieTimer::Notify ( )
inlineoverride

Definition at line 446 of file CmsShowMain.cc.

446  {
447  TurnOff();
448  fApp->doExit();
449  delete this;
450  return kFALSE;
451  }

References CmsShowMain::doExit(), and fApp.

Member Data Documentation

◆ fApp

CmsShowMain* DieTimer::fApp
protected

Definition at line 441 of file CmsShowMain.cc.

Referenced by Notify().

DieTimer::fApp
CmsShowMain * fApp
Definition: CmsShowMain.cc:441
CmsShowMain::doExit
void doExit()
Definition: CmsShowMain.cc:456