inc/eventManager.h File Reference

This graph shows which files directly or indirectly include this file:


Data Structures

struct  event_t

Typedefs

typedef void(*) tEventFuncPtr (void *)
 function pointer and argument to call

Functions

int event_init (event_t *event, int size)
 event_init (to be called from devices) Parameters:
int event_subscribe (event_t *event, int id, tEventFuncPtr pFunc, void *pArg)
 event_subscribe: Suscribe to the event Parameters:
int event_unsubscribe (event_t *event, int id)
 event_subscribe: Suscribe to the event Parameters:

Typedef Documentation

typedef void(*) tEventFuncPtr(void *)

function pointer and argument to call


Function Documentation

int event_init ( event_t event,
int  size 
)

event_init (to be called from devices) Parameters:

Parameters:

Parameters:
pThis pointer device event object
Returns:
PASS, FAIL

int event_subscribe ( event_t event,
int  id,
tEventFuncPtr  pFunc,
void *  pArg 
)

event_subscribe: Suscribe to the event Parameters:

Parameters:
pThis pointer to the event object There is no check for the validity if the id
Returns:
PASS, FAIL

int event_unsubscribe ( event_t event,
int  id 
)

event_subscribe: Suscribe to the event Parameters:

Parameters:
pThis pointer to the event object There is no check for the validity if the id
Returns:
PASS, FAIL


Generated on 3 Mar 2014 for PAL bare-c Library by  doxygen 1.4.7