Carousel
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
IListObserver< TItem > Class Template Referenceabstract

This class defines observer's interface for the notifications from the ObservableList. More...

#include <IListObserver.h>

Public Member Functions

virtual void onChanged (const Changes< TItem > &changes)=0
 

Detailed Description

template<typename TItem>
class IListObserver< TItem >

This class defines observer's interface for the notifications from the ObservableList.

You have to implement this interface to listen ObservableList's changes.

Member Function Documentation

template<typename TItem>
virtual void IListObserver< TItem >::onChanged ( const Changes< TItem > &  changes)
pure virtual

This method is invoked by the ObservableList when it is changed: items were added, removed, or it was sorted, etc.

Use changes to obtain more details about incoming changes.