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 444 of file CmsShowMain.cc.

Constructor & Destructor Documentation

◆ DieTimer()

DieTimer::DieTimer ( CmsShowMain app)
inline

Definition at line 449 of file CmsShowMain.cc.

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

Member Function Documentation

◆ Notify()

Bool_t DieTimer::Notify ( )
inlineoverride

Definition at line 451 of file CmsShowMain.cc.

451  {
452  TurnOff();
453  fApp->doExit();
454  delete this;
455  return kFALSE;
456  }

References CmsShowMain::doExit(), and fApp.

Member Data Documentation

◆ fApp

CmsShowMain* DieTimer::fApp
protected

Definition at line 446 of file CmsShowMain.cc.

Referenced by Notify().

DieTimer::fApp
CmsShowMain * fApp
Definition: CmsShowMain.cc:446
CmsShowMain::doExit
void doExit()
Definition: CmsShowMain.cc:461