All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Rendering::Scene::ISceneElementObservable< T > Class Template Referenceabstract

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
 

Detailed Description

template<typename T>
class Eegeo::Rendering::Scene::ISceneElementObservable< T >

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.

Member Function Documentation

template<typename T >
virtual void Eegeo::Rendering::Scene::ISceneElementObservable< T >::AddObserver ( ISceneElementObserver< T > &  observerToAdd)
pure virtual

Register an observer to receive notifications when the collection's contents are modified.

Parameters
observerToAddThe observer to register.
template<typename T >
virtual void Eegeo::Rendering::Scene::ISceneElementObservable< T >::RemoveObserver ( ISceneElementObserver< T > &  observerToRemove)
pure virtual

De-register an observer from receiving notifications when the collection's contents are modified.

Parameters
observerToRemoveThe observer to de-register.

The documentation for this class was generated from the following files: