PureMVC::IObserverRestricted Class Reference

An Observer functor interface. More...

#include <pmvcpp.h>

Inheritance diagram for PureMVC::IObserverRestricted:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Function Documentation

virtual bool PureMVC::IObserverRestricted::compareNotifyContext ( intptr_t  memoryAddress  )  [pure virtual]

Compare an object's memory address to the notification context's memory address.

Parameters:
memoryAddress the object to compare
Returns:
boolean indicating if the object and the notification context are the same

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 >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables

Generated on Wed Feb 17 17:11:25 2010 for PureMVC++ by  doxygen 1.6.1