Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ui
qt
glib_mainloop_on_qeventloop.h
Go to the documentation of this file.
1
8
#ifndef GLIB_MAINLOOP_ON_QEVENTLOOP_H
9
#define GLIB_MAINLOOP_ON_QEVENTLOOP_H
10
11
#include <QThread>
12
#include <QMutex>
13
#include <QWaitCondition>
14
15
class
GLibPoller
:
public
QThread
16
{
17
Q_OBJECT
18
19
protected
:
20
explicit
GLibPoller
(GMainContext *context);
21
~GLibPoller
();
22
23
void
run()
override
;
24
25
QMutex mutex_;
26
QWaitCondition dispatched_;
27
GMainContext *ctx_;
28
int
priority_;
29
GPollFD *fds_;
30
int
allocated_fds_, nfds_;
31
32
signals:
33
void
polled(
void
);
34
35
friend
class
GLibMainloopOnQEventLoop
;
36
};
15
class
GLibPoller
:
public
QThread {
…
};
37
38
class
GLibMainloopOnQEventLoop
:
public
QObject
39
{
40
Q_OBJECT
41
42
protected
:
43
explicit
GLibMainloopOnQEventLoop
(QObject *parent);
44
~GLibMainloopOnQEventLoop
();
45
46
protected
slots:
47
void
checkAndDispatch();
48
49
public
:
50
static
void
setup(QObject *parent);
51
52
protected
:
53
GLibPoller
poller_;
54
};
38
class
GLibMainloopOnQEventLoop
:
public
QObject {
…
};
55
56
#endif
/* GLIB_MAINLOOP_ON_QEVENTLOOP_H */
GLibMainloopOnQEventLoop
Definition
glib_mainloop_on_qeventloop.h:39
GLibPoller
Definition
glib_mainloop_on_qeventloop.h:16
Generated by
1.9.8