Public Types | Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
imod::CSingleModelObserverBase Class Reference

Basic implementation for a single model observer. More...

#include <CSingleModelObserverBase.h>

Inheritance diagram for imod::CSingleModelObserverBase:
imod::IObserver istd::IPolymorphic ibase::CObjectSynchronizerComp idoc::CSingleDocumentManagerBase ifile::CFileListProviderComp imod::CMultiModelDispatcherBase::ObserverProxy imod::TSingleModelObserverBase< ModelInterface > iprm::CManagerParamsSetShadowerComp iview::CShapeBase imod::TSingleModelObserverBase< CircleBasedModel > imod::TSingleModelObserverBase< i2d::CAffineTransformation2d > imod::TSingleModelObserverBase< i2d::CAnnulus > imod::TSingleModelObserverBase< i2d::CAnnulusSegment > imod::TSingleModelObserverBase< i2d::CArc > imod::TSingleModelObserverBase< i2d::CCircle > imod::TSingleModelObserverBase< i2d::CLine2d > imod::TSingleModelObserverBase< i2d::COrientedCircle > imod::TSingleModelObserverBase< i2d::CPolygon > imod::TSingleModelObserverBase< i2d::CPolyline > imod::TSingleModelObserverBase< i2d::CPosition2d > imod::TSingleModelObserverBase< i2d::CQuadrangle > imod::TSingleModelObserverBase< i2d::CRectangle > imod::TSingleModelObserverBase< i2d::CTubePolyline > imod::TSingleModelObserverBase< i2d::ICalibration2d > imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > imod::TSingleModelObserverBase< ibase::IRuntimeStatusProvider > imod::TSingleModelObserverBase< idoc::IDocumentManager > imod::TSingleModelObserverBase< idoc::IDocumentMetaInfo > imod::TSingleModelObserverBase< idoc::IUndoManager > imod::TSingleModelObserverBase< IDocumentManager > imod::TSingleModelObserverBase< ifile::IFileListProvider > imod::TSingleModelObserverBase< ifile::IFileNameParam > imod::TSingleModelObserverBase< iimg::IBitmap > imod::TSingleModelObserverBase< iimg::IMultiBitmapProvider > imod::TSingleModelObserverBase< ilog::IMessageContainer > imod::TSingleModelObserverBase< imod::IModel > imod::TSingleModelObserverBase< iprm::IEnableableParam > imod::TSingleModelObserverBase< iprm::INameParam > imod::TSingleModelObserverBase< iprm::IOptionsList > imod::TSingleModelObserverBase< iprm::IOptionsManager > imod::TSingleModelObserverBase< iprm::IParamsManager > imod::TSingleModelObserverBase< iprm::IParamsSet > imod::TSingleModelObserverBase< iprm::ISelectionParam > imod::TSingleModelObserverBase< iprm::IVariableParam > imod::TSingleModelObserverBase< iser::ISerializable > imod::TSingleModelObserverBase< IShapeStatusInfo > imod::TSingleModelObserverBase< istd::IChangeable > imod::TSingleModelObserverBase< istd::IInformationProvider > imod::TSingleModelObserverBase< Model > imod::TSingleModelObserverBase< PolygonBasedModel > imod::TSingleModelObserverBase< ShapeModel >

Public Types

typedef imod::IModel ModelType
 

Public Member Functions

 CSingleModelObserverBase ()
 
virtual ~CSingleModelObserverBase ()
 
imod::IModelGetObservedModel () const
 Get access to observed model. More...
 
imod::IModelGetModelPtr () const
 Get access to observed model. More...
 
void EnsureModelDetached ()
 Make sure this observer is detached. More...
 
void SetObservedIds (const istd::IChangeable::ChangeSet &changeMask)
 Set list of ID's beeing observed. More...
 
virtual bool IsModelAttached (const imod::IModel *modelPtr=NULL) const
 Check if specified model is attached. More...
 
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask)
 This call back function will be called, if an observable object is about to be attached. More...
 
