ICF 3.0.5.47
Technical documentation of ICF Libraries
imod::CMultiModelDispatcherBase::ObserverProxy Class Reference

#include <CMultiModelDispatcherBase.h>

Inheritance diagram for imod::CMultiModelDispatcherBase::ObserverProxy:
Collaboration diagram for imod::CMultiModelDispatcherBase::ObserverProxy:

Public Types

typedef CSingleModelObserverBase BaseClass
 
- Public Types inherited from imod::CSingleModelObserverBase
typedef imod::IModel ModelType
 

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from imod::CSingleModelObserverBase
void SetModelPtr (imod::IModel *modelPtr)
 Set internal model pointer to specified value.
 
virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
 Called on update of observed model.
 

Detailed Description

Definition at line 66 of file CMultiModelDispatcherBase.h.

Member Typedef Documentation

◆ BaseClass

Constructor & Destructor Documentation

◆ ObserverProxy()

imod::CMultiModelDispatcherBase::ObserverProxy::ObserverProxy ( CMultiModelDispatcherBase * parentPtr,
int modelId,
const istd::IChangeable::ChangeSet & relevantFlags )

Member Function Documentation

◆ AfterModelChange()

void imod::CMultiModelDispatcherBase::ObserverProxy::AfterModelChange ( imod::IModel * modelPtr,
const istd::IChangeable::ChangeSet & changeSet )
overridevirtual

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

Reimplemented from imod::CSingleModelObserverBase.


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

© Witold Gantzke and Kirill Lepskiy