#include <TestDataGeneratorDlgBar.h>
Inheritance diagram for CTestDataGeneratorDlgBar:
Definition at line 126 of file TestDataGeneratorDlgBar.h.
anonymous enum |
CTestDataGeneratorDlgBar::CTestDataGeneratorDlgBar | ( | ) |
Definition at line 14 of file TestDataGeneratorDlgBar.cpp.
CTestDataGeneratorDlgBar::~CTestDataGeneratorDlgBar | ( | ) |
CTestDataGeneratorDlgBar::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
Reimplemented from CDynamicBarDlg.
void CTestDataGeneratorDlgBar::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 27 of file TestDataGeneratorDlgBar.cpp.
References IDC_TDG_DESCRIPTION_A_EDIT, IDC_TDG_DESCRIPTION_B_EDIT, IDC_TDG_DESCRIPTION_C_EDIT, IDC_TDG_DESCRIPTION_D_EDIT, IDC_TDG_DESCRIPTION_E_EDIT, IDC_TDG_DESCRIPTION_F_EDIT, IDC_TDG_DESCRIPTION_G_EDIT, IDC_TDG_DESCRIPTION_H_EDIT, IDC_TDG_DESCRIPTION_I_EDIT, IDC_TDG_DESCRIPTION_J_EDIT, IDC_TDG_MAX_A_EDIT, IDC_TDG_MAX_B_EDIT, IDC_TDG_MAX_C_EDIT, IDC_TDG_MAX_D_EDIT, IDC_TDG_MAX_E_EDIT, IDC_TDG_MAX_F_EDIT, IDC_TDG_MAX_G_EDIT, IDC_TDG_MAX_H_EDIT, IDC_TDG_MAX_I_EDIT, IDC_TDG_MAX_J_EDIT, IDC_TDG_MIN_A_EDIT, IDC_TDG_MIN_B_EDIT, IDC_TDG_MIN_C_EDIT, IDC_TDG_MIN_D_EDIT, IDC_TDG_MIN_E_EDIT, IDC_TDG_MIN_F_EDIT, IDC_TDG_MIN_G_EDIT, IDC_TDG_MIN_H_EDIT, IDC_TDG_MIN_I_EDIT, IDC_TDG_MIN_J_EDIT, IDC_TDG_SEND_ON_CHANGE_CHECK, IDC_TDG_SLIDER1, IDC_TDG_SLIDER10, IDC_TDG_SLIDER2, IDC_TDG_SLIDER3, IDC_TDG_SLIDER4, IDC_TDG_SLIDER5, IDC_TDG_SLIDER6, IDC_TDG_SLIDER7, IDC_TDG_SLIDER8, IDC_TDG_SLIDER9, IDC_TDG_TEST_DATA_SORT_COMBO, IDC_TDG_TEST_ON_ROBOT_CHECK, IDC_TDG_VALUE_A_EDIT, IDC_TDG_VALUE_B_EDIT, IDC_TDG_VALUE_C_EDIT, IDC_TDG_VALUE_D_EDIT, IDC_TDG_VALUE_E_EDIT, IDC_TDG_VALUE_F_EDIT, IDC_TDG_VALUE_G_EDIT, IDC_TDG_VALUE_H_EDIT, IDC_TDG_VALUE_I_EDIT, IDC_TDG_VALUE_J_EDIT, m_descriptionAEdit, m_descriptionBEdit, m_descriptionCEdit, m_descriptionDEdit, m_descriptionEEdit, m_descriptionFEdit, m_descriptionGEdit, m_descriptionHEdit, m_descriptionIEdit, m_descriptionJEdit, m_maxAEdit, m_maxBEdit, m_maxCEdit, m_maxDEdit, m_maxEEdit, m_maxFEdit, m_maxGEdit, m_maxHEdit, m_maxIEdit, m_maxJEdit, m_minAEdit, m_minBEdit, m_minCEdit, m_minDEdit, m_minEEdit, m_minFEdit, m_minGEdit, m_minHEdit, m_minIEdit, m_minJEdit, m_sendOnChangeCheck, m_slider1, m_slider10, m_slider2, m_slider3, m_slider4, m_slider5, m_slider6, m_slider7, m_slider8, m_slider9, m_testDataTypeCombo, m_testOnRobotCheck, m_valueAEdit, m_valueBEdit, m_valueCEdit, m_valueDEdit, m_valueEEdit, m_valueFEdit, m_valueGEdit, m_valueHEdit, m_valueIEdit, and m_valueJEdit.
void CTestDataGeneratorDlgBar::generateTestData | ( | ) | [private] |
Definition at line 256 of file TestDataGeneratorDlgBar.cpp.
References GenericDebugData::data, TestDataGenerator::generateTestData(), TestDataGenerator::genericDebugData, getQueues(), GenericDebugData::id, selectedGenericDebugDataID, selectedTestDataType, testLocal, testOnRobot, GenericDebugData::unknown, and value.
Referenced by OnChangeValue(), OnDefaultButton(), OnHScroll(), OnSelchangeTestDataTypeCombo(), and OnSendButton().
void CTestDataGeneratorDlgBar::loadParameters | ( | ) | [private] |
Definition at line 300 of file TestDataGeneratorDlgBar.cpp.
References description, enableDescriptionEdit, TestDataGenerator::genericDebugData, GenericDebugData::getDefaultValue(), GenericDebugData::getGenericDebugDateName(), GenericDebugData::getParameterName(), TestDataGenerator::getTestDataTypeName(), max, min, selectedGenericDebugDataID, selectedTestDataType, sendOnChange, testLocal, testOnRobot, and value.
Referenced by OnSelchangeTestDataTypeCombo().
void CTestDataGeneratorDlgBar::OnChangeDescription | ( | ) | [protected] |
Definition at line 508 of file TestDataGeneratorDlgBar.cpp.
References description, m_descriptionAEdit, m_descriptionBEdit, m_descriptionCEdit, m_descriptionDEdit, m_descriptionEEdit, m_descriptionFEdit, m_descriptionGEdit, m_descriptionHEdit, m_descriptionIEdit, and m_descriptionJEdit.
void CTestDataGeneratorDlgBar::OnChangeMinMax | ( | ) | [protected] |
Definition at line 522 of file TestDataGeneratorDlgBar.cpp.
References m_maxAEdit, m_maxBEdit, m_maxCEdit, m_maxDEdit, m_maxEEdit, m_maxFEdit, m_maxGEdit, m_maxHEdit, m_maxIEdit, m_maxJEdit, m_minAEdit, m_minBEdit, m_minCEdit, m_minDEdit, m_minEEdit, m_minFEdit, m_minGEdit, m_minHEdit, m_minIEdit, m_minJEdit, max, min, setSliderRanges(), and setSliders().
void CTestDataGeneratorDlgBar::OnChangeValue | ( | ) | [protected] |
Definition at line 484 of file TestDataGeneratorDlgBar.cpp.
References generateTestData(), m_valueAEdit, m_valueBEdit, m_valueCEdit, m_valueDEdit, m_valueEEdit, m_valueFEdit, m_valueGEdit, m_valueHEdit, m_valueIEdit, m_valueJEdit, max, min, sendOnChange, setSliders(), and value.
void CTestDataGeneratorDlgBar::OnDefaultButton | ( | ) | [protected] |
Definition at line 218 of file TestDataGeneratorDlgBar.cpp.
References description, generateTestData(), TestDataGenerator::genericDebugData, GenericDebugData::getDefaultValue(), GenericDebugData::getMaxValue(), GenericDebugData::getMinValue(), GenericDebugData::getParameterName(), max, min, selectedGenericDebugDataID, selectedTestDataType, sendOnChange, setDescription(), setSliderRanges(), setSliders(), and value.
void CTestDataGeneratorDlgBar::OnHScroll | ( | UINT | nSBCode, | |
UINT | nPos, | |||
CScrollBar * | pScrollBar | |||
) | [protected] |
Definition at line 237 of file TestDataGeneratorDlgBar.cpp.
References generateTestData(), m_slider1, m_slider10, m_slider2, m_slider3, m_slider4, m_slider5, m_slider6, m_slider7, m_slider8, m_slider9, scale, sendOnChange, setSliders(), and value.
BOOL CTestDataGeneratorDlgBar::OnInitDialog | ( | ) | [protected, virtual] |
Reimplemented from CDynamicDialog.
Definition at line 144 of file TestDataGeneratorDlgBar.cpp.
References TestDataGenerator::genericDebugData, GenericDebugData::getGenericDebugDateName(), TestDataGenerator::getTestDataTypeName(), TestDataGenerator::numberOfTestDataTypes, GenericDebugData::numOfGenericDebugDataIDs, and CDynamicDialog::OnInitDialog().
void CTestDataGeneratorDlgBar::OnSelchangeTestDataTypeCombo | ( | ) | [protected] |
Definition at line 275 of file TestDataGeneratorDlgBar.cpp.
References generateTestData(), TestDataGenerator::genericDebugData, int(), loadParameters(), m_sendOnChangeCheck, m_testDataTypeCombo, m_testOnRobotCheck, TestDataGenerator::numberOfTestDataTypes, saveParameters(), selectedGenericDebugDataID, selectedTestDataType, sendOnChange, setDescription(), setSliderRanges(), setSliders(), and testOnRobot.
void CTestDataGeneratorDlgBar::OnSendButton | ( | ) | [protected] |
void CTestDataGeneratorDlgBar::OnSendOnChangeCheck | ( | ) | [protected] |
Definition at line 192 of file TestDataGeneratorDlgBar.cpp.
References m_sendOnChangeCheck, and sendOnChange.
void CTestDataGeneratorDlgBar::OnTestOnRobotCheck | ( | ) | [protected] |
Definition at line 198 of file TestDataGeneratorDlgBar.cpp.
References m_testOnRobotCheck, testLocal, and testOnRobot.
void CTestDataGeneratorDlgBar::saveParameters | ( | ) | [private] |
Definition at line 341 of file TestDataGeneratorDlgBar.cpp.
References description, TestDataGenerator::genericDebugData, GenericDebugData::getGenericDebugDateName(), TestDataGenerator::getTestDataTypeName(), max, min, selectedGenericDebugDataID, selectedTestDataType, sendOnChange, testLocal, testOnRobot, and value.
Referenced by OnSelchangeTestDataTypeCombo(), and ~CTestDataGeneratorDlgBar().
void CTestDataGeneratorDlgBar::setDescription | ( | ) | [private] |
Definition at line 397 of file TestDataGeneratorDlgBar.cpp.
References description, m_descriptionAEdit, m_descriptionBEdit, m_descriptionCEdit, m_descriptionDEdit, m_descriptionEEdit, m_descriptionFEdit, m_descriptionGEdit, m_descriptionHEdit, m_descriptionIEdit, and m_descriptionJEdit.
Referenced by OnDefaultButton(), and OnSelchangeTestDataTypeCombo().
void CTestDataGeneratorDlgBar::setSliderRanges | ( | ) | [private] |
Definition at line 368 of file TestDataGeneratorDlgBar.cpp.
References m_slider1, m_slider10, m_slider2, m_slider3, m_slider4, m_slider5, m_slider6, m_slider7, m_slider8, m_slider9, max, min, scale, and value.
Referenced by OnChangeMinMax(), OnDefaultButton(), and OnSelchangeTestDataTypeCombo().
void CTestDataGeneratorDlgBar::setSliders | ( | ) | [private] |
Definition at line 411 of file TestDataGeneratorDlgBar.cpp.
References m_maxAEdit, m_maxBEdit, m_maxCEdit, m_maxDEdit, m_maxEEdit, m_maxFEdit, m_maxGEdit, m_maxHEdit, m_maxIEdit, m_maxJEdit, m_minAEdit, m_minBEdit, m_minCEdit, m_minDEdit, m_minEEdit, m_minFEdit, m_minGEdit, m_minHEdit, m_minIEdit, m_minJEdit, m_slider1, m_slider10, m_slider2, m_slider3, m_slider4, m_slider5, m_slider6, m_slider7, m_slider8, m_slider9, m_valueAEdit, m_valueBEdit, m_valueCEdit, m_valueDEdit, m_valueEEdit, m_valueFEdit, m_valueGEdit, m_valueHEdit, m_valueIEdit, m_valueJEdit, max, min, scale, and value.
Referenced by OnChangeMinMax(), OnChangeValue(), OnDefaultButton(), OnHScroll(), and OnSelchangeTestDataTypeCombo().
void CTestDataGeneratorDlgBar::updateUI | ( | CCmdUI * | pCmdUI | ) | [virtual] |
Enables the controls in the toolbar. This function is called from the main window for all controls.
pCmdUI | An interface to the control that allows enabling/disabling, checking etc. |
Reimplemented from CRobotControlDialogBar.
Definition at line 572 of file TestDataGeneratorDlgBar.cpp.
References enableDescriptionEdit, IDC_TDG_DESCRIPTION_A_EDIT, IDC_TDG_DESCRIPTION_B_EDIT, IDC_TDG_DESCRIPTION_C_EDIT, IDC_TDG_DESCRIPTION_D_EDIT, IDC_TDG_DESCRIPTION_E_EDIT, IDC_TDG_DESCRIPTION_F_EDIT, IDC_TDG_DESCRIPTION_G_EDIT, IDC_TDG_DESCRIPTION_H_EDIT, IDC_TDG_DESCRIPTION_I_EDIT, and IDC_TDG_DESCRIPTION_J_EDIT.
CString CTestDataGeneratorDlgBar::description[10] [private] |
Definition at line 237 of file TestDataGeneratorDlgBar.h.
Referenced by loadParameters(), OnChangeDescription(), OnDefaultButton(), saveParameters(), and setDescription().
Definition at line 134 of file TestDataGeneratorDlgBar.h.
Referenced by loadParameters(), and updateUI().
Definition at line 146 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 147 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 148 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 149 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 150 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 151 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 152 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 153 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 154 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 155 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeDescription(), and setDescription().
Definition at line 176 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 175 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 174 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 173 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 172 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 171 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 170 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 169 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 168 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 167 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 166 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 165 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 164 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 163 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 162 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 161 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 160 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 159 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 157 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 158 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeMinMax(), and setSliders().
Definition at line 178 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnSelchangeTestDataTypeCombo(), and OnSendOnChangeCheck().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider1 |
Definition at line 188 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider10 |
Definition at line 179 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider2 |
Definition at line 187 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider3 |
Definition at line 186 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider4 |
Definition at line 185 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider5 |
Definition at line 184 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider6 |
Definition at line 183 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider7 |
Definition at line 182 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider8 |
Definition at line 181 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
CSliderCtrl CTestDataGeneratorDlgBar::m_slider9 |
Definition at line 180 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), setSliderRanges(), and setSliders().
Definition at line 177 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), and OnSelchangeTestDataTypeCombo().
Definition at line 156 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnSelchangeTestDataTypeCombo(), and OnTestOnRobotCheck().
Definition at line 198 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 197 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 196 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 195 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 194 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 193 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 192 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 191 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 190 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
Definition at line 189 of file TestDataGeneratorDlgBar.h.
Referenced by DoDataExchange(), OnChangeValue(), and setSliders().
float CTestDataGeneratorDlgBar::max[10] [private] |
Definition at line 234 of file TestDataGeneratorDlgBar.h.
Referenced by loadParameters(), OnChangeMinMax(), OnChangeValue(), OnDefaultButton(), saveParameters(), setSliderRanges(), and setSliders().
float CTestDataGeneratorDlgBar::min[10] [private] |
Definition at line 233 of file TestDataGeneratorDlgBar.h.
Referenced by loadParameters(), OnChangeMinMax(), OnChangeValue(), OnDefaultButton(), saveParameters(), setSliderRanges(), and setSliders().
double CTestDataGeneratorDlgBar::scale[10] [private] |
Definition at line 236 of file TestDataGeneratorDlgBar.h.
Referenced by OnHScroll(), setSliderRanges(), and setSliders().
Definition at line 240 of file TestDataGeneratorDlgBar.h.
Referenced by generateTestData(), loadParameters(), OnDefaultButton(), OnSelchangeTestDataTypeCombo(), and saveParameters().
Definition at line 239 of file TestDataGeneratorDlgBar.h.
Referenced by generateTestData(), loadParameters(), OnDefaultButton(), OnSelchangeTestDataTypeCombo(), and saveParameters().
bool CTestDataGeneratorDlgBar::sendOnChange [private] |
Definition at line 245 of file TestDataGeneratorDlgBar.h.
Referenced by loadParameters(), OnChangeValue(), OnDefaultButton(), OnHScroll(), OnSelchangeTestDataTypeCombo(), OnSendOnChangeCheck(), and saveParameters().
bool CTestDataGeneratorDlgBar::testLocal [private] |
Definition at line 243 of file TestDataGeneratorDlgBar.h.
Referenced by generateTestData(), loadParameters(), OnTestOnRobotCheck(), and saveParameters().
bool CTestDataGeneratorDlgBar::testOnRobot [private] |
Definition at line 242 of file TestDataGeneratorDlgBar.h.
Referenced by generateTestData(), loadParameters(), OnSelchangeTestDataTypeCombo(), OnTestOnRobotCheck(), and saveParameters().
float CTestDataGeneratorDlgBar::value[10] [private] |
Definition at line 235 of file TestDataGeneratorDlgBar.h.
Referenced by generateTestData(), loadParameters(), OnChangeValue(), OnDefaultButton(), OnHScroll(), saveParameters(), setSliderRanges(), and setSliders().