GObserver Class Reference
Public Member Functions | |
virtual void | update (GObservable *observable, const void *pUserData)=0 |
Detailed Description
This interface is part of some kind of MVC (Model-View-Controller) pattern. Each class implementing this interface can be registered to an GObservable object so that it is notified in case of an event.
Member Function Documentation
virtual void update | ( | GObservable * | observable, |
const void * | pUserData | ||
) | [pure virtual] |
Each class inheriting from this interface should implement this method. It defines what the GObserver will do in case it is notified by the GObservable
- Parameters:
-
observable the GObservable object that is observed pUserData the event/message/data that is send by the GObservable object to the GObserver
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4