Garmin Fleet Management Controller  2.19.0
CTxtMsgFromClient.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CTxtMsgFromClient.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CTxtMsgFromClient_H
11 #define CTxtMsgFromClient_H
12 
13 #include "EventId.h"
14 #include "FmiApplicationLayer.h"
15 
16 //----------------------------------------------------------------------
23 //----------------------------------------------------------------------
24 class CTxtMsgFromClient : public CDialog
25 {
26  DECLARE_DYNAMIC( CTxtMsgFromClient )
27  DECLARE_MESSAGE_MAP()
28 
29 public:
31  (
32  CWnd * aParent,
33  FmiApplicationLayer & aCom,
34  const text_msg_from_client_event_type * aEvent
35  );
36 
37  virtual ~CTxtMsgFromClient();
38 
39 protected:
40  virtual void DoDataExchange
41  (
42  CDataExchange * aDataExchange
43  );
44 
45  BOOL OnInitDialog();
46 
49 
52 
55 
57  CString mMessageText;
58 
60  CString mMessageId;
61 
62 #if( FMI_SUPPORT_A607 )
63  CString mLinkId;
66  CString mLongitude;
68  CString mLatitude;
69 #endif
70 };
71 
72 #endif
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
CString mLatitude
String representation of device latitude.
CString mMessageText
String representation of the text message.
Modal pop up dialog displaying a client to server open text message.
CString mMessageId
String representation of the message ID.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
text_msg_from_client_event_type mTextMessageEvent
The text message event that caused this dialog to be displayed.
BOOL OnInitDialog()
Initialize the dialog.
CString mLongitude
String representation of device longitude.
Serial communication controller for Garmin and FMI packets.
CString mOriginationTime
String representation of the origination time on the client.
Structure containing details for a client to server text message.
Definition: EventId.h:148
CString mLinkId
String representation of the link ID (corresponding server to client message ID)
virtual ~CTxtMsgFromClient()
Destructor.
CTxtMsgFromClient(CWnd *aParent, FmiApplicationLayer &aCom, const text_msg_from_client_event_type *aEvent)
Constructor.