Go to the documentation of this file.
6#ifndef imod_IModel_included
7#define imod_IModel_included
28class IModel:
virtual public istd::IPolymorphic
Common interface for model objects, that supports Model/Observer design pattern.
virtual void DetachAllObservers()=0
Detaches all attached observers.
virtual void DetachObserver(IObserver *observerPtr)=0
Detaches model object from observer observerPtr.
virtual bool AttachObserver(IObserver *observerPtr)=0
Attaches model object to observer observerPtr.
virtual bool IsAttached(const IObserver *observerPtr) const =0
Returns true if observer observer is attached to this model object.
Common interface for all classes implementing the Observer functionality in the Model/Observer design...
This namespace containes basic implementation of Model/Observer design pattern This package is system...
© Witold Gantzke and Kirill Lepskiy