70 #ifndef __RKHFWK_PUBSUB_H__
71 #define __RKHFWK_PUBSUB_H__
146 const void *
const sender);
rui8_t rkh_pubsub_publish(rui8_t channel, RKH_EVT_T *event, const void *const sender)
void rkh_pubsub_subscribe(rui8_t channel, const RKH_SMA_T *ao)
Adds an active object to the notification list of an event channel. Each subscription registers a cli...
void rkh_pubsub_unsubscribeAll(const RKH_SMA_T *ao)
Unsubscribes an active object from all topics.
void rkh_pubsub_unsubscribe(rui8_t channel, const RKH_SMA_T *ao)
Unsubscribes an active object from topic.
void rkh_pubsub_init(void)
Encapsulates the initialization of publish-subscribe module.
RKH engine interface.This header file is directly included in RKH interface file, rkh....
Represents events without parameters.
Describes the SMA (active object in UML).