#include <VP1LocalEvtRetriever.h>
Definition at line 15 of file VP1LocalEvtRetriever.h.
◆ VP1LocalEvtRetriever()
VP1LocalEvtRetriever::VP1LocalEvtRetriever |
( |
VP1AvailEvtsLocalDir * |
availEvts, |
|
|
QString |
sourcedir, |
|
|
QObject * |
parent = 0 |
|
) |
| |
◆ ~VP1LocalEvtRetriever()
VP1LocalEvtRetriever::~VP1LocalEvtRetriever |
( |
| ) |
|
◆ run()
void VP1LocalEvtRetriever::run |
( |
| ) |
|
|
protected |
◆ setSourceDir()
void VP1LocalEvtRetriever::setSourceDir |
( |
QString |
dir | ) |
|
◆ updateLocalDir()
void VP1LocalEvtRetriever::updateLocalDir |
( |
| ) |
|
|
private |
Definition at line 43 of file VP1LocalEvtRetriever.cxx.
61 static unsigned ntmpdlcount = 0;
67 bool changestmplocal(
false), changesad(
false);
68 if (!ad.isEmpty()&&!tmplocal.isEmpty()) {
71 QString
fn =
evt.fileName();
72 QString basefn = QFileInfo(
fn).fileName();
73 QString
target = tmplocal + basefn;
80 if (!QFile::rename(tmptarget,
target)) {
89 changestmplocal =
true;
94 if (ncopied>=nfreshneeded) {
◆ updateLocalDirFromSource
void VP1LocalEvtRetriever::updateLocalDirFromSource |
( |
| ) |
|
|
slot |
◆ m_availEvts
◆ m_mutex
QMutex VP1LocalEvtRetriever::m_mutex |
|
private |
◆ m_sourcedir
QString VP1LocalEvtRetriever::m_sourcedir |
|
private |
◆ m_timer
QTimer* VP1LocalEvtRetriever::m_timer |
|
private |
The documentation for this class was generated from the following files: