histogram.cpp
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:4k
- //
- // File =histogram.cpp
- //
- #include <stdlib.h>
- #include <fstream>
- #include "parmfile.h"
- #include "model_graph.h"
- #include "histogram.h"
- #ifdef _DEBUG
- extern ofstream *DebugFile;
- #endif
- extern ParmFile *ParmInput;
- extern int PassNumber;
- //======================================================
- template <class T>
- HistogramBuilder<T>
- ::HistogramBuilder( char* instance_name,
- PracSimModel* outer_model,
- Signal<T>* in_sig )
- :PracSimModel( instance_name,
- outer_model )
- {
- MODEL_NAME(SpectrumAnalyzer_T);
- OPEN_PARM_BLOCK;
- GET_INT_PARM(Num_Segs_To_Tally);
- GET_INT_PARM(Hold_Off);
- Hist_File_Name = new char[64];
- strcpy(Hist_File_Name, "