#include <appsettings.h>
Public Types | |
| enum | TRIGGER_MSK { EXT_TRIGGER_MSK = 0x0001, CHANNEL_TRIGGER_MSK = 0x0002, SW_AUTO_TRIGGER_MSK = 0x0004 } |
| enum | TRIGGER_EDGE_TYPE { NO_TRIGGER = 0, RAISING_EDGE, FALLING_EDGE } |
| enum | GRID_LINE_TYPE { NO_LINE = 0, SOLID, DASHED, DASH_DOT, DOTTED } |
Public Member Functions | |
| AppSettings (void(*scope_refresh)(int, bool)) | |
| ~AppSettings (void) | |
| bool | Load (void) |
| bool | Save (void) |
| bool | SetGridPen (int scope_index, const wxPen *grid_pen, const wxPen *mid_grid_pen=NULL) |
| bool | SetBackBrush (int scope_index, const wxBrush *back_brush) |
| void | SetDiv2Pix (int scope_index, double div_2_pix_X) |
| void | SetSec2Div (int scope_index, double sec_2_div) |
| void | SetSec2Sample (double sec_2_sample) |
| void | SetClock (bool use_ext_clock, int ext_rate_MHz) |
| UINT32 | Sec2Pix (int scope_index, double value) |
| double | Sample2Sec (int value) |
Public Attributes | |
| wxMutex | m_mutex |
| TRIGGER_MSK | m_trigger_msk |
| int | m_post_trigger |
| int | m_sample_block_size |
| wxArrayPtrVoid | m_board_array |
| wxColor | m_grid_line_color [SCOPE_NUM_PANELS] |
| GRID_LINE_TYPE | m_grid_line_type [SCOPE_NUM_PANELS] |
| int | m_grid_line_width [SCOPE_NUM_PANELS] |
| wxColor | m_background_color [SCOPE_NUM_PANELS] |
| wxString | m_record_folder |
| TRIGGER_EDGE_TYPE | m_trigger_edge_type |
| wxPen * | m_grid_pen [SCOPE_NUM_PANELS] |
| wxPen * | m_mid_grid_pen [SCOPE_NUM_PANELS] |
| wxBrush * | m_back_brush [SCOPE_NUM_PANELS] |
| int | m_max_log_X |
| double | m_offset_sec [SCOPE_NUM_PANELS] |
| double | m_sec_2_sample |
| double | m_sec_2_div [SCOPE_NUM_PANELS] |
| double | m_sample_2_sec |
| int | m_int_rate_MHz |
| int | m_ext_rate_MHz |
| bool | m_use_ext_clock |
| bool | m_use_TTL |
| bool | m_trigger_position_keep |
| bool | m_started |
| bool | m_show_left_pane |
| bool | m_show_bottom_pane |
| bool | m_show_scope_left_top_pane |
| bool | m_show_scope_right_top_pane |
| bool | m_show_scope_left_bottom_pane |
| bool | m_show_scope_right_bottom_pane |
| double | m_sec_2_pix [SCOPE_NUM_PANELS] |
| double | m_div_2_pix_X [SCOPE_NUM_PANELS] |
| double | m_div_2_pix_Y [SCOPE_NUM_PANELS] |
| int | m_pix_Y [SCOPE_NUM_PANELS] |
| int | m_pix_X [SCOPE_NUM_PANELS] |
| void(* | ScopeRefresh )(int, bool) |
Protected Member Functions | |
| bool | EndVME (void) |
| bool | InitVME (void) |
Protected Attributes | |
| wxString | m_vme_board_type_string |
| int | m_vme_link |
| int | m_vme_board_num |
| int32_t | m_vme_handle |
Definition at line 24 of file appsettings.h.
|
|
Definition at line 39 of file appsettings.h. |
|
|
Definition at line 33 of file appsettings.h. |
|
|
Definition at line 27 of file appsettings.h. |
|
|
Definition at line 43 of file appsettings.cpp. References m_back_brush, m_grid_pen, m_mid_grid_pen, and SCOPE_NUM_PANELS. |
|
|
Definition at line 61 of file appsettings.cpp. References m_board_array. |
|
|
Definition at line 600 of file appsettings.cpp. References CAEN_VME_INVALID_HANDLE, m_vme_board_num, m_vme_handle, and m_vme_link. |
|
|
Definition at line 575 of file appsettings.cpp. |
|
|
Load data Definition at line 97 of file appsettings.cpp. References m_board_array, m_post_trigger, m_record_folder, m_sample_block_size, m_show_bottom_pane, m_show_left_pane, m_show_scope_left_bottom_pane, m_show_scope_left_top_pane, m_show_scope_right_bottom_pane, m_show_scope_right_top_pane, m_started, m_trigger_edge_type, m_trigger_msk, m_trigger_position_keep, NO_TRIGGER, and SCOPE_NUM_PANELS. |
|
|
Definition at line 109 of file appsettings.h. References m_sample_2_sec. |
|
|
save data Definition at line 405 of file appsettings.cpp. Referenced by MainFrame::OnCloseWindow(). |
|
||||||||||||
|
Definition at line 108 of file appsettings.h. |
|
||||||||||||
|
Definition at line 637 of file appsettings.cpp. References m_back_brush. Referenced by MainFrame::DoChooseColor(), and MainFrame::UpdateControls(). |
|
||||||||||||
|
Definition at line 673 of file appsettings.cpp. References m_ext_rate_MHz, m_use_ext_clock, and SetSec2Sample(). Referenced by MainFrame::UpdateClock(). |
|
||||||||||||
|
Definition at line 648 of file appsettings.cpp. References m_div_2_pix_X, m_sec_2_div, and m_sec_2_pix. |
|
||||||||||||||||
|
Definition at line 612 of file appsettings.cpp. References m_grid_pen, and m_mid_grid_pen. |
|
||||||||||||
|
Definition at line 656 of file appsettings.cpp. References m_div_2_pix_X, m_sec_2_div, and m_sec_2_pix. Referenced by MainFrame::UpdateSecPerDiv(). |
|
|
Definition at line 665 of file appsettings.cpp. References m_sample_2_sec, and m_sec_2_sample. Referenced by SetClock(). |
|
|
Definition at line 74 of file appsettings.h. Referenced by AppSettings(), and SetBackBrush(). |
|
|
Definition at line 68 of file appsettings.h. Referenced by MainFrame::DoChooseColor(). |
|
|
|
Definition at line 95 of file appsettings.h. Referenced by SetDiv2Pix(), and SetSec2Div(). |
|
|
Definition at line 95 of file appsettings.h. |
|
|
Definition at line 82 of file appsettings.h. Referenced by SetClock(). |
|
|
Definition at line 65 of file appsettings.h. Referenced by MainFrame::DoGridChooseColor(). |
|
|
Definition at line 66 of file appsettings.h. Referenced by MainFrame::OnGridLineType1ChoiceSelected(), MainFrame::OnGridLineType2ChoiceSelected(), MainFrame::OnGridLineType3ChoiceSelected(), and MainFrame::OnGridLineType4ChoiceSelected(). |
|
|
Definition at line 67 of file appsettings.h. Referenced by MainFrame::UpdateGridLineWidth(). |
|
|
Definition at line 72 of file appsettings.h. Referenced by AppSettings(), and SetGridPen(). |
|
|
Definition at line 81 of file appsettings.h. |
|
|
Definition at line 75 of file appsettings.h. Referenced by GenericBoardChannel::DrawSamples(), MainFrame::OnSizeXChoiceSelected(), and MainFrame::UpdateSecPerDiv(). |
|
|
Definition at line 73 of file appsettings.h. Referenced by AppSettings(), and SetGridPen(). |
|
|
Definition at line 58 of file appsettings.h. |
|
|
Definition at line 76 of file appsettings.h. Referenced by GenericBoardChannel::DrawSamples(), PhysicalBoardChannel::DrawTrigger(), MainFrame::UpdateOffsetSec(), and MainFrame::UpdateSecPerDiv(). |
|
|
Definition at line 96 of file appsettings.h. |
|
|
Definition at line 96 of file appsettings.h. |
|
|
Definition at line 62 of file appsettings.h. Referenced by Load(), MainFrame::UpdateSecPerDiv(), MainFrame::UpdateTriggerPost(), and V1724Board::WriteTriggerMode(). |
|
|
Definition at line 69 of file appsettings.h. Referenced by Load(), and MainFrame::UpdateRecordFolder(). |
|
|
Definition at line 79 of file appsettings.h. Referenced by GenericBoardChannel::Sample2Sec(), Sample2Sec(), SetSec2Sample(), and MainFrame::UpdateSecPerDiv(). |
|
|
Definition at line 63 of file appsettings.h. Referenced by Load(), and MainFrame::OnSizeXChoiceSelected(). |
|
|
Definition at line 78 of file appsettings.h. Referenced by SetDiv2Pix(), SetSec2Div(), MainFrame::UpdateControls(), and MainFrame::UpdateSecPerDiv(). |
|
|
Definition at line 94 of file appsettings.h. Referenced by SetDiv2Pix(), and SetSec2Div(). |
|
|
Definition at line 77 of file appsettings.h. Referenced by SetSec2Sample(). |
|
|
Definition at line 88 of file appsettings.h. Referenced by MainFrame::DoShowHideBottomPane(), and Load(). |
|
|
Definition at line 87 of file appsettings.h. Referenced by MainFrame::DoShowHideLeftPane(), and Load(). |
|
|
Definition at line 91 of file appsettings.h. Referenced by MainFrame::DoShowHideScopeLeftBottomPane(), and Load(). |
|
|
Definition at line 89 of file appsettings.h. Referenced by MainFrame::DoShowHideScopeLeftTopPane(), and Load(). |
|
|
Definition at line 92 of file appsettings.h. Referenced by MainFrame::DoShowHideScopeRightBottomPane(), and Load(). |
|
|
Definition at line 90 of file appsettings.h. Referenced by MainFrame::DoShowHideScopeRightTopPane(), and Load(). |
|
|
Definition at line 86 of file appsettings.h. Referenced by Load(). |
|
|
Definition at line 70 of file appsettings.h. Referenced by Load(), MainFrame::UpdateTriggerEdge(), and V1724Board::WriteTriggerMode(). |
|
|
Definition at line 61 of file appsettings.h. Referenced by Load(), MainFrame::OnTriggerAutoTogglebuttonClick(), and MainFrame::OnTriggerExtTogglebuttonClick(). |
|
|
Definition at line 85 of file appsettings.h. Referenced by Load(), and MainFrame::OnTriggerPositionKeepCheckboxClick(). |
|
|
Definition at line 83 of file appsettings.h. Referenced by SetClock(). |
|
|
Definition at line 84 of file appsettings.h. Referenced by MainFrame::UpdateUseTTL(). |
|
|
Definition at line 117 of file appsettings.h. Referenced by EndVME(). |
|
|
Definition at line 115 of file appsettings.h. |
|
|
Definition at line 118 of file appsettings.h. Referenced by EndVME(). |
|
|
Definition at line 116 of file appsettings.h. Referenced by EndVME(). |
|
|
|
1.4.6-NO