1 #ifndef __lms7002_pnlGains_view__ 2 #define __lms7002_pnlGains_view__ 3 4 /** 5 @file 6 Subclass of pnlGains_view, which is generated by wxFormBuilder. 7 */ 8 9 #include "lms7002_wxgui.h" 10 11 //// end generated include 12 #include <map> 13 #include "lime/LimeSuite.h" 14 namespace lime{ 15 } 16 /** Implementing pnlGains_view */ 17 class lms7002_pnlGains_view : public pnlGains_view 18 { 19 protected: 20 // Handlers for pnlGains_view events. 21 void ParameterChangeHandler(wxSpinEvent& event); 22 void ParameterChangeHandler(wxCommandEvent& event); 23 public: 24 /** Constructor */ 25 lms7002_pnlGains_view( wxWindow* parent ); 26 //// end generated class members 27 lms7002_pnlGains_view(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL); 28 void Initialize(lms_device_t* pControl); 29 void UpdateGUI(); 30 void OnAGCStateChange(wxCommandEvent& event); 31 protected: 32 lms_device_t* lmsControl; 33 std::map<wxWindow*, LMS7Parameter> wndId2Enum; 34 }; 35 36 #endif // __lms7002_pnlGains_view__ 37