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

new_sim_event_log.h

Go to the documentation of this file.
00001 
00024 #ifndef __NEW_SIM_EVENT_LOG_H__
00025 #define __NEW_SIM_EVENT_LOG_H__
00026 
00027 
00028 extern "C" {
00029 #include "SaHpi.h"
00030 }
00031 
00032 #include <oh_utils.h>
00033 #include <oh_handler.h>
00034 
00035 
00042 class NewSimulatorEventLog {
00043 
00044 private:
00045    SaHpiEventLogCapabilitiesT capability;
00046    
00047 public:
00048   NewSimulatorEventLog();
00049   virtual ~NewSimulatorEventLog();
00050   
00051   // methods for HPI functions
00052   SaErrorT IfELGetInfo(oh_handler_state *hstate, SaHpiEventLogInfoT *info);
00053   SaErrorT IfELSetState(oh_handler_state *hstate, SaHpiBoolT state);
00054   SaErrorT IfELGetState(oh_handler_state *hstate, SaHpiBoolT *state);
00055   SaErrorT IfELSetTime(oh_handler_state *hstate, SaHpiTimeT time);
00056   SaErrorT IfELAddEntry(oh_handler_state *hstate, const SaHpiEventT *event);
00057   SaErrorT IfELGetEntry(oh_handler_state *hstate, 
00058                         SaHpiEventLogEntryIdT current,
00059                                 SaHpiEventLogEntryIdT *prev, 
00060                                 SaHpiEventLogEntryIdT *next,
00061                                 SaHpiEventLogEntryT *entry, 
00062                                 SaHpiRdrT  *rdr, 
00063                                 SaHpiRptEntryT *rptentry);
00064   SaErrorT IfELClear(oh_handler_state *hstate);
00065   SaErrorT IfELOverflow(oh_handler_state *hstate);
00066   SaErrorT IfELGetCaps(oh_handler_state *hstate, 
00067                        SaHpiEventLogCapabilitiesT *caps);
00068                        
00069 };
00070 
00071 
00072 #endif
00073 

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