| 1 | /* |
| 2 | * Copyright (C) 2016, Mike Walters <[email protected]> |
| 3 | * |
| 4 | * This file is part of inspectrum. |
| 5 | * |
| 6 | * This program is free software: you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation, either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | #include <memory> |
| 22 | #include "abstractsamplesource.h"cxx . . $ `<file>/src/abstractsamplesource.h`/ |
| 23 | #include "plot.h"cxx . . $ `<file>/src/plot.h`/ |
| 24 | #include "util.h"cxx . . $ `<file>/src/util.h`/ |
| 25 | |
| 26 | class TracePlotcxx . . $ TracePlot# : public Plotcxx . . $ Plot# |
| 27 | { |
| 28 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 29 | |
| 30 | public: |
| 31 | TracePlotcxx . . $ TracePlot#TracePlot(22d84a47a7b53cf1).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> source); |
| 32 | |
| 33 | void paintMidcxx . . $ TracePlot#paintMid(dba2c6533854c69f).(QPaintercxx . . $ QPainter# &painter, QRectcxx . . $ QRect# &rect, range_tcxx . . $ range_t#<size_tcxx . . $ size_t#> sampleRange); |
| 34 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> sourcecxx . . $ TracePlot#source(aad09d7b1d4b04e1).() { return sampleSourcecxx . . $ Plot#sampleSource.; }; |
| 35 | |
| 36 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 37 | void imageReadycxx . . $ TracePlot#imageReady(2fc6005f4c39585c).(QStringcxx . . $ QString# key, QImagecxx . . $ QImage# image); |
| 38 | |
| 39 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 40 | void handleImagecxx . . $ TracePlot#handleImage(2fc6005f4c39585c).(QStringcxx . . $ QString# key, QImagecxx . . $ QImage# image); |
| 41 | |
| 42 | private: |
| 43 | QSetcxx . . $ QSet#<QStringcxx . . $ QString#> taskscxx . . $ TracePlot#tasks.; |
| 44 | const int tileWidthcxx . . $ TracePlot#tileWidth. = 1000; |
| 45 | |
| 46 | QPixmapcxx . . $ QPixmap# getTilecxx . . $ TracePlot#getTile(487b0baefcfe71df).(size_tcxx . . $ size_t# tileID, size_tcxx . . $ size_t# sampleCount); |
| 47 | void drawTilecxx . . $ TracePlot#drawTile(446f64e73cd7f568).(QStringcxx . . $ QString# key, const QRectcxx . . $ QRect# &rect, range_tcxx . . $ range_t#<size_tcxx . . $ size_t#> sampleRange); |
| 48 | void plotTracecxx . . $ TracePlot#plotTrace(c1eb76396d5548a1).(QPaintercxx . . $ QPainter# &painter, const QRectcxx . . $ QRect# &rect, float *samples, size_tcxx . . $ size_t# count, int step); |
| 49 | }; |