00001 00020 #ifndef __NEW_SIM_FILE_FUMI_H__ 00021 #define __NEW_SIM_FILE_FUMI_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_FUMI_H__ 00042 #include "new_sim_fumi.h" 00043 #endif 00044 00045 #ifndef __NEW_SIM_FUMI_DATA_H__ 00046 #include "new_sim_fumi_data.h" 00047 #endif 00048 00054 class NewSimulatorFileFumi : public NewSimulatorFileRdr { 00055 private: 00057 SaHpiFumiRecT *m_fumi_rec; 00058 00059 bool process_fumi_data( NewSimulatorFumi *fumi ); 00060 bool process_fumi_source_info( NewSimulatorFumiBank *bank ); 00061 bool process_fumi_component( NewSimulatorFumiComponent *comp ); 00062 bool process_fumi_firmware( SaHpiFumiFirmwareInstanceInfoT &fw ); 00063 bool process_fumi_target_info( NewSimulatorFumiBank *bank ); 00064 bool process_fumi_logical_target_info( NewSimulatorFumiBank *bank ); 00065 bool process_fumi_logical_component( NewSimulatorFumiComponent *comp ); 00066 00067 public: 00068 NewSimulatorFileFumi(GScanner *scanner); 00069 virtual ~NewSimulatorFileFumi(); 00070 virtual NewSimulatorRdr * process_token(NewSimulatorResource *res); 00071 00072 }; 00073 00074 #endif /*__NEW_SIM_FILE_FUMI_H_*/