ATLAS Offline Software
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VP1WebWatcher::Imp Class Reference
Collaboration diagram for VP1WebWatcher::Imp:

Classes

class  HttpThread
 
class  WatchedUrl
 

Public Member Functions

 Imp (VP1WebWatcher *tc, int ri)
 
void startDownload (WatchedUrl *)
 

Static Public Member Functions

static void ensureEndThread (HttpThread *&)
 

Public Attributes

VP1WebWatchertheclass
 
const int recheckInterval_ms
 
QList< WatchedUrl * > watchedUrls
 

Detailed Description

Definition at line 37 of file VP1WebWatcher.cxx.

Constructor & Destructor Documentation

◆ Imp()

VP1WebWatcher::Imp::Imp ( VP1WebWatcher tc,
int  ri 
)
inline

Definition at line 135 of file VP1WebWatcher.cxx.

135 : theclass(tc), recheckInterval_ms(ri) {}

Member Function Documentation

◆ ensureEndThread()

static void VP1WebWatcher::Imp::ensureEndThread ( HttpThread *&  )
inlinestatic

Definition at line 150 of file VP1WebWatcher.cxx.

150  {
151 
152  // if (!thread)
153  // return;
154  // thread->blockSignals(true);
155  // if (thread->http())
156  // thread->http()->blockSignals(true);
157  // thread->quit();
158  // if (!thread->wait(50)) {//Put 50 -> 0 to test the terminate fallback.
159  // thread->terminate();
160  // thread->wait();//Ensure synchronisation (so we can safely delete)
161  // }
162  // thread->deleteLater();
163  // thread=0;
164  }

◆ startDownload()

void VP1WebWatcher::Imp::startDownload ( WatchedUrl )
inline

Definition at line 166 of file VP1WebWatcher.cxx.

166  {
167 
168  // ensureEndThread(wu->thread);
169  // wu->thread = new Imp::HttpThread(wu->url,theclass);
170  // wu->thread->start();
171  }

Member Data Documentation

◆ recheckInterval_ms

const int VP1WebWatcher::Imp::recheckInterval_ms

Definition at line 137 of file VP1WebWatcher.cxx.

◆ theclass

VP1WebWatcher* VP1WebWatcher::Imp::theclass

Definition at line 136 of file VP1WebWatcher.cxx.

◆ watchedUrls

QList<WatchedUrl*> VP1WebWatcher::Imp::watchedUrls

Definition at line 147 of file VP1WebWatcher.cxx.


The documentation for this class was generated from the following file:
VP1WebWatcher::Imp::theclass
VP1WebWatcher * theclass
Definition: VP1WebWatcher.cxx:136
VP1WebWatcher::Imp::recheckInterval_ms
const int recheckInterval_ms
Definition: VP1WebWatcher.cxx:137