Isis 3 Programmer Reference
SocketThread.h
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
Isis::SocketThread::focusApp
void focusApp()
Application has focus signal.
Isis::SocketThread::~SocketThread
~SocketThread()
Destroys the SocketThread object.
Definition:
SocketThread.cpp:30
Isis::SocketThread::SocketThread
SocketThread(QObject *parent=0)
Constructor for the SocketThread.
Definition:
SocketThread.cpp:26
Isis::SocketThread::run
void run()
Starts the socket thread.
Definition:
SocketThread.cpp:35
Isis::SocketThread
Definition:
SocketThread.h:15
QThread
QObject
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
Isis::SocketThread::newImage
void newImage(const QString &image)
New image signal.
src
qisis
objs
SocketThread
SocketThread.h