10 #ifndef CMsgThrottlingDlg_H 11 #define CMsgThrottlingDlg_H 16 #define NUM_THROTTLED_PROTOCOLS 11 49 CDataExchange* aDataExchange
56 #if( FMI_SUPPORT_A605 ) 59 WPARAM aResponseCount,
BOOL * mProtocolStateLookup[NUM_THROTTLED_PROTOCOLS]
Pointers to BOOLs indicating the requested throttle state.
uint16 mPacketIdLookup[NUM_THROTTLED_PROTOCOLS]
Lookup table from array indexes to protocol (packet) IDs.
CMsgThrottlingDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
BOOL mSelectAll
If TRUE, the Select All check box is selected.
BOOL mWaypointDeleted
If TRUE, the Waypoint Deleted check box is selected.
BOOL mRefreshCannedResponseList
If TRUE, the Refresh Canned Response List check box is selected.
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
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.
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.
afx_msg void OnBnClickedUpdate()
Click handler for the Update button.
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.
EventListener that dispatches a Windows message.
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
BOOL OnInitDialog()
Initialize the dialog.
#define NUM_THROTTLED_PROTOCOLS
Number of throttled protocols that are supported.
BOOL mEta
If TRUE, the ETA check box is selected.
afx_msg void OnBnClickedCheckAll()
Click handler for the Select All check box.
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.