-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathN64Analyzer.h
executable file
·40 lines (31 loc) · 1.13 KB
/
N64Analyzer.h
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
#ifndef N64_ANALYZER_H
#define N64_ANALYZER_H
#include <Analyzer.h>
#include "N64AnalyzerResults.h"
#include "N64SimulationDataGenerator.h"
class N64AnalyzerSettings;
class ANALYZER_EXPORT N64Analyzer : public Analyzer
{
public:
N64Analyzer();
virtual ~N64Analyzer();
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: //vars
std::auto_ptr< N64AnalyzerSettings > mSettings;
std::auto_ptr< N64AnalyzerResults > mResults;
AnalyzerChannelData* mData;
N64SimulationDataGenerator mSimulationDataGenerator;
bool mSimulationInitilized;
//Serial analysis vars:
U32 mSampleRateHz;
U32 mStartOfStopBitOffset;
U32 mEndOfStopBitOffset;
};
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 //N64_ANALYZER_H