#include <VP1AvailEvents.h>
Definition at line 25 of file VP1AvailEvents.h.
◆ VP1AvailEvents()
VP1AvailEvents::VP1AvailEvents |
( |
int |
timeCutForNew, |
|
|
QString |
tmpdir, |
|
|
int |
maxLocalFilesToKeep = -1 , |
|
|
QObject * |
parent = 0 |
|
) |
| |
◆ ~VP1AvailEvents()
VP1AvailEvents::~VP1AvailEvents |
( |
| ) |
|
|
virtual |
◆ actualCheckForEventListChanges
void VP1AvailEvents::actualCheckForEventListChanges |
( |
| ) |
|
|
privateslot |
◆ actualCleanup
void VP1AvailEvents::actualCleanup |
( |
| ) |
|
|
privateslot |
◆ allEventFilesInDir()
QList< VP1EventFile > VP1AvailEvents::allEventFilesInDir |
( |
const QString & |
dir | ) |
const |
|
protected |
Definition at line 202 of file VP1AvailEvents.cxx.
205 return QList<VP1EventFile>();
207 QFileInfo fi_dir(
dir);
208 if (!fi_dir.exists()||!fi_dir.isDir())
209 return QList<VP1EventFile>();
211 QDateTime modtime = fi_dir.lastModified();
212 if (abs(modtime.time().msecsTo(QTime::currentTime()))>50) {
215 return it->second.second;
219 filters <<
"*_*.pool.root";
221 QDirIterator itDir(
dir,filters,
QDir::Files | QDir::NoDotAndDotDot | QDir::Readable | QDir::CaseSensitive);
223 QList<VP1EventFile>
l;
224 while (itDir.hasNext()) {
225 QString
fn = itDir.next();
226 fn.replace(
"//",
"/");
231 message(
"Could not decode event file name: "+
fn);
◆ allLocalEvents()
QList< VP1EventFile > VP1AvailEvents::allLocalEvents |
( |
| ) |
const |
◆ allLocalEventsChanged
void VP1AvailEvents::allLocalEventsChanged |
( |
| ) |
|
|
signal |
◆ cleanupAndCheckForEventListChanges()
void VP1AvailEvents::cleanupAndCheckForEventListChanges |
( |
| ) |
|
|
protected |
◆ freshEvents() [1/2]
◆ freshEvents() [2/2]
◆ freshEventsChanged
void VP1AvailEvents::freshEventsChanged |
( |
| ) |
|
|
signal |
◆ inHistory()
bool VP1AvailEvents::inHistory |
( |
int |
run, |
|
|
int |
event |
|
) |
| const |
|
protected |
◆ init()
virtual void VP1AvailEvents::init |
( |
| ) |
|
|
pure virtual |
◆ invalidateDirCache()
void VP1AvailEvents::invalidateDirCache |
( |
const QString & |
dir | ) |
|
|
protected |
◆ isConsideredFresh()
◆ maxLocalFilesToKeep()
int VP1AvailEvents::maxLocalFilesToKeep |
( |
| ) |
const |
◆ message
void VP1AvailEvents::message |
( |
const QString & |
| ) |
const |
|
signal |
◆ messageDebug()
void VP1AvailEvents::messageDebug |
( |
const QString & |
s | ) |
const |
|
protected |
◆ newestEvent()
◆ requireNewestRunNumber()
bool VP1AvailEvents::requireNewestRunNumber |
( |
| ) |
const |
|
inlineprotected |
◆ setCurrentEvent()
void VP1AvailEvents::setCurrentEvent |
( |
int |
run, |
|
|
int |
event |
|
) |
| |
◆ timeCutForNew()
int VP1AvailEvents::timeCutForNew |
( |
| ) |
const |
|
protected |
◆ tmpActiveRetrievalDir()
QString VP1AvailEvents::tmpActiveRetrievalDir |
( |
| ) |
|
|
protected |
◆ tmpDir()
QString VP1AvailEvents::tmpDir |
( |
| ) |
const |
|
protected |
◆ tmpLocalFileDir()
QString VP1AvailEvents::tmpLocalFileDir |
( |
| ) |
const |
|
protected |
◆ m_d
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.