CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
DieTimer Class Reference
Inheritance diagram for DieTimer:

Public Member Functions

 DieTimer (CmsShowMain *app)
 
virtual Bool_t Notify () override
 

Protected Attributes

CmsShowMainfApp
 

Detailed Description

Definition at line 413 of file CmsShowMain.cc.

Constructor & Destructor Documentation

DieTimer::DieTimer ( CmsShowMain app)
inline

Definition at line 418 of file CmsShowMain.cc.

418  : TTimer(), fApp(app)
419  {
420  Start(0, kTRUE);
421  }
CmsShowMain * fApp
Definition: CmsShowMain.cc:416

Member Function Documentation

virtual Bool_t DieTimer::Notify ( )
inlineoverridevirtual

Definition at line 423 of file CmsShowMain.cc.

References CmsShowMain::doExit(), and fApp.

424  {
425  TurnOff();
426  fApp->doExit();
427  delete this;
428  return kFALSE;
429  }
CmsShowMain * fApp
Definition: CmsShowMain.cc:416
void doExit()
Definition: CmsShowMain.cc:437

Member Data Documentation

CmsShowMain* DieTimer::fApp
protected

Definition at line 416 of file CmsShowMain.cc.

Referenced by Notify().