GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TGRSIInterruptHandler Class Reference

Handles interruptions such as ctrl-c

Definition at line 110 of file TGRSIint.h.

Public Member Functions

 TGRSIInterruptHandler ()
 
bool Notify () override
 

#include <TGRSIint.h>

+ Inheritance diagram for TGRSIInterruptHandler:
+ Collaboration diagram for TGRSIInterruptHandler:

Constructor & Destructor Documentation

◆ TGRSIInterruptHandler()

TGRSIInterruptHandler::TGRSIInterruptHandler ( )
inline

Definition at line 112 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 726 of file TGRSIint.cxx.

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