| 1 | /* |
| 2 | * Copyright (C) 2016-2017, 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 | #include "amplitudedemod.h"cxx . . $ `<file>/src/amplitudedemod.h`/ |
| 21 | #include "frequencydemod.h"cxx . . $ `<file>/src/frequencydemod.h`/ |
| 22 | #include "phasedemod.h"cxx . . $ `<file>/src/phasedemod.h`/ |
| 23 | #include "threshold.h"cxx . . $ `<file>/src/threshold.h`/ |
| 24 | #include "traceplot.h"cxx . . $ `<file>/src/traceplot.h`/ |
| 25 | |
| 26 | #include "plots.h"cxx . . $ `<file>/src/plots.h`/ |
| 27 | |
| 28 | stdcxx . . $ std/::multimapcxx . . $ std/multimap#<stdcxx . . $ std/::type_indexcxx . . $ std/type_index#, PlotInfocxx . . $ PlotInfo#> Plotscxx . . $ Plots#::plotscxx . . $ Plots#plots.; |
| 29 | Plotscxx . . $ Plots#::_initcxx . . $ Plots#_init# Plotscxx . . $ Plots#::_initializercxx . . $ Plots#_initializer.; |
| 30 | |
| 31 | Plotcxx . . $ Plot#* Plotscxx . . $ Plots#::samplePlotcxx . . $ Plots#samplePlot(b90a6e88946b7a45).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> source) |
| 32 | { |
| 33 | return new TracePlotcxx . . $ TracePlot#(sourcecxx . . $ std/shared_ptr#shared_ptr(c44ffe56f5110b84).); |
| 34 | } |
| 35 | |
| 36 | Plotcxx . . $ Plot#* Plotscxx . . $ Plots#::amplitudePlotcxx . . $ Plots#amplitudePlot(b90a6e88946b7a45).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> source) |
| 37 | { |
| 38 | typedef SampleSourcecxx . . $ SampleSource#<stdcxx . . $ std/::complexcxx . . $ std/complex#<float>> Sourcecxx . . $ Plots#amplitudePlot(b90a6e88946b7a45).Source#; |
| 39 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<Sourcecxx . . $ Plots#amplitudePlot(b90a6e88946b7a45).Source#> concrete = stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::dynamic_pointer_castcxx . . $ std/dynamic_pointer_cast(f7ae99698a17f8b6).<Sourcecxx . . $ Plots#amplitudePlot(b90a6e88946b7a45).Source#>(source); |
| 40 | return new TracePlotcxx . . $ TracePlot#( stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::make_sharedcxx . . $ std/make_shared(ffca0f3977536948).<AmplitudeDemodcxx . . $ AmplitudeDemod#>(concrete) ); |
| 41 | } |
| 42 | |
| 43 | Plotcxx . . $ Plot#* Plotscxx . . $ Plots#::frequencyPlotcxx . . $ Plots#frequencyPlot(b90a6e88946b7a45).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> source) |
| 44 | { |
| 45 | typedef SampleSourcecxx . . $ SampleSource#<stdcxx . . $ std/::complexcxx . . $ std/complex#<float>> Sourcecxx . . $ Plots#frequencyPlot(b90a6e88946b7a45).Source#; |
| 46 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<Sourcecxx . . $ Plots#frequencyPlot(b90a6e88946b7a45).Source#> concrete = stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::dynamic_pointer_castcxx . . $ std/dynamic_pointer_cast(f7ae99698a17f8b6).<Sourcecxx . . $ Plots#frequencyPlot(b90a6e88946b7a45).Source#>(source); |
| 47 | return new TracePlotcxx . . $ TracePlot#( stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::make_sharedcxx . . $ std/make_shared(ffca0f3977536948).<FrequencyDemodcxx . . $ FrequencyDemod#>( concrete ) ); |
| 48 | } |
| 49 | |
| 50 | Plotcxx . . $ Plot#* Plotscxx . . $ Plots#::phasePlotcxx . . $ Plots#phasePlot(b90a6e88946b7a45).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> source) |
| 51 | { |
| 52 | typedef SampleSourcecxx . . $ SampleSource#<stdcxx . . $ std/::complexcxx . . $ std/complex#<float>> Sourcecxx . . $ Plots#phasePlot(b90a6e88946b7a45).Source#; |
| 53 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<Sourcecxx . . $ Plots#phasePlot(b90a6e88946b7a45).Source#> concrete = stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::dynamic_pointer_castcxx . . $ std/dynamic_pointer_cast(f7ae99698a17f8b6).<Sourcecxx . . $ Plots#phasePlot(b90a6e88946b7a45).Source#>(source); |
| 54 | return new TracePlotcxx . . $ TracePlot#(stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::make_sharedcxx . . $ std/make_shared(ffca0f3977536948).<PhaseDemodcxx . . $ PhaseDemod#>(concrete)); |
| 55 | } |
| 56 | |
| 57 | Plotcxx . . $ Plot#* Plotscxx . . $ Plots#::thresholdPlotcxx . . $ Plots#thresholdPlot(b90a6e88946b7a45).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<AbstractSampleSourcecxx . . $ AbstractSampleSource#> source) |
| 58 | { |
| 59 | typedef SampleSourcecxx . . $ SampleSource#<float> Sourcecxx . . $ Plots#thresholdPlot(b90a6e88946b7a45).Source#; |
| 60 | stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<Sourcecxx . . $ Plots#thresholdPlot(b90a6e88946b7a45).Source#> concrete= stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::dynamic_pointer_castcxx . . $ std/dynamic_pointer_cast(f7ae99698a17f8b6).<Sourcecxx . . $ Plots#thresholdPlot(b90a6e88946b7a45).Source#>(source); |
| 61 | return new TracePlotcxx . . $ TracePlot#( stdcxx . . $ std/shared_ptr#shared_ptr(c412da0edac25070).::make_sharedcxx . . $ std/make_shared(ffca0f3977536948).<Thresholdcxx . . $ Threshold#>( concrete ) ); |
| 62 | } |