// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #ifndef TGO4DISPLAYDRAWERTIMER_H #define TGO4DISPLAYDRAWERTIMER_H #include "TTimer.h" class TGo4Display; /** * timer which belongs to the Display, used instead of a thread to * avoid conflicts with the Qt GUI internal slots. This Timer acts * in between the data queue and the GUI, e.g. by drawing histograms * on a viewpanel or putting them into the GUI lists. */ class TGo4DisplayDrawerTimer : public TTimer { public: TGo4DisplayDrawerTimer(TGo4Display *display, Long_t msperiod = 3000); Bool_t Notify() override; private: TGo4Display *fxDisplay{nullptr}; //! }; #endif //TGO4DISPLAYDRAWERTIMER_H