OBSERVABLE_LIST< _LIT >::OBSERVER Class Reference

Base class for observers of this list to inherit from. More...

#include <mi32/obslist.h>

Inheritance diagram for OBSERVABLE_LIST< _LIT >::OBSERVER:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OBSERVER (OBSERVABLE_LIST< _LIT > &list)
virtual void OnChanged (const _LIT &item)
virtual void OnChangeOrderBegin (const _LIT &item)
virtual void OnChangeOrderEnd (const _LIT &item)
virtual void OnClear ()
virtual void OnInsert (const _LIT &item)
virtual void OnRemove (const _LIT &item)
virtual void OnSort ()

Detailed Description

template<class _LIT>
class OBSERVABLE_LIST< _LIT >::OBSERVER

Base class for observers of this list to inherit from.

Definition at line 95 of file obslist.h.


Constructor & Destructor Documentation

template<class _LIT>
OBSERVABLE_LIST< _LIT >::OBSERVER::OBSERVER OBSERVABLE_LIST< _LIT > &  list  )  [inline]
 

Constructor.

Definition at line 99 of file obslist.h.


Member Function Documentation

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnChanged const _LIT &  item  )  [inline, virtual]
 

Called when item has been changed through non-const reference.

Parameters:
item  Reference to item which was changed

Definition at line 104 of file obslist.h.

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnChangeOrderBegin const _LIT &  item  )  [inline, virtual]
 

Called before item is repositioned in list.

Parameters:
item  Reference to item before position changed

Definition at line 109 of file obslist.h.

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnChangeOrderEnd const _LIT &  item  )  [inline, virtual]
 

Called after item is repositioned in list.

Parameters:
item  Reference to item after position changed

Definition at line 114 of file obslist.h.

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnClear  )  [inline, virtual]
 

Called after list has been cleared.

Definition at line 119 of file obslist.h.

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnInsert const _LIT &  item  )  [inline, virtual]
 

Called after item inserted into list.

Parameters:
item  Reference to item which has been inserted

Definition at line 123 of file obslist.h.

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnRemove const _LIT &  item  )  [inline, virtual]
 

Called when item about to be removed from list.

Parameters:
item  Reference to item which is about to be removed

Definition at line 128 of file obslist.h.

template<class _LIT>
virtual void OBSERVABLE_LIST< _LIT >::OBSERVER::OnSort  )  [inline, virtual]
 

Called when list has been sorted.

Definition at line 133 of file obslist.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:08 2004 for TNTsdk by  doxygen 1.3.8-20040913