Garmin Fleet Management Controller  2.19.0
CSafeModeDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CSafeModeDlg.h
5 *
6 * Copyright 2010-2012 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CSafeModeDlg_H
11 #define CSafeModeDlg_H
12 
13 #include "FmiApplicationLayer.h"
14 
15 //---------------------------------------------------------------------
19 //---------------------------------------------------------------------
20 class CSafeModeDlg : public CDialog
21 {
22  DECLARE_DYNAMIC( CSafeModeDlg )
23  DECLARE_MESSAGE_MAP()
24 
25 public:
27  (
28  CWnd * aParent,
29  FmiApplicationLayer & aCom
30  );
31  virtual ~CSafeModeDlg();
32 
33 protected:
34  virtual void DoDataExchange
35  (
36  CDataExchange* aDataExchange
37  );
38  afx_msg void OnEnChangeSafeModeSpeed();
39  afx_msg void OnBnClickedOk();
40  BOOL OnInitDialog();
41 
44 
46  CString speed;
47 };
48 
49 #endif
CSafeModeDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
afx_msg void OnEnChangeSafeModeSpeed()
Edit Change handler for Safe Mode Speed text box.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
Definition: CSafeModeDlg.h:43
afx_msg void OnBnClickedOk()
Click handler for the OK button.
Modal dialog allowing the user to set FMI Safe Mode and the threshold speed.
Definition: CSafeModeDlg.h:20
Serial communication controller for Garmin and FMI packets.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CString speed
Speed entered by the user.
Definition: CSafeModeDlg.h:46
BOOL OnInitDialog()
Initialize the dialog.
virtual ~CSafeModeDlg()
Destructor.