Garmin Fleet Management Controller  2.19.0
CDashcamNtfctnFromClient Class Reference

Modal pop up dialog displaying a client to server dashcam notification. More...

#include <CDashcamNtfctnFromClient.h>

+ Inheritance diagram for CDashcamNtfctnFromClient:

Public Member Functions

 CDashcamNtfctnFromClient (CWnd *aParent, FmiApplicationLayer &aCom, const fmi_dashcam_ntfctn_req_data_type &aEvent)
 Constructor. More...
 
 CDashcamNtfctnFromClient (CWnd *aParent, FmiApplicationLayer &aCom, const fmi_dashcam_ntfctn_incident_req_data_type &aEvent)
 Constructor. More...
 
virtual ~CDashcamNtfctnFromClient ()
 Destructor. More...
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *aDataExchange)
 Perform dialog data exchange and validation. More...
 
void init (time_type origination_time, sc_position_type scposn, uint8 ntfctn_type)
 Initialize the field data. More...
 

Protected Attributes

FmiApplicationLayermCom
 Reference to the FMI communication controller. More...
 
CString mIncidentFilename
 
CString mLatitude
 
CString mLongitude
 
CString mOriginationTime
 
CString mType
 

Detailed Description

Modal pop up dialog displaying a client to server dashcam notification.

Displays the last client to server dashcam notification in a dialog box. The notification Orig time, Lat, Lon, and type are retrieved from the event passed to the constructor.

Since
Protocol A622

Definition at line 25 of file CDashcamNtfctnFromClient.h.

Constructor & Destructor Documentation

CDashcamNtfctnFromClient::CDashcamNtfctnFromClient ( CWnd *  aParent,
FmiApplicationLayer aCom,
const fmi_dashcam_ntfctn_req_data_type aEvent 
)

Constructor.

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

Definition at line 30 of file CDashcamNtfctnFromClient.cpp.

CDashcamNtfctnFromClient::CDashcamNtfctnFromClient ( CWnd *  aParent,
FmiApplicationLayer aCom,
const fmi_dashcam_ntfctn_incident_req_data_type aEvent 
)

Constructor.

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

Definition at line 54 of file CDashcamNtfctnFromClient.cpp.

References fmi_dashcam_ntfctn_incident_req_data_type::incident_fname, fmi_dashcam_ntfctn_incident_req_data_type::ntfctn_type, fmi_dashcam_ntfctn_incident_req_data_type::origination_time, and fmi_dashcam_ntfctn_incident_req_data_type::scposn.

CDashcamNtfctnFromClient::~CDashcamNtfctnFromClient ( )
virtual

Destructor.

Definition at line 76 of file CDashcamNtfctnFromClient.cpp.

References DoDataExchange().

Member Function Documentation

void CDashcamNtfctnFromClient::DoDataExchange ( CDataExchange *  aDataExchange)
protectedvirtual

Perform dialog data exchange and validation.

Parameters
aDataExchangeThe DDX context

Definition at line 85 of file CDashcamNtfctnFromClient.cpp.

References IDC_DASHCAM_NTFCTN_INCIDENT_FNAME, IDC_DASHCAM_NTFCTN_LAT, IDC_DASHCAM_NTFCTN_LON, IDC_DASHCAM_NTFCTN_TIMESTAMP, IDC_DASHCAM_NTFCTN_TYPE, init(), mIncidentFilename, mLatitude, mLongitude, mOriginationTime, and mType.

Referenced by ~CDashcamNtfctnFromClient().

Member Data Documentation

FmiApplicationLayer& CDashcamNtfctnFromClient::mCom
protected

Reference to the FMI communication controller.

Definition at line 61 of file CDashcamNtfctnFromClient.h.

Referenced by init().

CString CDashcamNtfctnFromClient::mIncidentFilename
protected

Definition at line 67 of file CDashcamNtfctnFromClient.h.

Referenced by DoDataExchange().

CString CDashcamNtfctnFromClient::mLatitude
protected

Definition at line 65 of file CDashcamNtfctnFromClient.h.

Referenced by DoDataExchange(), and init().

CString CDashcamNtfctnFromClient::mLongitude
protected

Definition at line 64 of file CDashcamNtfctnFromClient.h.

Referenced by DoDataExchange(), and init().

CString CDashcamNtfctnFromClient::mOriginationTime
protected

Definition at line 63 of file CDashcamNtfctnFromClient.h.

Referenced by DoDataExchange(), and init().

CString CDashcamNtfctnFromClient::mType
protected

Definition at line 66 of file CDashcamNtfctnFromClient.h.

Referenced by DoDataExchange(), and init().


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