Scope
scope::gui::CStimulationSettingsPage Class Reference

#include <StimulationSettingsPage.h>

Inherits CPropertyPageImpl< CStimulationSettingsPage >.

Public Types

enum  { IDD = IDD_STIMULATION_PROPPAGE }
 

Public Member Functions

 CStimulationSettingsPage (void)
 
void EnableDisableControls ()
 
Called via Win32 messages

=/*;

()

BOOL OnInitDialog (CWindow wndFocus, LPARAM lInitParam)
 

Protected Attributes

scope::ScopeController scope_controller
 
CScopeEditCtrl< double > onset
 
CScopeEditCtrl< double > duration
 
CScopeEditCtrl< double > ontime
 
CScopeEditCtrl< double > offtime
 
CScopeCheckBoxCtrl enabled
 

Detailed Description

Settings page for stimulation stuff.

Definition at line 12 of file StimulationSettingsPage.h.

Constructor & Destructor Documentation

scope::gui::CStimulationSettingsPage::CStimulationSettingsPage ( void  )

create the edit objects (e.g.

ScopeEditImpl) and tie them to the global variables (ScopeValues) set connect back to true -> on change of ScopeValue (e.g. by ScopeController) the dialog control will be updated accordingly

Definition at line 8 of file StimulationSettingsPage.cpp.

Member Function Documentation

void scope::gui::CStimulationSettingsPage::EnableDisableControls ( )

Enable/Disable controls, depending on scope_controller.GuiParameters.stimulation.enable()

Definition at line 17 of file StimulationSettingsPage.cpp.

Member Data Documentation

scope::ScopeController scope::gui::CStimulationSettingsPage::scope_controller
protected

keep a ScopeController for connecting GUI controls

Definition at line 17 of file StimulationSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStimulationSettingsPage::onset
protected

stimulation onset (in sec)

Definition at line 20 of file StimulationSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStimulationSettingsPage::duration
protected

total duration of stimulation, is filled with as many stimulation pulses as possible according to on&off time (in sec)

Definition at line 23 of file StimulationSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStimulationSettingsPage::ontime
protected

on time of one stimulation pulse (in sec)

Definition at line 26 of file StimulationSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStimulationSettingsPage::offtime
protected

off time of one stimulation pulse (in sec)

Definition at line 29 of file StimulationSettingsPage.h.

CScopeCheckBoxCtrl scope::gui::CStimulationSettingsPage::enabled
protected

to enable the whole stimulation page

Definition at line 32 of file StimulationSettingsPage.h.


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