ODeV framework  v2
Typedefs | Functions
IEventListener.h File Reference

Event Listener Interface. More...

#include "systypes.h"
#include "syserror.h"
#include "IListener.h"
#include "IListenerVtbl.h"
+ 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

void IEventListenerSetOwner (IEventListener *this, void *pxOwner)
 
void * IEventListenerGetOwner (IEventListener *this)
 

Detailed Description

Event Listener Interface.

Author
STMicroelectronics - ST-Korea - MCD Team
Version
1.2.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 2017 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ IEventListener

Create type name for _IEventListener.

Function Documentation

◆ IEventListenerGetOwner()

void* IEventListenerGetOwner ( IEventListener this)
inline

Get the pointer to the listener's owner.

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

◆ IEventListenerSetOwner()

void IEventListenerSetOwner ( IEventListener this,
void *  pxOwner 
)
inline

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.