An Observer functor interface. More...
#include <pmvcpp.h>
Public Member Functions | |
virtual void | notifyObserver (INotification *notification)=0 |
A callback. | |
virtual bool | compareNotifyContext (intptr_t memoryAddress)=0 |
Compare an object's memory address to the notification context's memory address. |
An Observer functor interface.
A functor to be used to call Obsever notification handlers. IObserver has been split into two classes, one base untemplated class and one derived templated class.
virtual bool PureMVC::IObserverRestricted::compareNotifyContext | ( | intptr_t | memoryAddress | ) | [pure virtual] |
Compare an object's memory address to the notification context's memory address.
memoryAddress | the object to compare |
Implemented in PureMVC::Observer< T >.
virtual void PureMVC::IObserverRestricted::notifyObserver | ( | INotification * | notification | ) | [pure virtual] |
A callback.
Call the Observer's callback function in the context of the Observer.
Implemented in PureMVC::Observer< T >.