virtual bool OnModelDetached (imod::IModel *modelPtr)
 This call back function will be called, if an observable object is about to be detached. More...
 
virtual void BeforeUpdate (imod::IModel *modelPtr)
 This function will be called before update of the observer contents occures. More...
 
virtual void AfterUpdate (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)
 This function will be called after update of the observer contents occures. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Member Functions

void SetModelPtr (imod::IModel *modelPtr)
 Set internal model pointer to specified value. More...
 
virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
 Called on update of observed model. More...
 

Static Protected Attributes

static const
istd::IChangeable::ChangeSet 
s_undoChanges
 

Detailed Description

Basic implementation for a single model observer.

Derrived implementations can reimplement simplified OnUpdate method to be notified about model changes.

Definition at line 22 of file CSingleModelObserverBase.h.

Member Typedef Documentation

Definition at line 25 of file CSingleModelObserverBase.h.

Constructor & Destructor Documentation

imod::CSingleModelObserverBase::CSingleModelObserverBase ( )
virtual imod::CSingleModelObserverBase::~CSingleModelObserverBase ( )
virtual

Member Function Documentation

virtual void imod::CSingleModelObserverBase::AfterUpdate ( imod::IModel modelPtr,
const istd::IChangeable::ChangeSet changeSet 
)
virtual

This function will be called after update of the observer contents occures.

Implements imod::IObserver.

Reimplemented in iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CEnableableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IEnableableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CExtParamsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CQuadrangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CComposedParamsSetGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectableGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileSystemExplorerGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertyGuiComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CTubePolyline > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFilePreviewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< CircleBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileTreeViewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QWidget >, imod::TSingleModelObserverBase< iimg::IMultiBitmapProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::COrientedCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAffineTransformation2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< ShapeModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CButtonBasedSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulusSegment > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CLine2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsListEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsList > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CVariableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IVariableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPosition2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CTextLogGuiComp, QWidget >, imod::TSingleModelObserverBase< ilog::IMessageContainer > >, iqtgui::TGuiObserverWrap< CViewProviderGuiComp, iview::CImageShape >, iqtgui::TGuiObserverWrap< TGuiComponentBase< QTableView >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QWidget >, imod::TSingleModelObserverBase< idoc::IDocumentMetaInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolyline > >, iqtgui::TGuiObserverWrap< iqtgui::CComposedGuiComp, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileListProviderGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileListProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CParamsManagerGuiCompBase, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< TGuiComponentBase< ItemWidgetClass >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::INameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CArc > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSimpleFilePathParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CRectangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< PolygonBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CShapeInfoGuiComp, QWidget >, imod::TSingleModelObserverBase< IShapeStatusInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamIndexGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertiesFrameComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< UI, WidgetType >, imod::TSingleModelObserverBase< Model > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolygon > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulus > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CCheckableOptionsEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QLabel >, imod::TSingleModelObserverBase< istd::IInformationProvider > >, iqtprm::CParamsManagerGuiCompBase, idoc::CSerializedUndoManagerComp, idoc::CSelectedDocModelBinderComp, iqt2d::CSelectableSceneExtenderComp, iqtprm::CSelectableParamsSetGuiComp, and iview::CImageShape.

virtual void imod::CSingleModelObserverBase::BeforeUpdate ( imod::IModel modelPtr)
virtual

This function will be called before update of the observer contents occures.

Please note, that in some cases no following AfterUpdate can be called.

Implements imod::IObserver.

Reimplemented in idoc::CSerializedUndoManagerComp, idoc::CSelectedDocModelBinderComp, and iqtprm::CSelectableParamsSetGuiComp.

void imod::CSingleModelObserverBase::EnsureModelDetached ( )

Make sure this observer is detached.

It calls model method DetachObserver() if model is available.

imod::IModel * imod::CSingleModelObserverBase::GetModelPtr ( ) const
inline

Get access to observed model.

Deprecated:
use GetObservedModel instead.
Returns
pointer to observed model, or NULL if no model is connected.

Definition at line 91 of file CSingleModelObserverBase.h.

imod::IModel * imod::CSingleModelObserverBase::GetObservedModel ( ) const
inline

Get access to observed model.

Returns
pointer to observed model, or NULL if no model is connected.

Definition at line 85 of file CSingleModelObserverBase.h.

Referenced by iview::CLineShape::EnsurePointsAreValid().

bool imod::CSingleModelObserverBase::IsModelAttached ( const imod::IModel modelPtr = NULL) const
inlinevirtual

Check if specified model is attached.

pointer to model object. If this pointer is NULL, any model is meaned.

Returns
true, if modelPtr is attached yet to this observer, false otherwise.

Implements imod::IObserver.

Definition at line 99 of file CSingleModelObserverBase.h.

References NULL.

virtual bool imod::CSingleModelObserverBase::OnModelAttached ( imod::IModel modelPtr,
istd::IChangeable::ChangeSet changeMask 
)
virtual

This call back function will be called, if an observable object is about to be attached.

This function returns a true, if observable object is accepted by the implementation logic of the observer, otherwise returns false.

Parameters
modelPtrpointer to model object being attached.
changeMaskoutput parameter returning set of change ID's will be accepted. returns a false.

Implements imod::IObserver.

Reimplemented in iqtdoc::CMainWindowGuiComp, iview::CShapeBase, iview::CParallelogramShape, iview::CLineShape, iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CArcParamsGuiComp, iview::CArcShape, i2d::CArc >, iqt2d::TShapeParamsGuiCompBase< Ui::CAffineTransformationParamsGui, iview::CAffineTransformation2dShape, i2d::CAffineTransformation2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CLine2dParamsGuiComp, iview::CLineShape, i2d::CLine2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CTubePolylineShape, i2d::CTubePolyline >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::COrientedCircleShape, i2d::COrientedCircle >, iqt2d::TShapeParamsGuiCompBase< Ui::CRectangleParamsGuiComp, iview::CRectangleShape, i2d::CRectangle >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, PolygonBasedShape, PolygonBasedModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusParamsGuiComp, iview::CAnnulusShape, i2d::CAnnulus >, iqt2d::TShapeParamsGuiCompBase< Ui::CPosition2dParamsGuiComp, iview::CPinShape, i2d::CPosition2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusSegmentParamsGuiComp, iview::CAnnulusSegmentShape, i2d::CAnnulusSegment >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::CCircleShape, i2d::CCircle >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolygonShape, i2d::CPolygon >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, CircleBasedShape, CircleBasedModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolylineShape, i2d::CPolyline >, iqt2d::TShapeParamsGuiCompBase< Ui::CQuadrangleParamsGuiComp, iview::CParallelogramShape, i2d::CQuadrangle >, iview::CLabelShape, iview::CPolygonShape, idoc::CSerializedUndoManagerComp, iview::CInteractiveShapeBase, imod::TSingleModelObserverBase< ModelInterface >, imod::TSingleModelObserverBase< idoc::IDocumentMetaInfo >, imod::TSingleModelObserverBase< i2d::CPolygon >, imod::TSingleModelObserverBase< iimg::IBitmap >, imod::TSingleModelObserverBase< idoc::IDocumentManager >, imod::TSingleModelObserverBase< iprm::IEnableableParam >, imod::TSingleModelObserverBase< IShapeStatusInfo >, imod::TSingleModelObserverBase< istd::IInformationProvider >, imod::TSingleModelObserverBase< i2d::CPolyline >, imod::TSingleModelObserverBase< i2d::COrientedCircle >, imod::TSingleModelObserverBase< i2d::CAffineTransformation2d >, imod::TSingleModelObserverBase< ifile::IFileListProvider >, imod::TSingleModelObserverBase< imod::IModel >, imod::TSingleModelObserverBase< CircleBasedModel >, imod::TSingleModelObserverBase< iprm::IOptionsManager >, imod::TSingleModelObserverBase< iser::ISerializable >, imod::TSingleModelObserverBase< iprm::IParamsManager >, imod::TSingleModelObserverBase< iprm::IParamsSet >, imod::TSingleModelObserverBase< PolygonBasedModel >, imod::TSingleModelObserverBase< i2d::CArc >, imod::TSingleModelObserverBase< i2d::CRectangle >, imod::TSingleModelObserverBase< i2d::CAnnulusSegment >, imod::TSingleModelObserverBase< i2d::CLine2d >, imod::TSingleModelObserverBase< idoc::IUndoManager >, imod::TSingleModelObserverBase< i2d::CPosition2d >, imod::TSingleModelObserverBase< Model >, imod::TSingleModelObserverBase< ilog::IMessageContainer >, imod::TSingleModelObserverBase< ShapeModel >, imod::TSingleModelObserverBase< iprm::IVariableParam >, imod::TSingleModelObserverBase< i2d::CTubePolyline >, imod::TSingleModelObserverBase< i2d::CQuadrangle >, imod::TSingleModelObserverBase< i2d::CAnnulus >, imod::TSingleModelObserverBase< iimg::IMultiBitmapProvider >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider >, imod::TSingleModelObserverBase< iprm::IOptionsList >, imod::TSingleModelObserverBase< IDocumentManager >, imod::TSingleModelObserverBase< iprm::INameParam >, imod::TSingleModelObserverBase< i2d::CCircle >, imod::TSingleModelObserverBase< ifile::IFileNameParam >, imod::TSingleModelObserverBase< iprm::ISelectionParam >, imod::TSingleModelObserverBase< istd::IChangeable >, imod::TSingleModelObserverBase< i2d::ICalibration2d >, imod::TSingleModelObserverBase< ibase::IRuntimeStatusProvider >, iview::CAffineTransformation2dShape, iview::CAnnulusShape, iview::CArcShape, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CEnableableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IEnableableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CExtParamsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CQuadrangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CComposedParamsSetGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectableGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileSystemExplorerGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertyGuiComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CTubePolyline > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFilePreviewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< CircleBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileTreeViewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QWidget >, imod::TSingleModelObserverBase< iimg::IMultiBitmapProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::COrientedCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAffineTransformation2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< ShapeModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CButtonBasedSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulusSegment > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CLine2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsListEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsList > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CVariableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IVariableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPosition2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CTextLogGuiComp, QWidget >, imod::TSingleModelObserverBase< ilog::IMessageContainer > >, iqtgui::TGuiObserverWrap< CViewProviderGuiComp, iview::CImageShape >, iqtgui::TGuiObserverWrap< TGuiComponentBase< QTableView >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QWidget >, imod::TSingleModelObserverBase< idoc::IDocumentMetaInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolyline > >, iqtgui::TGuiObserverWrap< iqtgui::CComposedGuiComp, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileListProviderGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileListProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CParamsManagerGuiCompBase, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< TGuiComponentBase< ItemWidgetClass >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::INameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CArc > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSimpleFilePathParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CRectangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< PolygonBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CShapeInfoGuiComp, QWidget >, imod::TSingleModelObserverBase< IShapeStatusInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamIndexGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertiesFrameComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< UI, WidgetType >, imod::TSingleModelObserverBase< Model > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolygon > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulus > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CCheckableOptionsEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QLabel >, imod::TSingleModelObserverBase< istd::IInformationProvider > >, iqt2d::CSelectableSceneExtenderComp, iview::CCircleShape, iview::CRectangleShape, iview::CAnnulusSegmentShape, iview::CImageShape, iview::CPolylineShape, iview::CPinShape, iview::CPolypointShape, iview::COrientedCircleShape, and iview::CSplineShape.

