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:
|
You’ll also need these member variables:
|
||||||
```c++
|
```c++
|
||||||
std::auto_ptr< {YourName}AnalyzerSettings > mSettings;
|
{YourName}AnalyzerSettings mSettings;
|
||||||
std::auto_ptr< {YourName}AnalyzerResults > mResults;
|
{YourName}AnalyzerResults mResults;
|
||||||
{YourName}SimulationDataGenerator mSimulationDataGenerator;
|
{YourName}SimulationDataGenerator mSimulationDataGenerator;
|
||||||
bool mSimulationInitialized;
|
bool mSimulationInitialized;
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ public:
|
|||||||
virtual bool NeedsRerun();
|
virtual bool NeedsRerun();
|
||||||
|
|
||||||
protected: //vars
|
protected: //vars
|
||||||
std::auto_ptr< SimpleSerialAnalyzerSettings > mSettings;
|
SimpleSerialAnalyzerSettings mSettings;
|
||||||
std::auto_ptr< SimpleSerialAnalyzerResults > mResults;
|
SimpleSerialAnalyzerResults mResults;
|
||||||
AnalyzerChannelData* mSerial;
|
AnalyzerChannelData* mSerial;
|
||||||
|
|
||||||
SimpleSerialSimulationDataGenerator mSimulationDataGenerator;
|
SimpleSerialSimulationDataGenerator mSimulationDataGenerator;
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ public:
|
|||||||
U32 mBitRate;
|
U32 mBitRate;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::auto_ptr< AnalyzerSettingInterfaceChannel > mInputChannelInterface;
|
AnalyzerSettingInterfaceChannel mInputChannelInterface;
|
||||||
std::auto_ptr< AnalyzerSettingInterfaceInteger > mBitRateInterface;
|
AnalyzerSettingInterfaceInteger mBitRateInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //SIMPLESERIAL_ANALYZER_SETTINGS
|
#endif //SIMPLESERIAL_ANALYZER_SETTINGS
|
||||||
|
|||||||
Reference in New Issue
Block a user