00001 00020 #ifndef __NEW_SIM_FILE_DIMI_H__ 00021 #define __NEW_SIM_FILE_DIMI_H__ 00022 00023 #include <glib.h> 00024 00025 extern "C" { 00026 #include "SaHpi.h" 00027 } 00028 00029 #ifndef __NEW_SIM_FILE_RDR_H__ 00030 #include "new_sim_file_rdr.h" 00031 #endif 00032 00033 #ifndef __NEW_SIM_RDR_H__ 00034 #include "new_sim_rdr.h" 00035 #endif 00036 00037 #ifndef __NEW_SIM_RESOURCE_H__ 00038 #include "new_sim_resource.h" 00039 #endif 00040 00041 #ifndef __NEW_SIM_DIMI_H__ 00042 #include "new_sim_dimi.h" 00043 #endif 00044 00045 #ifndef __NEW_SIM_DIMI_DATA_H__ 00046 #include "new_sim_dimi_data.h" 00047 #endif 00048 00055 class NewSimulatorFileDimi : public NewSimulatorFileRdr { 00056 private: 00058 SaHpiDimiRecT *m_dimi_rec; 00059 00060 bool process_dimi_data( NewSimulatorDimi *dimi ); 00061 00062 public: 00063 NewSimulatorFileDimi(GScanner *scanner); 00064 virtual ~NewSimulatorFileDimi(); 00065 virtual NewSimulatorRdr * process_token(NewSimulatorResource *res); 00066 bool process_dimi_test( NewSimulatorDimiTest *dt ); 00067 bool process_dimi_testdata( NewSimulatorDimiTest *dt ); 00068 bool process_dimi_entities( SaHpiDimiTestAffectedEntityT &tae ); 00069 bool process_dimi_testparameters( SaHpiDimiTestParamsDefinitionT &tp ); 00070 00071 }; 00072 00073 #endif /*__NEW_SIM_FILE_DIMI_H_*/