2 #include "StimulationSettingsPage.h"
9 : onset(&scope_controller.GuiParameters.stimulation.onset, true)
10 , duration(&scope_controller.GuiParameters.stimulation.duration, true)
11 , ontime(&scope_controller.GuiParameters.stimulation.ontime, true)
12 , offtime(&scope_controller.GuiParameters.stimulation.offtime, true)
13 , enabled(&scope_controller.GuiParameters.stimulation.enable, true) {
18 DBOUT(L
"CStimulationSettings::EnableDisableControls\n");
27 BOOL CStimulationSettingsPage::OnInitDialog(CWindow wndFocus, LPARAM lInitParam) {
CScopeEditCtrl< double > onset
stimulation onset (in sec)
void SetState(const bool &state)
Sets the enabled/disabled state of the control.
bool AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item.
ScopeNumber< bool > enable
stimulation enabled/disabled
CScopeEditCtrl< double > ontime
on time of one stimulation pulse (in sec)
This is the include file for standard system include files, or project specific include files that ar...
CScopeEditCtrl< double > offtime
off time of one stimulation pulse (in sec)
#define DBOUT(s)
A debug output to the debug console.
bool AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item.
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
CScopeEditCtrl< double > duration
total duration of stimulation, is filled with as many stimulation pulses as possible according to on&...
boost::signals2::connection ConnectOther(signalchange_t::slot_type slot)
Connect signal to slot to other stuff.
static parameters::Scope GuiParameters
The complete pseudo-global parameter set of the microscope.
Stimulation stimulation
the StimulationParameters