Garmin Fleet Management Controller
2.19.0
|
Modal pop up dialog displaying a client to server dashcam notification. More...
#include <CDashcamNtfctnFromClient.h>
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 | |
FmiApplicationLayer & | mCom |
Reference to the FMI communication controller. More... | |
CString | mIncidentFilename |
CString | mLatitude |
CString | mLongitude |
CString | mOriginationTime |
CString | mType |
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.
Definition at line 25 of file CDashcamNtfctnFromClient.h.
CDashcamNtfctnFromClient::CDashcamNtfctnFromClient | ( | CWnd * | aParent, |
FmiApplicationLayer & | aCom, | ||
const fmi_dashcam_ntfctn_req_data_type & | aEvent | ||
) |
Constructor.
aParent | The parent of this dialog |
aCom | Reference to the FMI communication controller |
aEvent | The 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.
aParent | The parent of this dialog |
aCom | Reference to the FMI communication controller |
aEvent | The 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.
|
virtual |
Destructor.
Definition at line 76 of file CDashcamNtfctnFromClient.cpp.
References DoDataExchange().
|
protectedvirtual |
Perform dialog data exchange and validation.
aDataExchange | The 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().
|
protected |
Initialize the field data.
Definition at line 101 of file CDashcamNtfctnFromClient.cpp.
References DASHCAM_FCW_NTFCTN, DASHCAM_INCIDENT_NTFCTN, DASHCAM_LDW_NTFCTN, INVALID_LAT, sc_position_type::lat, sc_position_type::lon, FmiApplicationLayer::mClientCodepage, mCom, mLatitude, mLongitude, mOriginationTime, mType, UTIL_convert_seconds_to_time_type(), UTIL_convert_semicircles_to_degrees(), UTIL_convert_UTC_to_local(), and UTIL_format_time_string().
Referenced by DoDataExchange().
|
protected |
Reference to the FMI communication controller.
Definition at line 61 of file CDashcamNtfctnFromClient.h.
Referenced by init().
|
protected |
Definition at line 67 of file CDashcamNtfctnFromClient.h.
Referenced by DoDataExchange().
|
protected |
Definition at line 65 of file CDashcamNtfctnFromClient.h.
Referenced by DoDataExchange(), and init().
|
protected |
Definition at line 64 of file CDashcamNtfctnFromClient.h.
Referenced by DoDataExchange(), and init().
|
protected |
Definition at line 63 of file CDashcamNtfctnFromClient.h.
Referenced by DoDataExchange(), and init().
|
protected |
Definition at line 66 of file CDashcamNtfctnFromClient.h.
Referenced by DoDataExchange(), and init().