BeRTOS
Functions
observer.c File Reference

Simple notifier for the observer/subject pattern (implementation) More...

#include "observer.h"
#include <cpu/irq.h>

Go to the source code of this file.

Functions

void observer_Subscribe (Subject *subject, Observer *observer)
 Aggiunge un Observer all'insieme.
void observer_notify (Subject *subject, int event_id, void *param)
 per tutti gli elementi nel set notifica l'evento, chiamando la relativa funzione event

Detailed Description

Simple notifier for the observer/subject pattern (implementation)

Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file observer.c.