ODeV framework  v2
NullErrorDelegate.h
Go to the documentation of this file.
1 
31 #ifndef INCLUDE_SERVICES_NULLERRORDELEGATE_H_
32 #define INCLUDE_SERVICES_NULLERRORDELEGATE_H_
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
40 
45 
54 };
55 
56 
57 
58 // Public API declaration
59 //***********************
60 
68 
69 
70 // Inline functions definition
71 // ***************************
72 
77 inline
78 sys_error_code_t NullAEDInit(IApplicationErrorDelegate *this, void *pParams) { return SYS_NO_ERROR_CODE; }
79 
84 inline
86 
91 inline
92 sys_error_code_t NullAEDProcessEvent(IApplicationErrorDelegate *this, ApplicationContext *pxContext, SysEvent xEvent) { return SYS_NO_ERROR_CODE; }
93 
99 inline
100 sys_error_code_t NullAEDOnNewErrEvent(IApplicationErrorDelegate *this, SysEvent xEvent) { return SYS_NO_ERROR_CODE; }
101 
106 inline
107 boolean_t NullAEDIsLastErrorPending(IApplicationErrorDelegate *this) { return FALSE; }
108 
113 inline
114 sys_error_code_t NullAEDAddFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder, uint8_t nPriority) { return SYS_NO_ERROR_CODE; }
115 
120 inline
121 sys_error_code_t NullAEDRemoveFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder) { return SYS_NO_ERROR_CODE; }
122 
127 inline
129 
134 inline
136 
137 
138 #ifdef __cplusplus
139 }
140 #endif
141 
142 #endif /* INCLUDE_SERVICES_NULLERRORDELEGATE_H_ */
Definition: sysevent.h:44
IApplicationErrorDelegate * NullAEDAlloc()
sys_error_code_t NullAEDOnStartApplication(IApplicationErrorDelegate *this, ApplicationContext *pxContext)
Definition: NullErrorDelegate.h:85
sys_error_code_t NullAEDAddFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder, uint8_t nPriority)
Definition: NullErrorDelegate.h:114
boolean_t NullAEDIsLastErrorPending(IApplicationErrorDelegate *this)
Definition: NullErrorDelegate.h:107
Definition: IErrorFirstResponderVtbl.h:59
sys_error_code_t NullAEDProcessEvent(IApplicationErrorDelegate *this, ApplicationContext *pxContext, SysEvent xEvent)
Definition: NullErrorDelegate.h:92
Application error manager delegate.
sys_error_code_t NullAEDRemoveFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder)
Definition: NullErrorDelegate.h:121
Definition: IApplicationErrorDelegateVtbl.h:67
uint8_t NullAEDGetMaxFirstResponderPriority(const IApplicationErrorDelegate *this)
Definition: NullErrorDelegate.h:128
sys_error_code_t NullAEDInit(IApplicationErrorDelegate *this, void *pParams)
Definition: NullErrorDelegate.h:78
void NullAEDResetCounter(IApplicationErrorDelegate *this)
Definition: NullErrorDelegate.h:135
Definition: NullErrorDelegate.h:49
unsigned short sys_error_code_t
Definition: syserror.h:45
Definition: ApplicationContext.h:48
sys_error_code_t NullAEDOnNewErrEvent(IApplicationErrorDelegate *this, SysEvent xEvent)
Definition: NullErrorDelegate.h:100
IApplicationErrorDelegate super
Definition: NullErrorDelegate.h:53