Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qwt
src
qwt_sampling_thread.h
Go to the documentation of this file.
1
#ifndef _QWT_SAMPLING_THREAD_H_
2
#define _QWT_SAMPLING_THREAD_H_
3
4
#include "
qwt_global.h
"
5
#include <qthread.h>
6
19
class
QWT_EXPORT
QwtSamplingThread
:
public
QThread
20
{
21
Q_OBJECT
22
23
public
:
24
virtual
~
QwtSamplingThread
();
25
26
double
interval()
const
;
27
double
elapsed()
const
;
28
29
public
Q_SLOTS:
30
void
setInterval(
double
interval );
31
void
stop();
32
33
protected
:
34
explicit
QwtSamplingThread
( QObject *parent = NULL );
35
36
virtual
void
run();
37
43
virtual
void
sample(
double
elapsed ) = 0;
44
45
private
:
46
class
PrivateData
;
47
PrivateData
*
d_data
;
48
};
49
50
#endif
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
qwt_global.h
QwtSamplingThread::PrivateData
Definition:
qwt_sampling_thread.cpp:13
QwtSamplingThread::d_data
PrivateData * d_data
Definition:
qwt_sampling_thread.h:46
QwtSamplingThread
A thread collecting samples at regular intervals.
Definition:
qwt_sampling_thread.h:19
plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17