31 #ifndef INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATEVTBL_H_ 32 #define INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATEVTBL_H_ 84 return this->vptr->Init(
this, pParams);
89 return this->vptr->OnStartApplication(
this, pxContext);
94 return this->vptr->ProcessEvent(
this, pxContext, xEvent);
99 return this->vptr->OnNewErrEvent(
this, xEvent);
104 return this->vptr->IsLastErrorPending(
this);
109 return this->vptr->AddFirstResponder(
this, pFirstResponder, nPriority);
114 return this->vptr->RemoveFirstResponder(
this, pFirstResponder);
119 return this->vptr->GetMaxFirstResponderPriority(
this);
124 this->vptr->ResetCounter(
this);
Definition: sysevent.h:44
Define the global error management API.
sys_error_code_t(* RemoveFirstResponder)(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder)
Definition: IApplicationErrorDelegateVtbl.h:57
SYS_DEFINE_INLINE sys_error_code_t IAEDAddFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder, uint8_t nPriority)
Definition: IApplicationErrorDelegateVtbl.h:108
sys_error_code_t(* ProcessEvent)(IApplicationErrorDelegate *this, ApplicationContext *pxContext, SysEvent xEvent)
Definition: IApplicationErrorDelegateVtbl.h:53
SYS_DEFINE_INLINE sys_error_code_t IAEDOnStartApplication(IApplicationErrorDelegate *this, ApplicationContext *pxContext)
Definition: IApplicationErrorDelegateVtbl.h:88
Definition: IErrorFirstResponderVtbl.h:59
void(* ResetCounter)(IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:59
SYS_DEFINE_INLINE void IAEDResetCounter(IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:123
Definition: IApplicationErrorDelegateVtbl.h:50
SYS_DEFINE_INLINE sys_error_code_t IAEDInit(IApplicationErrorDelegate *this, void *pParams)
Definition: IApplicationErrorDelegateVtbl.h:83
Definition: IApplicationErrorDelegateVtbl.h:67
sys_error_code_t(* OnNewErrEvent)(IApplicationErrorDelegate *this, SysEvent xEvent)
Definition: IApplicationErrorDelegateVtbl.h:54
sys_error_code_t(* AddFirstResponder)(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder, uint8_t nPriority)
Definition: IApplicationErrorDelegateVtbl.h:56
sys_error_code_t(* OnStartApplication)(IApplicationErrorDelegate *this, ApplicationContext *pxContext)
Definition: IApplicationErrorDelegateVtbl.h:52
SYS_DEFINE_INLINE sys_error_code_t IAEDRemoveFirstResponder(IApplicationErrorDelegate *this, IErrFirstResponder *pFirstResponder)
Definition: IApplicationErrorDelegateVtbl.h:113
SYS_DEFINE_INLINE sys_error_code_t IAEDProcessEvent(IApplicationErrorDelegate *this, ApplicationContext *pxContext, SysEvent xEvent)
Definition: IApplicationErrorDelegateVtbl.h:93
sys_error_code_t(* Init)(IApplicationErrorDelegate *this, void *pParams)
Definition: IApplicationErrorDelegateVtbl.h:51
uint8_t(* GetMaxFirstResponderPriority)(const IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:58
SYS_DEFINE_INLINE sys_error_code_t IAEDOnNewErrEvent(IApplicationErrorDelegate *this, SysEvent xEvent)
Definition: IApplicationErrorDelegateVtbl.h:98
boolean_t(* IsLastErrorPending)(IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:55
unsigned short sys_error_code_t
Definition: syserror.h:45
Definition: ApplicationContext.h:48
SYS_DEFINE_INLINE boolean_t IAEDIsLastErrorPending(IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:103
Target platform definition.
SYS_DEFINE_INLINE uint8_t IAEDGetMaxFirstResponderPriority(const IApplicationErrorDelegate *this)
Definition: IApplicationErrorDelegateVtbl.h:118
const IApplicationErrorDelegate_vtbl * vptr
Definition: IApplicationErrorDelegateVtbl.h:72