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

Constructor & Destructor Documentation

◆ DieTimer()

DieTimer::DieTimer ( CmsShowMain app)
inline

Definition at line 446 of file CmsShowMain.cc.

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

Member Function Documentation

◆ Notify()

Bool_t DieTimer::Notify ( )
inlineoverride

Definition at line 448 of file CmsShowMain.cc.

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

References CmsShowMain::doExit(), and fApp.

Member Data Documentation

◆ fApp

CmsShowMain* DieTimer::fApp
protected

Definition at line 443 of file CmsShowMain.cc.

Referenced by Notify().

DieTimer::fApp
CmsShowMain * fApp
Definition: CmsShowMain.cc:443
CmsShowMain::doExit
void doExit()
Definition: CmsShowMain.cc:458