Step1: remove auto_ptr. (still need to fix access)
This commit is contained in:
@@ -673,8 +673,8 @@ extern "C" ANALYZER_EXPORT void __cdecl DestroyAnalyzer( Analyzer* analyzer );
|
||||
|
||||
You’ll also need these member variables:
|
||||
```c++
|
||||
std::auto_ptr< {YourName}AnalyzerSettings > mSettings;
|
||||
std::auto_ptr< {YourName}AnalyzerResults > mResults;
|
||||
{YourName}AnalyzerSettings mSettings;
|
||||
{YourName}AnalyzerResults mResults;
|
||||
{YourName}SimulationDataGenerator mSimulationDataGenerator;
|
||||
bool mSimulationInitialized;
|
||||
```
|
||||
|
||||
@@ -22,8 +22,8 @@ public:
|
||||
virtual bool NeedsRerun();
|
||||
|
||||
protected: //vars
|
||||
std::auto_ptr< SimpleSerialAnalyzerSettings > mSettings;
|
||||
std::auto_ptr< SimpleSerialAnalyzerResults > mResults;
|
||||
SimpleSerialAnalyzerSettings mSettings;
|
||||
SimpleSerialAnalyzerResults mResults;
|
||||
AnalyzerChannelData* mSerial;
|
||||
|
||||
SimpleSerialSimulationDataGenerator mSimulationDataGenerator;
|
||||
|
||||
@@ -20,8 +20,8 @@ public:
|
||||
U32 mBitRate;
|
||||
|
||||
protected:
|
||||
std::auto_ptr< AnalyzerSettingInterfaceChannel > mInputChannelInterface;
|
||||
std::auto_ptr< AnalyzerSettingInterfaceInteger > mBitRateInterface;
|
||||
AnalyzerSettingInterfaceChannel mInputChannelInterface;
|
||||
AnalyzerSettingInterfaceInteger mBitRateInterface;
|
||||
};
|
||||
|
||||
#endif //SIMPLESERIAL_ANALYZER_SETTINGS
|
||||
|
||||
Reference in New Issue
Block a user