Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

new_sim_file_control.h

Go to the documentation of this file.
00001 
00020 #ifndef __NEW_SIM_FILE_CONTROL_H__
00021 #define __NEW_SIM_FILE_CONTROL_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_CONTROL_H__
00042 #include "new_sim_control.h"
00043 #endif
00044 
00050 class NewSimulatorFileControl : public NewSimulatorFileRdr {
00051    private:
00053    SaHpiCtrlRecT        *m_ctrl_rec;
00055    SaHpiCtrlStateT      m_ctrl_state;
00057    SaHpiCtrlModeT       m_ctrl_mode;
00059    bool                m_diff_mode;
00061    bool                m_diff_state;
00062    
00063    bool process_type_digital();
00064    bool process_type_discrete();
00065    bool process_type_analog();
00066    bool process_type_stream();
00067    bool process_state_stream(SaHpiCtrlStateStreamT *stream);
00068    bool process_type_text();
00069    bool process_state_text(SaHpiCtrlStateTextT *text);
00070    bool process_type_oem();
00071    bool process_state_oem(SaHpiCtrlStateOemT *oem);
00072    
00073    bool process_control_mode();
00074    
00075    public:
00076    NewSimulatorFileControl(GScanner *scanner);
00077    virtual ~NewSimulatorFileControl();
00078    virtual NewSimulatorRdr * process_token(NewSimulatorResource *res);
00079 
00080 };
00081 
00082 #endif /*__NEW_SIM_FILE_CONTROL_H_*/

Generated on Mon Apr 26 14:36:48 2010 for New Simulator by  doxygen 1.4.4