Garmin Fleet Management Controller  2.19.0
CTxtMsgFromClient Class Reference

Modal pop up dialog displaying a client to server open text message. More...

#include <CTxtMsgFromClient.h>

+ Inheritance diagram for CTxtMsgFromClient:

Public Member Functions

 CTxtMsgFromClient (CWnd *aParent, FmiApplicationLayer &aCom, const text_msg_from_client_event_type *aEvent)
 Constructor. More...
 
virtual ~CTxtMsgFromClient ()
 Destructor. More...
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *aDataExchange)
 Perform dialog data exchange and validation. More...
 
BOOL OnInitDialog ()
 Initialize the dialog. More...
 

Protected Attributes

FmiApplicationLayermCom
 Reference to the FMI communication controller. More...
 
CString mLatitude
 String representation of device latitude. More...
 
CString mLinkId
 String representation of the link ID (corresponding server to client message ID) More...
 
CString mLongitude
 String representation of device longitude. More...
 
CString mMessageId
 String representation of the message ID. More...
 
CString mMessageText
 String representation of the text message. More...
 
CString mOriginationTime
 String representation of the origination time on the client. More...
 
text_msg_from_client_event_type mTextMessageEvent
 The text message event that caused this dialog to be displayed. More...
 

Detailed Description

Modal pop up dialog displaying a client to server open text message.

Displays the last client to server open text message in a dialog box. The mOriginationTime, message text, and message ID are retrieved from the event passed to the constructor.

Since
Protocol A603

Definition at line 24 of file CTxtMsgFromClient.h.

Constructor & Destructor Documentation

CTxtMsgFromClient::CTxtMsgFromClient ( CWnd *  aParent,
FmiApplicationLayer aCom,
const text_msg_from_client_event_type aEvent 
)

Constructor.

Parameters
aParentThe parent of this dialog
aComReference to the FMI communication controller
aEventThe text message received from the client

Definition at line 28 of file CTxtMsgFromClient.cpp.

CTxtMsgFromClient::~CTxtMsgFromClient ( )
virtual

Destructor.

Definition at line 48 of file CTxtMsgFromClient.cpp.

References DoDataExchange().

Member Function Documentation

void CTxtMsgFromClient::DoDataExchange ( CDataExchange *  aDataExchange)
protectedvirtual

Perform dialog data exchange and validation.

Parameters
aDataExchangeThe DDX context

Definition at line 57 of file CTxtMsgFromClient.cpp.

References IDC_CLIENTMSG_TXT_ID, IDC_CLIENTMSG_TXT_LAT, IDC_CLIENTMSG_TXT_LINK_ID, IDC_CLIENTMSG_TXT_LON, IDC_CLIENTMSG_TXT_MESSAGE, IDC_CLIENTMSG_TXT_TIME, mLatitude, mLinkId, mLongitude, mMessageId, mMessageText, and mOriginationTime.

Referenced by ~CTxtMsgFromClient().

BOOL CTxtMsgFromClient::OnInitDialog ( )
protected

Member Data Documentation

FmiApplicationLayer& CTxtMsgFromClient::mCom
protected

Reference to the FMI communication controller.

Definition at line 48 of file CTxtMsgFromClient.h.

Referenced by OnInitDialog().

CString CTxtMsgFromClient::mLatitude
protected

String representation of device latitude.

Definition at line 68 of file CTxtMsgFromClient.h.

Referenced by DoDataExchange(), and OnInitDialog().

CString CTxtMsgFromClient::mLinkId
protected

String representation of the link ID (corresponding server to client message ID)

Definition at line 64 of file CTxtMsgFromClient.h.

Referenced by DoDataExchange(), and OnInitDialog().

CString CTxtMsgFromClient::mLongitude
protected

String representation of device longitude.

Definition at line 66 of file CTxtMsgFromClient.h.

Referenced by DoDataExchange(), and OnInitDialog().

CString CTxtMsgFromClient::mMessageId
protected

String representation of the message ID.

Definition at line 60 of file CTxtMsgFromClient.h.

Referenced by DoDataExchange(), and OnInitDialog().

CString CTxtMsgFromClient::mMessageText
protected

String representation of the text message.

Definition at line 57 of file CTxtMsgFromClient.h.

Referenced by DoDataExchange(), and OnInitDialog().

CString CTxtMsgFromClient::mOriginationTime
protected

String representation of the origination time on the client.

Definition at line 54 of file CTxtMsgFromClient.h.

Referenced by DoDataExchange(), and OnInitDialog().

text_msg_from_client_event_type CTxtMsgFromClient::mTextMessageEvent
protected

The text message event that caused this dialog to be displayed.

Definition at line 51 of file CTxtMsgFromClient.h.

Referenced by OnInitDialog().


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