Garmin Fleet Management Controller
2.19.0
|
Dialog allowing the user to delete specified FMI data from the client. More...
#include <CDeleteDataDlg.h>
Public Member Functions | |
CDeleteDataDlg (CWnd *aParent, FmiApplicationLayer &aCom) | |
Constructor. More... | |
virtual | ~CDeleteDataDlg () |
Destructor. More... | |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *aDataExchange) |
Perform dialog data exchange and validation. More... | |
afx_msg void | OnBnClickedOk () |
Click handler for the OK button. More... | |
BOOL | OnInitDialog () |
Initialize the dialog. More... | |
Protected Attributes | |
FmiApplicationLayer & | mCom |
Reference to the FMI communication controller. More... | |
BOOL | mCustomAvoidancesChecked |
If true, the Custom Avoidances check box is selected. More... | |
BOOL | mDeleteActiveRouteChecked |
If true, the Delete Active Route check box is selected. More... | |
BOOL | mDeleteCannedMessagesChecked |
If true, the Delete Canned Messages check box is selected. More... | |
BOOL | mDeleteCannedResponsesChecked |
If true, the Delete Canned Responses check box is selected. More... | |
BOOL | mDeleteDriverInfoChecked |
If true, the Delete Driver ID and Status check box is selected. More... | |
BOOL | mDeleteGpiFileChecked |
If true, the Delete GPI File check box is selected. More... | |
BOOL | mDeleteMessagesChecked |
If true, the Delete Messages check box is selected. More... | |
BOOL | mDeleteStopsChecked |
If true, the Delete Stops check box is selected. More... | |
BOOL | mDisableFmiChecked |
If true, the Disable FMI check box is selected. More... | |
BOOL | mFormsChecked |
If true, the Forms check box is selected. More... | |
BOOL | mSensorsChecked |
If true, the Sensors check box is selected. More... | |
BOOL | mWaypointsChecked |
If true, the Waypoints check box is selected. More... | |
Dialog allowing the user to delete specified FMI data from the client.
For each item selected by the user, the Data Deletion protocol is used to request that the client delete the corresponding data.
Definition at line 24 of file CDeleteDataDlg.h.
CDeleteDataDlg::CDeleteDataDlg | ( | CWnd * | aParent, |
FmiApplicationLayer & | aCom | ||
) |
Constructor.
aParent | The parent window |
aCom | Reference to the FMI communication controller |
Definition at line 29 of file CDeleteDataDlg.cpp.
|
virtual |
|
protectedvirtual |
Perform dialog data exchange and validation.
aDataExchange | The DDX context |
Definition at line 72 of file CDeleteDataDlg.cpp.
References IDC_DEL_DATA_CHK_CUSTOM_AVOIDANCES, IDC_DEL_DATA_CHK_FORMS, IDC_DEL_DATA_CHK_SENSORS, IDC_DELDATA_CHK_CANNED_MESSAGES, IDC_DELDATA_CHK_CANNED_RESPONSES, IDC_DELDATA_CHK_DISABLE_FMI, IDC_DELDATA_CHK_DRIVER_INFO, IDC_DELDATA_CHK_GPI_FILE, IDC_DELDATA_CHK_MESSAGES, IDC_DELDATA_CHK_ROUTE, IDC_DELDATA_CHK_STOPS, and IDC_DELDATA_CHK_WAYPOINTS.
Referenced by ~CDeleteDataDlg().
|
protected |
Click handler for the OK button.
Determines which check boxes are checked. For each box that is checked, initiate the Data Deletion protocol.
Definition at line 139 of file CDeleteDataDlg.cpp.
References DELETE_ACTIVE_ROUTE, DELETE_ALL_MESSAGES, DELETE_ALL_STOPS, DELETE_CANNED_MESSAGES, DELETE_CANNED_RESPONSES, DELETE_CUSTOM_AVOIDANCES, DELETE_DRIVER_ID_AND_STATUS, DELETE_FORMS, DELETE_GPI_FILE, DELETE_SENSORS, DELETE_WAYPOINTS, DISABLE_FMI, and TRUE.
|
protected |
Initialize the dialog.
This function is called when the window is created. It disables all check boxes not supported by the server.
Definition at line 107 of file CDeleteDataDlg.cpp.
References IDC_DEL_DATA_CHK_CUSTOM_AVOIDANCES, IDC_DEL_DATA_CHK_FORMS, IDC_DELDATA_CHK_CANNED_MESSAGES, IDC_DELDATA_CHK_CANNED_RESPONSES, IDC_DELDATA_CHK_DISABLE_FMI, IDC_DELDATA_CHK_DRIVER_INFO, IDC_DELDATA_CHK_GPI_FILE, IDC_DELDATA_CHK_ROUTE, IDC_DELDATA_CHK_WAYPOINTS, and TRUE.
|
protected |
Reference to the FMI communication controller.
Definition at line 47 of file CDeleteDataDlg.h.
|
protected |
If true, the Custom Avoidances check box is selected.
Definition at line 94 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete Active Route check box is selected.
Definition at line 58 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete Canned Messages check box is selected.
Definition at line 62 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete Canned Responses check box is selected.
Definition at line 66 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete Driver ID and Status check box is selected.
Definition at line 74 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete GPI File check box is selected.
Definition at line 70 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete Messages check box is selected.
Definition at line 50 of file CDeleteDataDlg.h.
|
protected |
If true, the Delete Stops check box is selected.
Definition at line 53 of file CDeleteDataDlg.h.
|
protected |
If true, the Disable FMI check box is selected.
Definition at line 78 of file CDeleteDataDlg.h.
|
protected |
If true, the Forms check box is selected.
Definition at line 89 of file CDeleteDataDlg.h.
|
protected |
If true, the Sensors check box is selected.
Definition at line 99 of file CDeleteDataDlg.h.
|
protected |
If true, the Waypoints check box is selected.
Definition at line 84 of file CDeleteDataDlg.h.