QwtSeriesStore.3
3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
.TH "QwtSeriesStore< T >" 3 "Sat Jan 26 2013" "Version 6.1-rc3" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtSeriesStore< T > \-
.PP
Class storing a \fBQwtSeriesData\fP object\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_series_store\&.h>\fP
.PP
Inherits \fBQwtAbstractSeriesStore\fP\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtSeriesStore\fP ()"
.br
.RI "\fIConstructor The store contains no series\&. \fP"
.ti -1c
.RI "\fB~QwtSeriesStore\fP ()"
.br
.RI "\fIDestructor\&. \fP"
.ti -1c
.RI "void \fBsetData\fP (\fBQwtSeriesData\fP< T > *series)"
.br
.ti -1c
.RI "\fBQwtSeriesData\fP< T > * \fBdata\fP ()"
.br
.ti -1c
.RI "const \fBQwtSeriesData\fP< T > * \fBdata\fP () const "
.br
.ti -1c
.RI "T \fBsample\fP (int index) const "
.br
.ti -1c
.RI "virtual size_t \fBdataSize\fP () const "
.br
.ti -1c
.RI "virtual QRectF \fBdataRect\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetRectOfInterest\fP (const QRectF &rect)"
.br
.ti -1c
.RI "\fBQwtSeriesData\fP< T > * \fBswapData\fP (\fBQwtSeriesData\fP< T > *series)"
.br
.in -1c
.SS "Additional Inherited Members"
.SH "Detailed Description"
.PP
.SS "template<typename T>class QwtSeriesStore< T >"
Class storing a \fBQwtSeriesData\fP object\&.
\fBQwtSeriesStore\fP and \fBQwtPlotSeriesItem\fP are intended as base classes for all plot items iterating over a series of samples\&. Both classes share a virtual base class ( \fBQwtAbstractSeriesStore\fP ) to bridge between them\&.
.PP
\fBQwtSeriesStore\fP offers the template based part for the plot item API, so that \fBQwtPlotSeriesItem\fP can be derived without any hassle with templates\&.
.SH "Member Function Documentation"
.PP
.SS "template<typename T > \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::data ()\fC [inline]\fP"
\fBReturns:\fP
.RS 4
the the series data
.RE
.PP
.SS "template<typename T > const \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::data () const\fC [inline]\fP"
\fBReturns:\fP
.RS 4
the the series data
.RE
.PP
.SS "template<typename T > QRectF \fBQwtSeriesStore\fP< T >::dataRect () const\fC [virtual]\fP"
Return the bounding rectangle of the series or an invalid rectangle, when no series is stored
.PP
\fBSee Also:\fP
.RS 4
\fBQwtSeriesData<T>::boundingRect()\fP
.RE
.PP
.PP
Implements \fBQwtAbstractSeriesStore\fP\&.
.SS "template<typename T > size_t \fBQwtSeriesStore\fP< T >::dataSize () const\fC [virtual]\fP"
Return the number of samples of the series
.PP
\fBSee Also:\fP
.RS 4
\fBsetData()\fP, \fBQwtSeriesData<T>::size()\fP
.RE
.PP
.PP
Implements \fBQwtAbstractSeriesStore\fP\&.
.SS "template<typename T > T \fBQwtSeriesStore\fP< T >::sample (intindex) const\fC [inline]\fP"
\fBParameters:\fP
.RS 4
\fIindex\fP Index
.RE
.PP
\fBReturns:\fP
.RS 4
Sample at position index
.RE
.PP
.SS "template<typename T> void \fBQwtSeriesStore\fP< T >::setData (\fBQwtSeriesData\fP< T > *series)"
Assign a series of samples
.PP
\fBParameters:\fP
.RS 4
\fIseries\fP Data
.RE
.PP
\fBWarning:\fP
.RS 4
The item takes ownership of the data object, deleting it when its not used anymore\&.
.RE
.PP
.SS "template<typename T > void \fBQwtSeriesStore\fP< T >::setRectOfInterest (const QRectF &rect)\fC [virtual]\fP"
Set a the 'rect of interest' for the series
.PP
\fBParameters:\fP
.RS 4
\fIrect\fP Rectangle of interest
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBQwtSeriesData<T>::setRectOfInterest()\fP
.RE
.PP
.PP
Implements \fBQwtAbstractSeriesStore\fP\&.
.SS "template<typename T> \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::swapData (\fBQwtSeriesData\fP< T > *series)"
Replace a series without deleting the previous one
.PP
\fBParameters:\fP
.RS 4
\fIseries\fP New series
.RE
.PP
\fBReturns:\fP
.RS 4
Previously assigned series
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.