Interface to an observable collection of SceneElement<T> objects. More...
#include <ISceneElementObservable.h>
Public Member Functions | |
virtual void | AddObserver (ISceneElementObserver< T > &observerToAdd)=0 |
virtual void | RemoveObserver (ISceneElementObserver< T > &observerToRemove)=0 |
Interface to an observable collection of SceneElement<T> objects.
This interface allows the registration of observer objects to receive notifications when the contents of the collection are changed. This interface is a companion to ISceneElementObserver.
|
pure virtual |
Register an observer to receive notifications when the collection's contents are modified.
observerToAdd | The observer to register. |
|
pure virtual |
De-register an observer from receiving notifications when the collection's contents are modified.
observerToRemove | The observer to de-register. |