Garmin Fleet Management Controller
2.19.0
|
Modal dialog allowing the user to select an ETA mode for the device to operate in. More...
#include <CEtaModeDlg.h>
Public Types | |
typedef CString | mode_type |
Public Member Functions | |
CEtaModeDlg (CWnd *aParent, FmiApplicationLayer &aCom) | |
Constructor. More... | |
virtual | ~CEtaModeDlg () |
Destructor. More... | |
Private Member Functions | |
virtual void | DoDataExchange (CDataExchange *aDataExchange) |
Perform dialog data exchange and validation. More... | |
afx_msg void | OnBnClickedSend () |
Click handler for Send button. More... | |
BOOL | OnInitDialog () |
Initialize the dialog. More... | |
Private Attributes | |
FmiApplicationLayer & | mCom |
Reference to the FMI communication controller. More... | |
FMI_eta_mode_type | mMode |
Mode to be transferred, as specified by the user. More... | |
Modal dialog allowing the user to select an ETA mode for the device to operate in.
Definition at line 20 of file CEtaModeDlg.h.
typedef CString CEtaModeDlg::mode_type |
Definition at line 33 of file CEtaModeDlg.h.
CEtaModeDlg::CEtaModeDlg | ( | CWnd * | aParent, |
FmiApplicationLayer & | aCom | ||
) |
Constructor.
aParent | The parent of this dialog |
aCom | Reference to the FMI communication controller |
Definition at line 42 of file CEtaModeDlg.cpp.
|
virtual |
|
privatevirtual |
Perform dialog data exchange and validation.
aDataExchange | The DDX context |
Definition at line 64 of file CEtaModeDlg.cpp.
References IDC_ETA_MODE_CBO.
Referenced by ~CEtaModeDlg().
|
private |
Click handler for Send button.
Sends the ETA Mode Request packet with the mode selected by the user.
Definition at line 103 of file CEtaModeDlg.cpp.
References TRUE.
|
private |
Initialize the dialog.
This function is called when the window is created. It sets up the parent, so it can get info from and send a message to FmiApplicationLayer.
Definition at line 82 of file CEtaModeDlg.cpp.
References cnt_of_array, ETA_SETTING_DISPATCH, IDC_ETA_MODE_CBO, mode_types, and TRUE.
|
private |
Reference to the FMI communication controller.
Definition at line 45 of file CEtaModeDlg.h.
|
private |
Mode to be transferred, as specified by the user.
Definition at line 48 of file CEtaModeDlg.h.