mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2026-04-28 03:08:08 +00:00
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
#ifndef PULSELENGTHSTAT_ANALYZER_H
|
|
#define PULSELENGTHSTAT_ANALYZER_H
|
|
|
|
#include <Analyzer.h>
|
|
#include "PulseLengthStatAnalyzerSettings.h"
|
|
#include "PulseLengthStatAnalyzerResults.h"
|
|
#include "PulseLengthStatSimulationDataGenerator.h"
|
|
#include <memory>
|
|
|
|
class ANALYZER_EXPORT PulseLengthStatAnalyzer : public Analyzer2
|
|
{
|
|
public:
|
|
PulseLengthStatAnalyzer();
|
|
virtual ~PulseLengthStatAnalyzer();
|
|
|
|
virtual void SetupResults();
|
|
virtual void WorkerThread();
|
|
|
|
virtual U32 GenerateSimulationData(U64 newest_sample_requested, U32 sample_rate,
|
|
SimulationChannelDescriptor** simulation_channels);
|
|
virtual U32 GetMinimumSampleRateHz();
|
|
|
|
virtual const char* GetAnalyzerName() const;
|
|
virtual bool NeedsRerun();
|
|
|
|
protected:
|
|
PulseLengthStatAnalyzerSettings mSettings;
|
|
std::unique_ptr<PulseLengthStatAnalyzerResults> mResults;
|
|
AnalyzerChannelData* mChannelData;
|
|
|
|
PulseLengthStatSimulationDataGenerator mSimulationDataGenerator;
|
|
bool mSimulationInitilized;
|
|
};
|
|
|
|
extern "C" ANALYZER_EXPORT const char* __cdecl GetAnalyzerName();
|
|
extern "C" ANALYZER_EXPORT Analyzer* __cdecl CreateAnalyzer();
|
|
extern "C" ANALYZER_EXPORT void __cdecl DestroyAnalyzer(Analyzer* analyzer);
|
|
|
|
#endif
|