22 #if( FMI_SUPPORT_A605 ) 32 CMsgThrottlingDlg::CMsgThrottlingDlg
39 , mMessageStatus(
FALSE )
40 , mRefreshCannedResponseList( FALSE )
41 , mRefreshCannedMessageList( FALSE )
42 , mClientToServerTextMessage( FALSE )
43 , mStopStatus( FALSE )
45 , mDriverIdUpdate( FALSE )
46 , mDriverStatusList( FALSE )
47 , mDriverStatusUpdate( FALSE )
49 , mWaypointDeleted( FALSE )
66 CDataExchange * aDataExchange
69 CDialog::DoDataExchange( aDataExchange );
82 DDX_Check( aDataExchange, IDC_THROTTLE_CHK_ALL,
mSelectAll );
95 CDialog::OnInitDialog();
132 #if( FMI_SUPPORT_A605 ) 197 #if( FMI_SUPPORT_A605 ) 211 WPARAM aResponseCount,
219 for(
uint32 listIdx = 0; listIdx < listCount; ++listIdx )
BOOL * mProtocolStateLookup[NUM_THROTTLED_PROTOCOLS]
Pointers to BOOLs indicating the requested throttle state.
#define IDC_THROTTLE_CHK_REFRESH_CAN_RESP
uint16 mPacketIdLookup[NUM_THROTTLED_PROTOCOLS]
Lookup table from array indexes to protocol (packet) IDs.
BOOL mSelectAll
If TRUE, the Select All check box is selected.
#define IDC_THROTTLE_CHK_ALL
BOOL mWaypointDeleted
If TRUE, the Waypoint Deleted check box is selected.
BOOL mRefreshCannedResponseList
If TRUE, the Refresh Canned Response List check box is selected.
#define IDC_THROTTLE_CHK_DRIVER_STATUS_UPDATE
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
void sendMessageThrottlingUpdate(uint16 aPacketId, uint16 aNewState)
Sends an update to the client to tell it whether to enable or disable a protocol. ...
#define IDC_THROTTLE_CHK_WAYPOINT_DELETED
Modal dialog allowing the user to throttle (disable) or un-throttle (enable) certain client-initiated...
virtual ~CMsgThrottlingDlg()
Destructor.
BOOL mOriginalValues[NUM_THROTTLED_PROTOCOLS]
The current throttle state on the client.
#define IDC_THROTTLE_BTN_CANCEL
BOOL mPing
If TRUE, the Client to Server Ping check box is selected.
BOOL mStopStatus
If TRUE, the Stop Status check box is selected.
BOOL mMessageStatus
If TRUE, the Message Status check box is selected.
BOOL mRefreshCannedMessageList
If TRUE, the Refresh Canned Message List check box is selected.
#define IDC_THROTTLE_CHK_STOP_STATUS
afx_msg void OnBnClickedUpdate()
Click handler for the Update button.
#define IDC_THROTTLE_CHK_DRIVER_STATUS_LIST_REFRESH
afx_msg void OnBnClickedBack()
Click handler for the Back button; closes the dialog.
BOOL mDriverStatusList
If TRUE, the Driver Status List Refresh check box is selected.
Serial communication controller for Garmin and FMI packets.
BOOL mDriverIdUpdate
If TRUE, the Driver ID Update check box is selected.
#define IDD_MSG_THROTTLING
BOOL mDriverStatusUpdate
If TRUE, the Driver Status Update check box is selected.
afx_msg LRESULT OnThrottleQueryResponse(WPARAM aResponseCount, LPARAM aResponseList)
Event handler that processes a throttling query response event.
unsigned short int uint16
16-bit unsigned integer
#define IDC_THROTTLE_CHK_PING
#define IDC_THROTTLE_CHK_REFRESH_CAN_MSG_LIST
BOOL OnInitDialog()
Initialize the dialog.
#define NUM_THROTTLED_PROTOCOLS
Number of throttled protocols that are supported.
#define IDC_THROTTLE_CHK_MESSAGE_STATUS
Data type for the Message Throttling Command Packet ID and Message Throttling Response Packet ID...
BOOL mEta
If TRUE, the ETA check box is selected.
#define IDC_THROTTLE_CHK_CLIENT_TO_SERVER_OPEN_TXT_MSG
afx_msg void OnBnClickedCheckAll()
Click handler for the Select All check box.
#define IDC_THROTTLE_CHK_ETA
#define IDC_THROTTLE_CHK_DRIVER_ID_UPDATE
#define WM_EVENT(_event)
Translation from an application event to the corresponding Windows message.
unsigned long int uint32
32-bit unsigned integer
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
BOOL mClientToServerTextMessage
If TRUE, the Client to Server Text Message check box is selected.
void sendMessageThrottlingQuery()
Initiate the Message Throttling Query protocol.
#define IDC_THROTTLE_BTN_UPDATE