eLooM for STM32 application
v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
|
Event Listener Interface. More...
Go to the source code of this file.
Typedefs | |
typedef struct _IEventListener | IEventListener |
Functions | |
static void | IEventListenerSetOwner (IEventListener *_this, void *pxOwner) |
static void * | IEventListenerGetOwner (IEventListener *_this) |
Event Listener Interface.
A tagging interface that all event listener interfaces must extend. Each listener is could be linked to only one owner. The owner is an application specific object.
Copyright (c) 2017 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 _IEventListener IEventListener |
Create type name for _IEventListener.
|
inlinestatic |
Get the pointer to the listener's owner.
_this | [IN] specifies a pointer to an IEventListener object. |
|
inlinestatic |
Set the owner of the listener.
_this | [IN] specifies a pointer to an IEventListener object. |
pxOwner | [IN] specifies a pointer to an application specific object that become the owner of the listenr. |