Public Types | Public Member Functions | List of all members
imod::CMultiModelDispatcherBase::ObserverProxy Class Reference

#include <CMultiModelDispatcherBase.h>

Inheritance diagram for imod::CMultiModelDispatcherBase::ObserverProxy:
imod::CSingleModelObserverBase imod::IObserver istd::IPolymorphic

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)
 
virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
 Called on update of observed model. More...
 
- Public Member Functions inherited from imod::CSingleModelObserverBase
 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from imod::CSingleModelObserverBase
void SetModelPtr (imod::IModel *modelPtr)
 Set internal model pointer to specified value. More...
 
- Static Protected Attributes inherited from imod::CSingleModelObserverBase
static const
istd::IChangeable::ChangeSet 
s_undoChanges
 

Detailed Description

Definition at line 62 of file CMultiModelDispatcherBase.h.

Member Typedef Documentation

Definition at line 65 of file CMultiModelDispatcherBase.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void imod::CMultiModelDispatcherBase::ObserverProxy::OnUpdate ( const istd::IChangeable::ChangeSet changeSet)
virtual

Called on update of observed model.

This method is designed to be overload by derrived classes.

Reimplemented from imod::CSingleModelObserverBase.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy