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

Constructor & Destructor Documentation

DieTimer::DieTimer ( CmsShowMain app)
inline

Definition at line 382 of file CmsShowMain.cc.

382  : TTimer(), fApp(app)
383  {
384  Start(0, kTRUE);
385  }
CmsShowMain * fApp
Definition: CmsShowMain.cc:380

Member Function Documentation

virtual Bool_t DieTimer::Notify ( )
inlineoverridevirtual

Definition at line 387 of file CmsShowMain.cc.

References CmsShowMain::doExit(), and fApp.

388  {
389  TurnOff();
390  fApp->doExit();
391  delete this;
392  return kFALSE;
393  }
CmsShowMain * fApp
Definition: CmsShowMain.cc:380
void doExit()
Definition: CmsShowMain.cc:401

Member Data Documentation

CmsShowMain* DieTimer::fApp
protected

Definition at line 380 of file CmsShowMain.cc.

Referenced by Notify().