10 #ifndef CPingStatusDlg_H 11 #define CPingStatusDlg_H 42 CDataExchange * aDataExchange
afx_msg LRESULT OnPingEvent(WPARAM, LPARAM)
Handler for the Ping event from FmiApplicationLayer.
virtual ~CPingStatusDlg()
Destructor.
afx_msg void OnBnClickedResetServer()
Click handler for the Reset (Server) button.
CPingStatusDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CString mClientPingTime
Time when the last client to server ping was received, in the form HH:MM:SS AA (AA is am or pm) ...
CString mClientPingCount
Number of client to server pings received.
Serial communication controller for Garmin and FMI packets.
EventListener that dispatches a Windows message.
CString mServerPingTime
Time when the last server to client ping was sent, in the form HH:MM:SS AA (AA is am or pm) ...
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
BOOL OnInitDialog()
Initialize the dialog.
void updateTextFields()
Update the text boxes.
CString mServerPingCount
Number of server to client pings sent.
Modeless dialog allowing the user to view ping status and send a ping.
afx_msg void OnBnClickedResetClient()
Click handler for the Reset (Client) button.
afx_msg void OnBnClickedSendPing()
Click handler for the Send Ping button.