XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs | Functions
BCDS_EventHub.h File Reference
#include "BCDS_Utils.h"
#include "BCDS_Basics.h"
#include "BCDS_Retcode.h"
+ Include dependency graph for BCDS_EventHub.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  EventHub_S
 
struct  EventObserver_S
 

Macros

#define CONFIG_EVENTHUB_MAX_OBSERVERS   (16)
 

Typedefs

typedef void(* EventHandler_T )(TaskEvent_T event, void *data)
 
typedef struct EventHub_S EventHub_T
 
typedef struct EventObserver_S EventObserver_T
 
typedef uint32_t TaskEvent_T
 

Functions

Retcode_T EventHub_Initialize (EventHub_T *hub)
 This function initializes a given event hub handle. More...
 
Retcode_T EventHub_Notify (EventHub_T *hub, TaskEvent_T Event, void *data)
 This function informs the hub that a given event has occurred. More...
 
Retcode_T EventHub_Observe (EventHub_T *hub, EventHandler_T handler, TaskEvent_T event)
 This function adds an observe of a given event to a hub. More...
 
Retcode_T EventHub_ObserveAll (EventHub_T *hub, EventHandler_T handler)
 This function adds an observe of all events to a hub. More...
 

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:49 by doxygen 1.8.8