ATLAS Offline Software
Loading...
Searching...
No Matches
VP1Prioritiser.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// //
7// Header file for class VP1Prioritiser //
8// //
9// Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10// //
11// Initial version: April 2007 //
12// //
14
15#ifndef VP1PRIORITISER_H
16#define VP1PRIORITISER_H
17
18#include <QObject>
19class IVP1System;
21
22class VP1Prioritiser : public QObject {
23
24 Q_OBJECT
25
26public:
27
28 VP1Prioritiser(QObject*parent);
29 virtual ~VP1Prioritiser();
30
31 double beginTiming_Refresh(IVP1System*);//Returns an estimate based on earlier measurements
32 double elapsedTiming_Refresh();
33 double endTiming_Refresh();//Returns timing
34
35 IVP1System* nextErasedActiveSystemByPriority();//Returns 0 if there are no systems with (ActiveState,State)==(ON,ERASED)
36 QList<IVP1System*> getSystemsToEraseByPriority();//Returns all systems in REFRESHED state - in prioritised order.
37
38 double estimateRemainingCalcTime() const;
39
40public Q_SLOTS:
41 void visibleChannelsChanged(const QSet<IVP1ChannelWidget*>&vis,const QSet<IVP1ChannelWidget*>&soonvis,const double& soonvisbonus);
44private:
45 class Imp;
48};
49
50#endif
virtual ~VP1Prioritiser()
void setupSysItr(IVP1ChannelWidget *cw)
double estimateRemainingCalcTime() const
double elapsedTiming_Refresh()
void visibleChannelsChanged(const QSet< IVP1ChannelWidget * > &vis, const QSet< IVP1ChannelWidget * > &soonvis, const double &soonvisbonus)
IVP1System * nextErasedActiveSystemByPriority()
double endTiming_Refresh()
QList< IVP1System * > getSystemsToEraseByPriority()
VP1Prioritiser(QObject *parent)
void channelCreated(IVP1ChannelWidget *)
double beginTiming_Refresh(IVP1System *)
void channelUncreated(IVP1ChannelWidget *)