Scope
scope::gui::CFrameScanBasePage Class Reference

#include <FrameScanBasePage.h>

Inherits scope::gui::CNoScanBasePage.

Inherited by scope::gui::CFrameScanBidiPage, scope::gui::CFrameScanHopperPage, scope::gui::CFrameScanResonancePage, and scope::gui::CFrameScanSawPage.

Public Types

enum  { IDD = IDD_FRAMESCAN_SAW_PROPPAGE }
 
- Public Types inherited from scope::gui::CNoScanBasePage
enum  { IDD = IDD_NOSCAN_PROPPAGE }
 

Public Member Functions

 CFrameScanBasePage (const uint32_t &_area, parameters::ScannerVectorFrameBasic &_scanvecparams)
 
virtual ~CFrameScanBasePage ()
 
Called via Win32 messages

=/*;

()

virtual BOOL OnInitDialog (CWindow wndFocus, LPARAM lInitParam)
 
virtual LRESULT OnPresetSave (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
virtual LRESULT OnPresetDelete (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
virtual LRESULT OnPresetSelection (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
Called from ScopeController
void SetReadOnlyWhileScanning () override
 
Called internally
virtual void FillPresetCombo ()
 
- Public Member Functions inherited from scope::gui::CNoScanBasePage
 CNoScanBasePage (const uint32_t &_area, parameters::ScannerVectorFrameBasic &_scanvecparams)
 
virtual ~CNoScanBasePage (void)
 

Protected Attributes

CComboBox presets_combo
 
CButton savepreset_button
 
CButton deletepreset_button
 
CScopeScrollbarCtrl zoom_scroll
 
CScopeEditCtrl< double > zoom_edit
 
CScopeEditCtrl< uint32_t > xres_edit
 
CScopeEditCtrl< uint32_t > yres_edit
 
CScopeEditCtrl< double > xaspectratio_edit
 
CScopeEditCtrl< double > yaspectratio_edit
 
CScopeEditCtrl< uint32_t > averages_edit
 
CScopeEditCtrl< double > scannerdelay_edit
 
CScopeEditCtrl< double > xoffset_edit
 
CScopeEditCtrl< double > yoffset_edit
 
CScopeEditCtrl< double > framerate_edit
 
CScopeEditCtrl< double > frametime_edit
 
CScopeEditCtrl< double > linerate_edit
 
CScopeFOVDiagram diagram
 
- Protected Attributes inherited from scope::gui::CNoScanBasePage
bool initialized
 
ScopeController scope_controller
 
const uint32_t area
 
std::wstring strtitle
 
boost::signals2::connection rwstateconnection
 
CScopeScrollbarCtrl pockels_scroll
 
CScopeEditCtrl< double > pockels_edit
 
CScopeScrollbarCtrl fastz_scroll
 
CScopeEditCtrl< double > fastz_edit
 
CScopeScrollbarCtrl pixeltime_scroll
 
CScopeEditCtrl< double > pixeltime_edit
 
CScopeEditCtrl< double > fpux_edit
 
CScopeEditCtrl< double > fpuy_edit
 
CScopeButtonCtrl fpuleft_button
 
CScopeButtonCtrl fpuright_button
 
CScopeButtonCtrl fpuup_button
 
CScopeButtonCtrl fpudown_button
 

Detailed Description

Base class for all frame scan property pages.

Uses CToolTipDialog for displaying help tooltips. Add strings with the same ID as a control for help to that control.

Definition at line 20 of file FrameScanBasePage.h.

Member Enumeration Documentation

anonymous enum

Dialog resource ID, do not forget to overwrite in derived class constructor!

Definition at line 80 of file FrameScanBasePage.h.

Constructor & Destructor Documentation

scope::gui::CFrameScanBasePage::CFrameScanBasePage ( const uint32_t &  _area,
parameters::ScannerVectorFrameBasic _scanvecparams 
)

We need a pointer to a basic ScannerVector (could be e.g.

Saw really) but thus we can connect to (inherited) members

Definition at line 8 of file FrameScanBasePage.cpp.

scope::gui::CFrameScanBasePage::~CFrameScanBasePage ( )
virtual

Disconnect from ScopeController::ReadOnlyWhileScanning.

Definition at line 29 of file FrameScanBasePage.cpp.

Member Function Documentation

void scope::gui::CFrameScanBasePage::SetReadOnlyWhileScanning ( )
overridevirtual

Connected to ScopeController::ReadOnlyWhileScanning.

Reimplemented from scope::gui::CNoScanBasePage.

Definition at line 98 of file FrameScanBasePage.cpp.

Member Data Documentation

CComboBox scope::gui::CFrameScanBasePage::presets_combo
protected

Connection object to the ScopeController::ReadOnlyWhileScanning for setting controls RW state.

combo box with predefined scan options (resolution,dwell time, scanner delay etc etc)

Definition at line 28 of file FrameScanBasePage.h.

CButton scope::gui::CFrameScanBasePage::savepreset_button
protected

save preset button, only here for easy disabling during scanning

Definition at line 31 of file FrameScanBasePage.h.

CButton scope::gui::CFrameScanBasePage::deletepreset_button
protected

delete preset button, only here for easy disabling during scanning

Definition at line 34 of file FrameScanBasePage.h.

CScopeScrollbarCtrl scope::gui::CFrameScanBasePage::zoom_scroll
protected

zoom scrollbar control

Definition at line 37 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::zoom_edit
protected

zoom edit control

Definition at line 40 of file FrameScanBasePage.h.

CScopeEditCtrl<uint32_t> scope::gui::CFrameScanBasePage::xres_edit
protected

x resolution edit control

Definition at line 43 of file FrameScanBasePage.h.

CScopeEditCtrl<uint32_t> scope::gui::CFrameScanBasePage::yres_edit
protected

y resolution edit control

Definition at line 46 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::xaspectratio_edit
protected

x aspect ratio edit control

Definition at line 49 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::yaspectratio_edit
protected

y aspect ratio edit control

Definition at line 52 of file FrameScanBasePage.h.

CScopeEditCtrl<uint32_t> scope::gui::CFrameScanBasePage::averages_edit
protected

number of averages edit control

Definition at line 55 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::scannerdelay_edit
protected

scannerdelay in us

Definition at line 58 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::xoffset_edit
protected

offset of the x scanner center position (-1..1, relative to maximum FOV)

Definition at line 61 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::yoffset_edit
protected

offset of the y scanner center position (-1..1, relative to maximum FOV)

Definition at line 64 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::framerate_edit
protected

framerate edit control (edit disabled)

Definition at line 67 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::frametime_edit
protected

frametime edit control (edit disabled)

Definition at line 70 of file FrameScanBasePage.h.

CScopeEditCtrl<double> scope::gui::CFrameScanBasePage::linerate_edit
protected

linerate edit control (edit disabled)

Definition at line 73 of file FrameScanBasePage.h.

CScopeFOVDiagram scope::gui::CFrameScanBasePage::diagram
protected

diagram displaying FOV positions

Definition at line 76 of file FrameScanBasePage.h.


The documentation for this class was generated from the following files: