Garmin Fleet Management Controller  2.19.0
CDeleteDataDlg Class Reference

Dialog allowing the user to delete specified FMI data from the client. More...

#include <CDeleteDataDlg.h>

+ Inheritance diagram for CDeleteDataDlg:

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

FmiApplicationLayermCom
 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...
 

Detailed Description

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.

Note
This dialog must be created modal.
Since
Protocol A603

Definition at line 24 of file CDeleteDataDlg.h.

Constructor & Destructor Documentation

CDeleteDataDlg::CDeleteDataDlg ( CWnd *  aParent,
FmiApplicationLayer aCom 
)

Constructor.

Parameters
aParentThe parent window
aComReference to the FMI communication controller

Definition at line 29 of file CDeleteDataDlg.cpp.

CDeleteDataDlg::~CDeleteDataDlg ( )
virtual

Destructor.

Definition at line 63 of file CDeleteDataDlg.cpp.

References DoDataExchange().

Member Function Documentation

void CDeleteDataDlg::DoDataExchange ( CDataExchange *  aDataExchange)
protectedvirtual
void CDeleteDataDlg::OnBnClickedOk ( )
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.

BOOL CDeleteDataDlg::OnInitDialog ( )
protected

Initialize the dialog.

This function is called when the window is created. It disables all check boxes not supported by the server.

Returns
TRUE, since this function does not set focus to a control

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.

Member Data Documentation

FmiApplicationLayer& CDeleteDataDlg::mCom
protected

Reference to the FMI communication controller.

Definition at line 47 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mCustomAvoidancesChecked
protected

If true, the Custom Avoidances check box is selected.

Since
Protocol A613

Definition at line 94 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteActiveRouteChecked
protected

If true, the Delete Active Route check box is selected.

Since
Protocol A604

Definition at line 58 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteCannedMessagesChecked
protected

If true, the Delete Canned Messages check box is selected.

Since
Protocol A604

Definition at line 62 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteCannedResponsesChecked
protected

If true, the Delete Canned Responses check box is selected.

Since
Protocol A604

Definition at line 66 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteDriverInfoChecked
protected

If true, the Delete Driver ID and Status check box is selected.

Since
Protocol A604

Definition at line 74 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteGpiFileChecked
protected

If true, the Delete GPI File check box is selected.

Since
Protocol A604

Definition at line 70 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteMessagesChecked
protected

If true, the Delete Messages check box is selected.

Definition at line 50 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDeleteStopsChecked
protected

If true, the Delete Stops check box is selected.

Definition at line 53 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mDisableFmiChecked
protected

If true, the Disable FMI check box is selected.

Since
Protocol A604

Definition at line 78 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mFormsChecked
protected

If true, the Forms check box is selected.

Since
Protocol A612

Definition at line 89 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mSensorsChecked
protected

If true, the Sensors check box is selected.

Since
Protocol A617

Definition at line 99 of file CDeleteDataDlg.h.

BOOL CDeleteDataDlg::mWaypointsChecked
protected

If true, the Waypoints check box is selected.

Since
Protocol A607

Definition at line 84 of file CDeleteDataDlg.h.


The documentation for this class was generated from the following files: