ODeV framework  v2
IApplicationErrorDelegate.h
Go to the documentation of this file.
1 
33 #ifndef INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATE_H_
34 #define INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATE_H_
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 #include "ApplicationContext.h"
41 #include "IErrorFirstResponder.h"
43 
48 
49 
50 // Public API declaration
51 //***********************
52 
61 inline sys_error_code_t IAEDInit(IApplicationErrorDelegate *this, void *pParams);
62 
71 
81 
92 
100 
111 inline sys_error_code_t IAEDAddFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder, uint8_t nPriority);
112 
121 
129 
140 
141 // Inline functions definition
142 // ***************************
143 
144 
145 #ifdef __cplusplus
146 }
147 #endif
148 
149 #endif /* INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATE_H_ */
Definition: sysevent.h:44
boolean_t IAEDIsLastErrorPending(IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:103
sys_error_code_t IAEDOnNewErrEvent(IApplicationErrorDelegate *this, SysEvent xEvent)
Definition: IApplicationErrorDelegateVtbl.h:98
sys_error_code_t IAEDAddFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder, uint8_t nPriority)
Definition: IApplicationErrorDelegateVtbl.h:108
sys_error_code_t IAEDOnStartApplication(IApplicationErrorDelegate *this, ApplicationContext *pxContext)
Definition: IApplicationErrorDelegateVtbl.h:88
Definition: IErrorFirstResponderVtbl.h:59
Declare the Error first responder interface.
Definition: IApplicationErrorDelegateVtbl.h:67
sys_error_code_t IAEDProcessEvent(IApplicationErrorDelegate *this, ApplicationContext *pxContext, SysEvent xEvent)
Definition: IApplicationErrorDelegateVtbl.h:93
sys_error_code_t IAEDInit(IApplicationErrorDelegate *this, void *pParams)
Definition: IApplicationErrorDelegateVtbl.h:83
sys_error_code_t IAEDRemoveFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder)
Definition: IApplicationErrorDelegateVtbl.h:113
Define the Application Context public API.
unsigned short sys_error_code_t
Definition: syserror.h:45
uint8_t IAEDGetMaxFirstResponderPriority(const IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:118
Definition: ApplicationContext.h:48
void IAEDResetCounter(IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:123