Isis 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
6namespace Isis {
15 class SocketThread : public QThread {
16 Q_OBJECT
17
18 public:
19 SocketThread(QObject *parent = 0);
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
Definition SocketThread.h:15
void newImage(const QString &image)
New image signal.
void run()
Starts the socket thread.
Definition SocketThread.cpp:35
void stop()
Definition SocketThread.h:23
~SocketThread()
Destroys the SocketThread object.
Definition SocketThread.cpp:30
SocketThread(QObject *parent=0)
Constructor for the SocketThread.
Definition SocketThread.cpp:26
void focusApp()
Application has focus signal.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16