Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
PerformanceMonitor.h
1 // Name: PerformanceMonitor.h
3 // Author: XX
4 // Created: XX/XX/XX
5 // Copyright: XX
7 
8 #ifndef __PerformanceMonitor_H__
9 #define __PerformanceMonitor_H__
10 
11 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
12  #pragma interface "PerformanceMonitor.cpp"
13 #endif
14 
15 #ifndef WX_PRECOMP
16  #include "wx/wx.h"
17 #endif
18 
19 #include "EnviroUI.h"
20 
21 // WDR: class declarations
22 
23 //----------------------------------------------------------------------------
24 // CPerformanceMonitorDialog
25 //----------------------------------------------------------------------------
26 
28 {
29 public:
30  // constructors and destructors
31  CPerformanceMonitorDialog( wxWindow *parent, wxWindowID id, const wxString &title,
32  const wxPoint& pos = wxDefaultPosition,
33  const wxSize& size = wxDefaultSize,
34  long style = wxDEFAULT_DIALOG_STYLE );
35 
36  // WDR: method declarations for CPerformanceMonitorDailog
37  wxListCtrl* GetPmListctrl() { return (wxListCtrl*) FindWindow( ID_PM_LISTCTRL ); }
38 
39  // Static functions
40  static void NVPM_init();
41  static void NVPM_shutdown();
42  static void NVPM_frame();
43 
44 private:
45  // WDR: member variable declarations for CPerformanceMonitorDialog
46 
47 private:
48  // WDR: handler declarations for CPerformanceMonitorDialog
49  virtual void OnListItemRightClick( wxListEvent &event );
50 
51 private:
52  void UpdateCounters();
53  static bool m_NVPMInitialised;
54 };
55 
56 #endif