Isis 3 Developer Reference
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.
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
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void newImage(const QString &image)
New image signal.