virtual bool imod::CSingleModelObserverBase::OnModelDetached ( imod::IModel modelPtr)
virtual

This call back function will be called, if an observable object is about to be detached.

Implements imod::IObserver.

Reimplemented in iqtdoc::CMainWindowGuiComp, iview::CShapeBase, iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CArcParamsGuiComp, iview::CArcShape, i2d::CArc >, iqt2d::TShapeParamsGuiCompBase< Ui::CAffineTransformationParamsGui, iview::CAffineTransformation2dShape, i2d::CAffineTransformation2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CLine2dParamsGuiComp, iview::CLineShape, i2d::CLine2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CTubePolylineShape, i2d::CTubePolyline >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::COrientedCircleShape, i2d::COrientedCircle >, iqt2d::TShapeParamsGuiCompBase< Ui::CRectangleParamsGuiComp, iview::CRectangleShape, i2d::CRectangle >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, PolygonBasedShape, PolygonBasedModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusParamsGuiComp, iview::CAnnulusShape, i2d::CAnnulus >, iqt2d::TShapeParamsGuiCompBase< Ui::CPosition2dParamsGuiComp, iview::CPinShape, i2d::CPosition2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusSegmentParamsGuiComp, iview::CAnnulusSegmentShape, i2d::CAnnulusSegment >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::CCircleShape, i2d::CCircle >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolygonShape, i2d::CPolygon >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, CircleBasedShape, CircleBasedModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolylineShape, i2d::CPolyline >, iqt2d::TShapeParamsGuiCompBase< Ui::CQuadrangleParamsGuiComp, iview::CParallelogramShape, i2d::CQuadrangle >, idoc::CSerializedUndoManagerComp, iview::CInteractiveShapeBase, imod::TSingleModelObserverBase< ModelInterface >, imod::TSingleModelObserverBase< idoc::IDocumentMetaInfo >, imod::TSingleModelObserverBase< i2d::CPolygon >, imod::TSingleModelObserverBase< iimg::IBitmap >, imod::TSingleModelObserverBase< idoc::IDocumentManager >, imod::TSingleModelObserverBase< iprm::IEnableableParam >, imod::TSingleModelObserverBase< IShapeStatusInfo >, imod::TSingleModelObserverBase< istd::IInformationProvider >, imod::TSingleModelObserverBase< i2d::CPolyline >, imod::TSingleModelObserverBase< i2d::COrientedCircle >, imod::TSingleModelObserverBase< i2d::CAffineTransformation2d >, imod::TSingleModelObserverBase< ifile::IFileListProvider >, imod::TSingleModelObserverBase< imod::IModel >, imod::TSingleModelObserverBase< CircleBasedModel >, imod::TSingleModelObserverBase< iprm::IOptionsManager >, imod::TSingleModelObserverBase< iser::ISerializable >, imod::TSingleModelObserverBase< iprm::IParamsManager >, imod::TSingleModelObserverBase< iprm::IParamsSet >, imod::TSingleModelObserverBase< PolygonBasedModel >, imod::TSingleModelObserverBase< i2d::CArc >, imod::TSingleModelObserverBase< i2d::CRectangle >, imod::TSingleModelObserverBase< i2d::CAnnulusSegment >, imod::TSingleModelObserverBase< i2d::CLine2d >, imod::TSingleModelObserverBase< idoc::IUndoManager >, imod::TSingleModelObserverBase< i2d::CPosition2d >, imod::TSingleModelObserverBase< Model >, imod::TSingleModelObserverBase< ilog::IMessageContainer >, imod::TSingleModelObserverBase< ShapeModel >, imod::TSingleModelObserverBase< iprm::IVariableParam >, imod::TSingleModelObserverBase< i2d::CTubePolyline >, imod::TSingleModelObserverBase< i2d::CQuadrangle >, imod::TSingleModelObserverBase< i2d::CAnnulus >, imod::TSingleModelObserverBase< iimg::IMultiBitmapProvider >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider >, imod::TSingleModelObserverBase< iprm::IOptionsList >, imod::TSingleModelObserverBase< IDocumentManager >, imod::TSingleModelObserverBase< iprm::INameParam >, imod::TSingleModelObserverBase< i2d::CCircle >, imod::TSingleModelObserverBase< ifile::IFileNameParam >, imod::TSingleModelObserverBase< iprm::ISelectionParam >, imod::TSingleModelObserverBase< istd::IChangeable >, imod::TSingleModelObserverBase< i2d::ICalibration2d >, imod::TSingleModelObserverBase< ibase::IRuntimeStatusProvider >, iqtprm::CVariableParamGuiComp, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CEnableableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IEnableableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CExtParamsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CQuadrangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CComposedParamsSetGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectableGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileSystemExplorerGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertyGuiComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CTubePolyline > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFilePreviewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< CircleBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileTreeViewGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QWidget >, imod::TSingleModelObserverBase< iimg::IMultiBitmapProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::COrientedCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAffineTransformation2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< ShapeModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CButtonBasedSelectionParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulusSegment > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CLine2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsListEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsList > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CVariableParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IVariableParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPosition2d > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CTextLogGuiComp, QWidget >, imod::TSingleModelObserverBase< ilog::IMessageContainer > >, iqtgui::TGuiObserverWrap< CViewProviderGuiComp, iview::CImageShape >, iqtgui::TGuiObserverWrap< TGuiComponentBase< QTableView >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QWidget >, imod::TSingleModelObserverBase< idoc::IDocumentMetaInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolyline > >, iqtgui::TGuiObserverWrap< iqtgui::CComposedGuiComp, imod::TSingleModelObserverBase< iprm::IParamsSet > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileListProviderGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileListProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CParamsManagerGuiCompBase, QWidget >, imod::TSingleModelObserverBase< iprm::IParamsManager > >, iqtgui::TGuiObserverWrap< TGuiComponentBase< ItemWidgetClass >, imod::TSingleModelObserverBase< ibase::IQtItemModelProvider > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::INameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CFileNameParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CArc > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSimpleFilePathParamGuiComp, QWidget >, imod::TSingleModelObserverBase< ifile::IFileNameParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CRectangle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< PolygonBasedModel > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CCircle > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CShapeInfoGuiComp, QWidget >, imod::TSingleModelObserverBase< IShapeStatusInfo > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CSelectionParamIndexGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::ISelectionParam > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CImagePropertiesFrameComp, QWidget >, imod::TSingleModelObserverBase< iimg::IBitmap > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< UI, WidgetType >, imod::TSingleModelObserverBase< Model > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CPolygon > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui, QWidget >, imod::TSingleModelObserverBase< i2d::CAnnulus > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::CCheckableOptionsEditorComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TDesignerGuiCompBase< Ui::COptionsManagerGuiComp, QWidget >, imod::TSingleModelObserverBase< iprm::IOptionsManager > >, iqtgui::TGuiObserverWrap< iqtgui::TGuiComponentBase< QLabel >, imod::TSingleModelObserverBase< istd::IInformationProvider > >, and iqt2d::CSelectableSceneExtenderComp.

virtual void imod::CSingleModelObserverBase::OnUpdate ( const istd::IChangeable::ChangeSet changeSet)
protectedvirtual
void imod::CSingleModelObserverBase::SetModelPtr ( imod::IModel modelPtr)
inlineprotected

Set internal model pointer to specified value.

Definition at line 111 of file CSingleModelObserverBase.h.

void imod::CSingleModelObserverBase::SetObservedIds ( const istd::IChangeable::ChangeSet changeMask)

Set list of ID's beeing observed.

Member Data Documentation

const istd::IChangeable::ChangeSet imod::CSingleModelObserverBase::s_undoChanges
staticprotected

Definition at line 72 of file CSingleModelObserverBase.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy