#include <WLANConfigurationDialog.h>
Public Types | |
IDD = IDD_DIALOG_WLAN_CONFIGURATION | |
enum | { IDD = IDD_DIALOG_WLAN_CONFIGURATION } |
Public Member Functions | |
CWLANConfigurationDialog (CWnd *pParent=NULL) | |
void | setWLANConfiguration (CRobotControlWLANConfiguration *externConfig) |
Public Attributes | |
CButton | m_updateCheck |
CButton | m_removeCheck |
CButton | m_ejectCheck |
CButton | m_unsafeCheck |
CButton | m_telnetCheck |
CString | m_nameEdit |
CIPAddressCtrl | m_ipRed1 |
CIPAddressCtrl | m_ipRed2 |
CIPAddressCtrl | m_ipRed3 |
CIPAddressCtrl | m_ipRed4 |
BOOL | m_useRed1 |
BOOL | m_useRed2 |
BOOL | m_useRed3 |
BOOL | m_useRed4 |
CString | m_essidRedEdit |
CIPAddressCtrl | m_netmaskRed |
CComboBox | m_apmodeRedEdit |
CComboBox | m_channelRedEdit |
CString | m_wepkeyRedEdit |
CIPAddressCtrl | m_ipBlue1 |
CIPAddressCtrl | m_ipBlue2 |
CIPAddressCtrl | m_ipBlue3 |
CIPAddressCtrl | m_ipBlue4 |
BOOL | m_useBlue1 |
BOOL | m_useBlue2 |
BOOL | m_useBlue3 |
BOOL | m_useBlue4 |
CString | m_essidBlueEdit |
CIPAddressCtrl | m_netmaskBlue |
CComboBox | m_apmodeBlueEdit |
CComboBox | m_channelBlueEdit |
CString | m_wepkeyBlueEdit |
CButton | m_isERS7 |
CButton | m_isERS210 |
CComboBox | m_whichToCopyTo |
CString | m_teamBlueEdit |
CString | m_teamRedEdit |
CButton | m_copyFiles |
CStatic | m_selectionIndicator [8] |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
void | OnCopy (bool red, int number, unsigned long ip) |
void | OnUpdate () |
CString | IPToStr (unsigned long ip) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnOneButtonCopy () |
afx_msg void | OnChangeCopyTarget () |
virtual void | OnOK () |
DECLARE_MESSAGE_MAP () | |
Protected Attributes | |
CRobotControlWLANConfiguration * | config |
Definition at line 22 of file WLANConfigurationDialog.h.
anonymous enum |
CWLANConfigurationDialog::CWLANConfigurationDialog | ( | CWnd * | pParent = NULL |
) |
Definition at line 16 of file WLANConfigurationDialog.cpp.
References m_teamBlueEdit, m_teamRedEdit, m_useBlue1, m_useBlue2, m_useBlue3, m_useBlue4, m_useRed1, m_useRed2, m_useRed3, m_useRed4, and m_wepkeyBlueEdit.
CWLANConfigurationDialog::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
void CWLANConfigurationDialog::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 35 of file WLANConfigurationDialog.cpp.
References IDC_WLAN_CONFIGURATION_BLUE_APMODE_COMBO, IDC_WLAN_CONFIGURATION_BLUE_CHANNEL_COMBO, IDC_WLAN_CONFIGURATION_BLUE_ESSID, IDC_WLAN_CONFIGURATION_BLUE_NETMASK, IDC_WLAN_CONFIGURATION_BLUE_ROBOT1_IP, IDC_WLAN_CONFIGURATION_BLUE_ROBOT1_USE, IDC_WLAN_CONFIGURATION_BLUE_ROBOT2_IP, IDC_WLAN_CONFIGURATION_BLUE_ROBOT2_USE, IDC_WLAN_CONFIGURATION_BLUE_ROBOT3_IP, IDC_WLAN_CONFIGURATION_BLUE_ROBOT3_USE, IDC_WLAN_CONFIGURATION_BLUE_ROBOT4_IP, IDC_WLAN_CONFIGURATION_BLUE_ROBOT4_USE, IDC_WLAN_CONFIGURATION_BLUE_TEAM, IDC_WLAN_CONFIGURATION_BLUE_WEPKEY, IDC_WLAN_CONFIGURATION_COPYFILES, IDC_WLAN_CONFIGURATION_EJECT_CHECK, IDC_WLAN_CONFIGURATION_NAME, IDC_WLAN_CONFIGURATION_RADIO_ERS210, IDC_WLAN_CONFIGURATION_RADIO_ERS7, IDC_WLAN_CONFIGURATION_RED_APMODE_COMBO, IDC_WLAN_CONFIGURATION_RED_CHANNEL_COMBO, IDC_WLAN_CONFIGURATION_RED_ESSID, IDC_WLAN_CONFIGURATION_RED_NETMASK, IDC_WLAN_CONFIGURATION_RED_ROBOT1_IP, IDC_WLAN_CONFIGURATION_RED_ROBOT1_USE, IDC_WLAN_CONFIGURATION_RED_ROBOT2_IP, IDC_WLAN_CONFIGURATION_RED_ROBOT2_USE, IDC_WLAN_CONFIGURATION_RED_ROBOT3_IP, IDC_WLAN_CONFIGURATION_RED_ROBOT3_USE, IDC_WLAN_CONFIGURATION_RED_ROBOT4_IP, IDC_WLAN_CONFIGURATION_RED_ROBOT4_USE, IDC_WLAN_CONFIGURATION_RED_TEAM, IDC_WLAN_CONFIGURATION_RED_WEPKEY, IDC_WLAN_CONFIGURATION_REMOVE_CHECK, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR1, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR2, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR3, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR4, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR5, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR6, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR7, IDC_WLAN_CONFIGURATION_SELECTIONINDICATOR8, IDC_WLAN_CONFIGURATION_TELNET_CHECK, IDC_WLAN_CONFIGURATION_UNSAFE_CHECK, IDC_WLAN_CONFIGURATION_UPDATE_CHECK, IDC_WLAN_CONFIGURATION_WHATROBOTTOCOPYFOR, m_apmodeBlueEdit, m_apmodeRedEdit, m_channelBlueEdit, m_channelRedEdit, m_copyFiles, m_ejectCheck, m_essidBlueEdit, m_essidRedEdit, m_ipBlue1, m_ipBlue2, m_ipBlue3, m_ipBlue4, m_ipRed1, m_ipRed2, m_ipRed3, m_ipRed4, m_isERS210, m_isERS7, m_nameEdit, m_netmaskBlue, m_netmaskRed, m_removeCheck, m_selectionIndicator, m_teamBlueEdit, m_teamRedEdit, m_telnetCheck, m_unsafeCheck, m_updateCheck, m_useBlue1, m_useBlue2, m_useBlue3, m_useBlue4, m_useRed1, m_useRed2, m_useRed3, m_useRed4, m_wepkeyBlueEdit, m_wepkeyRedEdit, and m_whichToCopyTo.
CString CWLANConfigurationDialog::IPToStr | ( | unsigned long | ip | ) | [protected] |
void CWLANConfigurationDialog::OnChangeCopyTarget | ( | ) | [protected] |
void CWLANConfigurationDialog::OnCopy | ( | bool | red, | |
int | number, | |||
unsigned long | ip | |||
) | [protected] |
Definition at line 298 of file WLANConfigurationDialog.cpp.
References Player::blue, config, OutMessage::finishMessage(), File::getGTDir(), Player::getPlayerNumberName(), getQueues(), Player::getTeamColorName(), idText, IPToStr(), m_apmodeBlueEdit, m_apmodeRedEdit, m_channelBlueEdit, m_channelRedEdit, m_ejectCheck, m_essidBlueEdit, m_essidRedEdit, m_isERS7, m_netmaskBlue, m_netmaskRed, m_removeCheck, m_telnetCheck, m_unsafeCheck, m_updateCheck, m_wepkeyBlueEdit, m_wepkeyRedEdit, MessageQueue::out, Player::red, CRobotControlWLANConfiguration::teamIdentifierBlue, CRobotControlWLANConfiguration::teamIdentifierRed, OutMessage::text, and CRobotControlQueues::toGUI.
Referenced by OnOneButtonCopy().
BOOL CWLANConfigurationDialog::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 122 of file WLANConfigurationDialog.cpp.
References CRobotControlWLANConfiguration::apmodeBlue, CRobotControlWLANConfiguration::apmodeRed, CRobotControlWLANConfiguration::channelBlue, CRobotControlWLANConfiguration::channelRed, config, CRobotControlWLANConfiguration::essidBlue, CRobotControlWLANConfiguration::essidRed, IDB_CREATENEW, CRobotControlWLANConfiguration::ipBlue, CRobotControlWLANConfiguration::ipRed, m_apmodeBlueEdit, m_apmodeRedEdit, m_channelBlueEdit, m_channelRedEdit, m_copyFiles, m_ejectCheck, m_essidBlueEdit, m_essidRedEdit, m_ipBlue1, m_ipBlue2, m_ipBlue3, m_ipBlue4, m_ipRed1, m_ipRed2, m_ipRed3, m_ipRed4, m_isERS210, m_isERS7, m_nameEdit, m_netmaskBlue, m_netmaskRed, m_removeCheck, m_teamBlueEdit, m_teamRedEdit, m_telnetCheck, m_unsafeCheck, m_updateCheck, m_useBlue1, m_useBlue2, m_useBlue3, m_useBlue4, m_useRed1, m_useRed2, m_useRed3, m_useRed4, m_wepkeyBlueEdit, m_wepkeyRedEdit, m_whichToCopyTo, CRobotControlWLANConfiguration::name, CRobotControlWLANConfiguration::netmaskBlue, CRobotControlWLANConfiguration::netmaskRed, OnChangeCopyTarget(), OnUpdate(), CRobotControlWLANConfiguration::teamIdentifierBlue, CRobotControlWLANConfiguration::teamIdentifierRed, TRUE, CRobotControlWLANConfiguration::useBlue, CRobotControlWLANConfiguration::useRed, CRobotControlWLANConfiguration::wepkeyBlue, and CRobotControlWLANConfiguration::wepkeyRed.
void CWLANConfigurationDialog::OnOK | ( | ) | [protected, virtual] |
Definition at line 198 of file WLANConfigurationDialog.cpp.
References CRobotControlWLANConfiguration::apmodeBlue, CRobotControlWLANConfiguration::apmodeRed, CRobotControlWLANConfiguration::channelBlue, CRobotControlWLANConfiguration::channelRed, config, CRobotControlWLANConfiguration::essidBlue, CRobotControlWLANConfiguration::essidRed, CRobotControlWLANConfiguration::ipBlue, CRobotControlWLANConfiguration::ipRed, m_apmodeBlueEdit, m_apmodeRedEdit, m_channelBlueEdit, m_channelRedEdit, m_ejectCheck, m_essidBlueEdit, m_essidRedEdit, m_ipBlue1, m_ipBlue2, m_ipBlue3, m_ipBlue4, m_ipRed1, m_ipRed2, m_ipRed3, m_ipRed4, m_isERS7, m_nameEdit, m_netmaskBlue, m_netmaskRed, m_removeCheck, m_teamBlueEdit, m_teamRedEdit, m_telnetCheck, m_unsafeCheck, m_updateCheck, m_useBlue1, m_useBlue2, m_useBlue3, m_useBlue4, m_useRed1, m_useRed2, m_useRed3, m_useRed4, m_wepkeyBlueEdit, m_wepkeyRedEdit, m_whichToCopyTo, CRobotControlWLANConfiguration::name, CRobotControlWLANConfiguration::netmaskBlue, CRobotControlWLANConfiguration::netmaskRed, CRobotControlWLANConfiguration::teamIdentifierBlue, CRobotControlWLANConfiguration::teamIdentifierRed, CRobotControlWLANConfiguration::useBlue, CRobotControlWLANConfiguration::useRed, CRobotControlWLANConfiguration::wepkeyBlue, and CRobotControlWLANConfiguration::wepkeyRed.
void CWLANConfigurationDialog::OnOneButtonCopy | ( | ) | [protected] |
void CWLANConfigurationDialog::OnUpdate | ( | ) | [protected] |
Definition at line 254 of file WLANConfigurationDialog.cpp.
References m_isERS210, m_isERS7, m_removeCheck, m_telnetCheck, m_unsafeCheck, and m_updateCheck.
Referenced by OnInitDialog().
void CWLANConfigurationDialog::setWLANConfiguration | ( | CRobotControlWLANConfiguration * | externConfig | ) |
Definition at line 357 of file WLANConfigurationDialog.cpp.
References config.
Referenced by CWLANToolBar::OnAdd(), and CWLANToolBar::OnEdit().
Definition at line 78 of file WLANConfigurationDialog.h.
Referenced by OnCopy(), OnInitDialog(), OnOK(), and setWLANConfiguration().
Definition at line 59 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 46 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 60 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 47 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 67 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 32 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 57 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 44 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
CIPAddressCtrl CWLANConfigurationDialog::m_ipBlue1 |
Definition at line 49 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipBlue2 |
Definition at line 50 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipBlue3 |
Definition at line 51 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipBlue4 |
Definition at line 52 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipRed1 |
Definition at line 36 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipRed2 |
Definition at line 37 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipRed3 |
Definition at line 38 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
CIPAddressCtrl CWLANConfigurationDialog::m_ipRed4 |
Definition at line 39 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().
Definition at line 63 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnUpdate().
Definition at line 62 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), OnOK(), and OnUpdate().
Definition at line 35 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnOK().
CIPAddressCtrl CWLANConfigurationDialog::m_netmaskBlue |
Definition at line 58 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
CIPAddressCtrl CWLANConfigurationDialog::m_netmaskRed |
Definition at line 45 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 31 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), OnOK(), and OnUpdate().
Definition at line 65 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 66 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 34 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), OnOK(), and OnUpdate().
Definition at line 33 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), OnOK(), and OnUpdate().
Definition at line 30 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), OnOK(), and OnUpdate().
Definition at line 53 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 54 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 55 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 56 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 40 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 41 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 42 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 43 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnInitDialog(), and OnOK().
Definition at line 61 of file WLANConfigurationDialog.h.
Referenced by CWLANConfigurationDialog(), DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 48 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnCopy(), OnInitDialog(), and OnOK().
Definition at line 64 of file WLANConfigurationDialog.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnOneButtonCopy().