Properly implemented Protocol Search support for the sample analyzer.

Also used recently added #define flag to disable or enable the protocol search code, based on the SDK version. Ideally this will allow the same code to compile for the legacy SDK or the latest SDK.
This commit is contained in:
Marcus10110
2017-05-12 10:57:02 -07:00
parent 1f647bee70
commit f0ed04d728
3 changed files with 15 additions and 9 deletions

View File

@@ -6,11 +6,13 @@
#include "SimpleSerialSimulationDataGenerator.h"
class SimpleSerialAnalyzerSettings;
class ANALYZER_EXPORT SimpleSerialAnalyzer : public Analyzer
class ANALYZER_EXPORT SimpleSerialAnalyzer : public Analyzer2
{
public:
SimpleSerialAnalyzer();
virtual ~SimpleSerialAnalyzer();
virtual void SetupResults();
virtual void WorkerThread();
virtual U32 GenerateSimulationData( U64 newest_sample_requested, U32 sample_rate, SimulationChannelDescriptor** simulation_channels );