eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
IEventSrc.h
Go to the documentation of this file.
1
24#ifndef INCLUDE_EVENTS_IEVENTSRC_H_
25#define INCLUDE_EVENTS_IEVENTSRC_H_
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31
32#include "events/IEvent.h"
35
36
37// Forward functions declaration
38// *****************************
39
40void *SysAlloc(size_t nSize);
41
42// Public API declaration
43//***********************
44
51static inline sys_error_code_t IEventSrcInit(IEventSrc *_this);
52
61
70
77static inline uint32_t IEventSrcGetMaxListenerCount(const IEventSrc *_this);
78
88static inline sys_error_code_t IEventSrcSendEvent(const IEventSrc *_this, const IEvent *pxEvent, void *pvParams);
89
90
91// Inline functions definition
92// ***************************
93
94
95#ifdef __cplusplus
96}
97#endif
98
99
100#endif /* INCLUDE_EVENTS_IEVENTSRC_H_ */
The root class from which all event state objects shall be derived.
Event Listener Interface.
IEventListener virtual table definition.
static sys_error_code_t IEventSrcRemoveEventListener(IEventSrc *_this, IEventListener *pListener)
Definition IEventSrc_vtbl.h:75
static sys_error_code_t IEventSrcAddEventListener(IEventSrc *_this, IEventListener *pListener)
Definition IEventSrc_vtbl.h:70
static sys_error_code_t IEventSrcSendEvent(const IEventSrc *_this, const IEvent *pxEvent, void *pvParams)
Definition IEventSrc_vtbl.h:85
static uint32_t IEventSrcGetMaxListenerCount(const IEventSrc *_this)
Definition IEventSrc_vtbl.h:80
static sys_error_code_t IEventSrcInit(IEventSrc *_this)
Definition IEventSrc_vtbl.h:65
Definition IEvent.h:48
Definition IEventListener_vtbl.h:49
Definition IEventSrc_vtbl.h:49
uint16_t sys_error_code_t
Definition syserror.h:41