Isis 3.0
Home
SocketThread.h
Go to the documentation of this file.
1 #ifndef Qisis_SocketThread_h
2 #define Qisis_SocketThread_h
3 
4 #include <QThread>
5 
6 namespace Isis {
15  class SocketThread : public QThread {
16  Q_OBJECT
17 
18  public:
19  SocketThread(QObject *parent = 0);
20  ~SocketThread();
21 
22  void run();
23  void stop() {
24  p_done = true;
25  };
26 
27  signals:
33  void newImage(const QString &image);
35  void focusApp();
36 
37  private:
38  bool p_done;
39  };
40 };
41 
42 #endif
43 
44 
void stop()
Definition: SocketThread.h:23
void focusApp()
Application has focus signal.
Definition: moc_SocketThread.cpp:142
void run()
Starts the socket thread.
Definition: SocketThread.cpp:35
Definition: SocketThread.h:15
~SocketThread()
Destroys the SocketThread object.
Definition: SocketThread.cpp:30
SocketThread(QObject *parent=0)
Constructor for the SocketThread.
Definition: SocketThread.cpp:26
void newImage(const QString &image)
New image signal.
Definition: moc_SocketThread.cpp:135