OpticalTestModel.h revision 10447
1#ifndef __DSENT_MODEL_OPTICAL_OPTICALTESTMODEL_H__ 2#define __DSENT_MODEL_OPTICAL_OPTICALTESTMODEL_H__ 3 4#include "util/CommonType.h" 5#include "model/OpticalModel.h" 6 7namespace DSENT 8{ 9 class OpticalTestModel : public OpticalModel 10 { 11 public: 12 OpticalTestModel(const String& instance_name_, const TechModel* tech_model_); 13 virtual ~OpticalTestModel(); 14 15 public: 16 // Set a list of properties' name needed to construct model 17 void initParameters(); 18 // Set a list of properties' name needed to construct model 19 void initProperties(); 20 21 protected: 22 // Build the model 23 virtual void constructModel(); 24 virtual void updateModel(); 25 26 }; // class OpticalTestModel 27} // namespace DSENT 28 29#endif // __DSENT_MODEL_OPTICAL_RINGLASERSOURCE_H__ 30 31