#include <WLANDeployDialog.h>
Public Types | |
IDD = IDD_DIALOG_WLAN_DEPLOY | |
enum | { IDD = IDD_DIALOG_WLAN_DEPLOY } |
Public Member Functions | |
CWLANDeployDialog (CWnd *pParent=NULL) | |
void | setWLANConfiguration (CRobotControlWLANConfiguration *externConfig) |
Public Attributes | |
CButton | m_PingAll |
CButton | m_RefreshAll |
CButton | m_Refresh |
CButton | m_WLANUpdatesColortable |
CButton | m_WLANUpdatesBinaries |
CString | m_Aibo [8] |
CString | m_Stick [8] |
CString | m_IP [8] |
CComboBox | m_Binaries [8] |
CComboBox | m_Colortable [8] |
CStatic | m_Ping [8] |
CStatic | m_Indicator [8] |
CComboBox | m_MS |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
CString | IPToStr (unsigned long ip) |
void | updateSlotFromFile (CString fname, int forcedNumber) |
void | setPingIcon (int number, int status) |
int | getAiboName (const char *mac, char *name) |
void | refreshBinaryCombo () |
void | refreshColortableCombo () |
void | copyStick (int number) |
void | copyWLAN (int number) |
void | prepareImage (int number) |
void | selectIndicator (int number) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnRefresh () |
afx_msg void | OnRefreshAll () |
afx_msg void | OnPingAll () |
afx_msg void | OnSnapshot () |
afx_msg void | OnCopyStick0 () |
afx_msg void | OnCopyStick1 () |
afx_msg void | OnCopyStick2 () |
afx_msg void | OnCopyStick3 () |
afx_msg void | OnCopyStick4 () |
afx_msg void | OnCopyStick5 () |
afx_msg void | OnCopyStick6 () |
afx_msg void | OnCopyStick7 () |
afx_msg void | OnCopyWLAN0 () |
afx_msg void | OnCopyWLAN1 () |
afx_msg void | OnCopyWLAN2 () |
afx_msg void | OnCopyWLAN3 () |
afx_msg void | OnCopyWLAN4 () |
afx_msg void | OnCopyWLAN5 () |
afx_msg void | OnCopyWLAN6 () |
afx_msg void | OnCopyWLAN7 () |
virtual void | OnOK () |
DECLARE_MESSAGE_MAP () | |
Protected Attributes | |
CRobotControlWLANConfiguration * | config |
Definition at line 29 of file WLANDeployDialog.h.
anonymous enum |
CWLANDeployDialog::CWLANDeployDialog | ( | CWnd * | pParent = NULL |
) |
Definition at line 25 of file WLANDeployDialog.cpp.
void CWLANDeployDialog::copyStick | ( | int | number | ) | [protected] |
Definition at line 270 of file WLANDeployDialog.cpp.
References File::getGTDir(), m_Binaries, m_Colortable, m_MS, and prepareImage().
Referenced by OnCopyStick0(), OnCopyStick1(), OnCopyStick2(), OnCopyStick3(), OnCopyStick4(), OnCopyStick5(), OnCopyStick6(), and OnCopyStick7().
void CWLANDeployDialog::copyWLAN | ( | int | number | ) | [protected] |
Definition at line 378 of file WLANDeployDialog.cpp.
References File::getGTDir(), m_Binaries, m_Colortable, m_IP, m_WLANUpdatesColortable, and prepareImage().
Referenced by OnCopyWLAN0(), OnCopyWLAN1(), OnCopyWLAN2(), OnCopyWLAN3(), OnCopyWLAN4(), OnCopyWLAN5(), OnCopyWLAN6(), and OnCopyWLAN7().
CWLANDeployDialog::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
void CWLANDeployDialog::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 35 of file WLANDeployDialog.cpp.
References IDC_WLAN_DEPLOY_AIBO1, IDC_WLAN_DEPLOY_AIBO2, IDC_WLAN_DEPLOY_AIBO3, IDC_WLAN_DEPLOY_AIBO4, IDC_WLAN_DEPLOY_AIBO5, IDC_WLAN_DEPLOY_AIBO6, IDC_WLAN_DEPLOY_AIBO7, IDC_WLAN_DEPLOY_AIBO8, IDC_WLAN_DEPLOY_BINARIES1, IDC_WLAN_DEPLOY_BINARIES2, IDC_WLAN_DEPLOY_BINARIES3, IDC_WLAN_DEPLOY_BINARIES4, IDC_WLAN_DEPLOY_BINARIES5, IDC_WLAN_DEPLOY_BINARIES6, IDC_WLAN_DEPLOY_BINARIES7, IDC_WLAN_DEPLOY_BINARIES8, IDC_WLAN_DEPLOY_COLORTABLE1, IDC_WLAN_DEPLOY_COLORTABLE2, IDC_WLAN_DEPLOY_COLORTABLE3, IDC_WLAN_DEPLOY_COLORTABLE4, IDC_WLAN_DEPLOY_COLORTABLE5, IDC_WLAN_DEPLOY_COLORTABLE6, IDC_WLAN_DEPLOY_COLORTABLE7, IDC_WLAN_DEPLOY_COLORTABLE8, IDC_WLAN_DEPLOY_INDICATOR1, IDC_WLAN_DEPLOY_INDICATOR2, IDC_WLAN_DEPLOY_INDICATOR3, IDC_WLAN_DEPLOY_INDICATOR4, IDC_WLAN_DEPLOY_INDICATOR5, IDC_WLAN_DEPLOY_INDICATOR6, IDC_WLAN_DEPLOY_INDICATOR7, IDC_WLAN_DEPLOY_INDICATOR8, IDC_WLAN_DEPLOY_MS, IDC_WLAN_DEPLOY_PING1, IDC_WLAN_DEPLOY_PING2, IDC_WLAN_DEPLOY_PING3, IDC_WLAN_DEPLOY_PING4, IDC_WLAN_DEPLOY_PING5, IDC_WLAN_DEPLOY_PING6, IDC_WLAN_DEPLOY_PING7, IDC_WLAN_DEPLOY_PING8, IDC_WLAN_DEPLOY_STICK1, IDC_WLAN_DEPLOY_STICK2, IDC_WLAN_DEPLOY_STICK3, IDC_WLAN_DEPLOY_STICK4, IDC_WLAN_DEPLOY_STICK5, IDC_WLAN_DEPLOY_STICK6, IDC_WLAN_DEPLOY_STICK7, IDC_WLAN_DEPLOY_STICK8, IDC_WLAN_DEPLOY_WLAN_BINARIES, IDC_WLAN_DEPLOY_WLAN_COLTABLE, m_Aibo, m_Binaries, m_Colortable, m_Indicator, m_MS, m_Ping, m_Stick, m_WLANUpdatesBinaries, and m_WLANUpdatesColortable.
int CWLANDeployDialog::getAiboName | ( | const char * | mac, | |
char * | name | |||
) | [protected] |
Definition at line 597 of file WLANDeployDialog.cpp.
References File::getGTDir(), and infile.
Referenced by OnPingAll().
CString CWLANDeployDialog::IPToStr | ( | unsigned long | ip | ) | [protected] |
void CWLANDeployDialog::OnCopyStick0 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick1 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick2 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick3 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick4 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick5 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick6 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyStick7 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN0 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN1 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN2 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN3 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN4 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN5 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN6 | ( | ) | [protected] |
void CWLANDeployDialog::OnCopyWLAN7 | ( | ) | [protected] |
BOOL CWLANDeployDialog::OnInitDialog | ( | ) | [protected, virtual] |
void CWLANDeployDialog::OnOK | ( | ) | [protected, virtual] |
Definition at line 399 of file WLANDeployDialog.cpp.
References m_Aibo, m_Binaries, m_Colortable, m_MS, m_Stick, m_WLANUpdatesBinaries, and m_WLANUpdatesColortable.
void CWLANDeployDialog::OnPingAll | ( | ) | [protected] |
Definition at line 562 of file WLANDeployDialog.cpp.
References getAiboName(), m_Aibo, m_IP, CPing::Ping(), CPing::readOutARP(), setPingIcon(), and CPing::WIN32GetMAC().
void CWLANDeployDialog::OnRefresh | ( | ) | [protected] |
Definition at line 486 of file WLANDeployDialog.cpp.
References m_MS, selectIndicator(), and updateSlotFromFile().
void CWLANDeployDialog::OnRefreshAll | ( | ) | [protected] |
Definition at line 457 of file WLANDeployDialog.cpp.
References File::getGTDir(), m_IP, CPing::Ping(), setPingIcon(), and updateSlotFromFile().
void CWLANDeployDialog::OnSnapshot | ( | ) | [protected] |
Definition at line 526 of file WLANDeployDialog.cpp.
References File::getGTDir(), refreshBinaryCombo(), and refreshColortableCombo().
void CWLANDeployDialog::prepareImage | ( | int | number | ) | [protected] |
Definition at line 289 of file WLANDeployDialog.cpp.
References CRobotControlWLANConfiguration::apmodeBlue, CRobotControlWLANConfiguration::apmodeRed, Player::blue, CRobotControlWLANConfiguration::channelBlue, CRobotControlWLANConfiguration::channelRed, config, CRobotControlWLANConfiguration::essidBlue, CRobotControlWLANConfiguration::essidRed, File::getGTDir(), Player::getPlayerNumberName(), Player::getTeamColorName(), IPToStr(), m_Aibo, m_Binaries, m_Colortable, m_IP, m_Stick, CRobotControlWLANConfiguration::netmaskRed, Player::red, selectIndicator(), CRobotControlWLANConfiguration::teamIdentifierBlue, CRobotControlWLANConfiguration::teamIdentifierRed, CRobotControlWLANConfiguration::wepkeyBlue, and CRobotControlWLANConfiguration::wepkeyRed.
Referenced by copyStick(), and copyWLAN().
void CWLANDeployDialog::refreshBinaryCombo | ( | ) | [protected] |
Definition at line 184 of file WLANDeployDialog.cpp.
References BOOL(), File::getGTDir(), and m_Binaries.
Referenced by OnSnapshot().
void CWLANDeployDialog::refreshColortableCombo | ( | ) | [protected] |
Definition at line 216 of file WLANDeployDialog.cpp.
References BOOL(), File::getGTDir(), and m_Colortable.
Referenced by OnSnapshot().
void CWLANDeployDialog::selectIndicator | ( | int | number | ) | [protected] |
Definition at line 176 of file WLANDeployDialog.cpp.
References m_Indicator.
Referenced by OnRefresh(), prepareImage(), and updateSlotFromFile().
void CWLANDeployDialog::setPingIcon | ( | int | number, | |
int | status | |||
) | [protected] |
Definition at line 633 of file WLANDeployDialog.cpp.
References IDB_PING_GREEN, IDB_PING_RED, IDB_PING_YELLOW, and m_Ping.
Referenced by OnPingAll(), and OnRefreshAll().
void CWLANDeployDialog::setWLANConfiguration | ( | CRobotControlWLANConfiguration * | externConfig | ) |
Definition at line 619 of file WLANDeployDialog.cpp.
References config.
Referenced by CWLANToolBar::OnDeploy().
void CWLANDeployDialog::updateSlotFromFile | ( | CString | fname, | |
int | forcedNumber | |||
) | [protected] |
Definition at line 495 of file WLANDeployDialog.cpp.
References infile, m_Aibo, m_Binaries, m_Colortable, m_Stick, and selectIndicator().
Referenced by OnRefresh(), and OnRefreshAll().
CRobotControlWLANConfiguration* CWLANDeployDialog::config [protected] |
Definition at line 63 of file WLANDeployDialog.h.
Referenced by prepareImage(), and setWLANConfiguration().
CString CWLANDeployDialog::m_Aibo[8] |
Definition at line 44 of file WLANDeployDialog.h.
Referenced by DoDataExchange(), OnOK(), OnPingAll(), prepareImage(), and updateSlotFromFile().
CComboBox CWLANDeployDialog::m_Binaries[8] |
Definition at line 48 of file WLANDeployDialog.h.
Referenced by copyStick(), copyWLAN(), DoDataExchange(), OnOK(), prepareImage(), refreshBinaryCombo(), and updateSlotFromFile().
CComboBox CWLANDeployDialog::m_Colortable[8] |
Definition at line 49 of file WLANDeployDialog.h.
Referenced by copyStick(), copyWLAN(), DoDataExchange(), OnOK(), prepareImage(), refreshColortableCombo(), and updateSlotFromFile().
CStatic CWLANDeployDialog::m_Indicator[8] |
Definition at line 51 of file WLANDeployDialog.h.
Referenced by DoDataExchange(), and selectIndicator().
CString CWLANDeployDialog::m_IP[8] |
Definition at line 46 of file WLANDeployDialog.h.
Referenced by copyWLAN(), OnPingAll(), OnRefreshAll(), and prepareImage().
CComboBox CWLANDeployDialog::m_MS |
Definition at line 52 of file WLANDeployDialog.h.
Referenced by copyStick(), DoDataExchange(), OnOK(), and OnRefresh().
CStatic CWLANDeployDialog::m_Ping[8] |
Definition at line 50 of file WLANDeployDialog.h.
Referenced by DoDataExchange(), and setPingIcon().
CButton CWLANDeployDialog::m_PingAll |
Definition at line 38 of file WLANDeployDialog.h.
CButton CWLANDeployDialog::m_Refresh |
Definition at line 40 of file WLANDeployDialog.h.
CButton CWLANDeployDialog::m_RefreshAll |
Definition at line 39 of file WLANDeployDialog.h.
CString CWLANDeployDialog::m_Stick[8] |
Definition at line 45 of file WLANDeployDialog.h.
Referenced by DoDataExchange(), OnOK(), prepareImage(), and updateSlotFromFile().
Definition at line 41 of file WLANDeployDialog.h.
Referenced by copyWLAN(), DoDataExchange(), and OnOK().