Scope
StimulationSettingsPage.h
1 #pragma once
2 
3 #include "controls/ScopeEditCtrl.h"
4 #include "controls/ScopeCheckBoxCtrl.h"
5 #include "controllers/ScopeController.h"
6 #include "resource.h"
7 
8 namespace scope {
9  namespace gui {
10 
13  public CPropertyPageImpl<CStimulationSettingsPage> {
14 
15 protected:
18 
21 
24 
27 
30 
33 
34 public:
35 
36  enum { IDD = IDD_STIMULATION_PROPPAGE };
37 
42 
43  BEGIN_MSG_MAP_EX(CStimulationSettingsPage)
44  MSG_WM_INITDIALOG(OnInitDialog);
45  REFLECT_NOTIFICATIONS()
46  END_MSG_MAP()
47 
50  BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
54  void EnableDisableControls();
55 };
56 
57 }}
58 
Main controller of microscope hardware and acquisition, also interface to the GUI.
CScopeEditCtrl< double > onset
stimulation onset (in sec)
Settings page for stimulation stuff.
CScopeEditCtrl< double > ontime
on time of one stimulation pulse (in sec)
CScopeEditCtrl< double > offtime
off time of one stimulation pulse (in sec)
CStimulationSettingsPage(void)
create the edit objects (e.g.
CScopeCheckBoxCtrl enabled
to enable the whole stimulation page
void EnableDisableControls()
Enable/Disable controls, depending on scope_controller.GuiParameters.stimulation.enable() ...
scope::ScopeController scope_controller
keep a ScopeController for connecting GUI controls
An adapted CButton control as checkbox around a ScopeValue.
CScopeEditCtrl< double > duration
total duration of stimulation, is filled with as many stimulation pulses as possible according to on&...