eLooM for STM32 application
v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
|
Generic implementation of the IEventSrc interface. More...
Go to the source code of this file.
Data Structures | |
struct | _AEventSrc |
Typedefs | |
typedef struct _AEventSrc | AEventSrc |
Functions | |
sys_error_code_t | AEvtSrcSetOwner (IEventSrc *_this, void *pxOwner) |
void * | AEvtSrcGetOwner (IEventSrc *_this) |
Generic implementation of the IEventSrc interface.
Generic abstract implementation of the IEventSrc interface. The IEventListener objects are managed with an array of fixed size. This class must be extended in order to define the IEventSrcSendEvent() method.
Copyright (c) 2020 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
typedef struct _AEventSrc AEventSrc |
Create type name for _AEventSrc.
void * AEvtSrcGetOwner | ( | IEventSrc * | _this | ) |
Get the pointer to the owner of the event source.
_this | [IN] specifies a pointer to an AEventSrc object. |
sys_error_code_t AEvtSrcSetOwner | ( | IEventSrc * | _this, |
void * | pxOwner | ||
) |
Set the owner of the event source object.
_this | [IN] specifies a pointer to an AEventSrc object. |
pxOwner | [IN] specifies a pointer to an application specific object that become the owner of the event source. |