eLooM for STM32 application  v3.3.0
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
AEventSrc.h File Reference

Generic implementation of the IEventSrc interface. More...

#include "events/IEventSrc.h"
#include "events/IEventSrc_vtbl.h"
+ Include dependency graph for AEventSrc.h:

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)
 

Detailed Description

Generic implementation of the IEventSrc interface.

Author
STMicroelectronics - AIS - MCD Team
Version
3.0.0
Date
Jul 13, 2020

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.

Attention

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 Documentation

◆ AEventSrc

typedef struct _AEventSrc AEventSrc

Create type name for _AEventSrc.

Function Documentation

◆ AEvtSrcGetOwner()

void * AEvtSrcGetOwner ( IEventSrc _this)

Get the pointer to the owner of the event source.

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

◆ AEvtSrcSetOwner()

sys_error_code_t AEvtSrcSetOwner ( IEventSrc _this,
void *  pxOwner 
)

Set the owner of the event source object.

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