eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
IEventListener.h File Reference

Event Listener Interface. More...

+ Include dependency graph for IEventListener.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Event Listener Interface.

Author
STMicroelectronics - ST-Korea - MCD Team
Version
3.0.0
Date
Apr 6, 2017

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.

Attention

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 Documentation

◆ IEventListener

Create type name for _IEventListener.

Function Documentation

◆ IEventListenerGetOwner()

static void * IEventListenerGetOwner ( IEventListener _this)
inlinestatic

Get the pointer to the listener's owner.

Parameters
_this[IN] specifies a pointer to an IEventListener object.

◆ IEventListenerSetOwner()

static void IEventListenerSetOwner ( IEventListener _this,
void *  pxOwner 
)
inlinestatic

Set the owner of the listener.

Parameters
_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.