GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TGRSIInterruptHandler Class Reference

Detailed Description

Handles interruptions such as ctrl-c

Definition at line 114 of file TGRSIint.h.

Public Member Functions

 TGRSIInterruptHandler ()
 
bool Notify () override
 
+ Inheritance diagram for TGRSIInterruptHandler:
+ Collaboration diagram for TGRSIInterruptHandler:

Constructor & Destructor Documentation

◆ TGRSIInterruptHandler()

TGRSIInterruptHandler::TGRSIInterruptHandler ( )
inline

Definition at line 116 of file TGRSIint.h.

Member Function Documentation

◆ Notify()

bool TGRSIInterruptHandler::Notify ( )
override

When ctrl-c is pressed, this takes over. This can be used in the future for safe cleanup.

Definition at line 724 of file TGRSIint.cxx.

References StoppableThread::AnyThreadRunning(), BG_WHITE, StoppableThread::ClearAllQueues(), DRED, TGRSIint::instance(), RESET_COLOR, and TGRSIint::Terminate().