IObserver Class Referenceabstract

OpenViBE Observer interface. More...

Public Member Functions

virtual void update (CObservable &o, void *data)=0
 Function called by the observed object when a notification is done. More...
 

Detailed Description

OpenViBE Observer interface.

Author
Guillaume Serrière (Inria/Loria)
Date
2014-11-7 This interface is used in the Observer/Observable pattern implementation in OpenViBE.

Member Function Documentation

virtual void update ( CObservable o,
void *  data 
)
pure virtual

Function called by the observed object when a notification is done.

Parameters
o[in] : the object which do the notification.
data[in] : a pointer to data give by the observed object during the notification.