eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
IApplicationErrorDelegate.h
Go to the documentation of this file.
1
25#ifndef INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATE_H_
26#define INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATE_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
35
40
41
42// Public API declaration
43//***********************
44
53static inline sys_error_code_t IAEDInit(IApplicationErrorDelegate *_this, void *pParams);
54
63
73
84
91static inline boolean_t IAEDIsLastErrorPending(IApplicationErrorDelegate *_this);
92
103static inline sys_error_code_t IAEDAddFirstResponder(IApplicationErrorDelegate *_this, IErrFirstResponder *pFirstResponder, uint8_t nPriority);
104
113
120static inline uint8_t IAEDGetMaxFirstResponderPriority(const IApplicationErrorDelegate *_this);
121
131static inline void IAEDResetCounter(IApplicationErrorDelegate *_this);
132
133// Inline functions definition
134// ***************************
135
136
137#ifdef __cplusplus
138}
139#endif
140
141#endif /* INCLUDE_SERVICES_IAPPLICATIONERRORDELEGATE_H_ */
Define the Application Context public API.
static boolean_t IAEDIsLastErrorPending(IApplicationErrorDelegate *_this)
Definition IApplicationErrorDelegateVtbl.h:93
static sys_error_code_t IAEDRemoveFirstResponder(IApplicationErrorDelegate *_this, IErrFirstResponder *pFirstResponder)
Definition IApplicationErrorDelegateVtbl.h:103
static sys_error_code_t IAEDOnStartApplication(IApplicationErrorDelegate *_this, ApplicationContext *pxContext)
Definition IApplicationErrorDelegateVtbl.h:78
static sys_error_code_t IAEDAddFirstResponder(IApplicationErrorDelegate *_this, IErrFirstResponder *pFirstResponder, uint8_t nPriority)
Definition IApplicationErrorDelegateVtbl.h:98
static sys_error_code_t IAEDOnNewErrEvent(IApplicationErrorDelegate *_this, SysEvent xEvent)
Definition IApplicationErrorDelegateVtbl.h:88
static void IAEDResetCounter(IApplicationErrorDelegate *_this)
Definition IApplicationErrorDelegateVtbl.h:113
static uint8_t IAEDGetMaxFirstResponderPriority(const IApplicationErrorDelegate *_this)
Definition IApplicationErrorDelegateVtbl.h:108
static sys_error_code_t IAEDProcessEvent(IApplicationErrorDelegate *_this, ApplicationContext *pxContext, SysEvent xEvent)
Definition IApplicationErrorDelegateVtbl.h:83
static sys_error_code_t IAEDInit(IApplicationErrorDelegate *_this, void *pParams)
Definition IApplicationErrorDelegateVtbl.h:73
Declare the Error first responder interface.
Definition ApplicationContext.h:39
Definition IApplicationErrorDelegateVtbl.h:57
Definition IErrorFirstResponderVtbl.h:51
uint16_t sys_error_code_t
Definition syserror.h:41
Definition sysevent.h:41