ICF 3.0.5.47
Technical documentation of ICF Libraries
icamgui::CSnapImageParamsEditorComp::ParamsObserver Class Reference

#include <CSnapImageParamsEditorComp.h>

Inheritance diagram for icamgui::CSnapImageParamsEditorComp::ParamsObserver:
Collaboration diagram for icamgui::CSnapImageParamsEditorComp::ParamsObserver:

Public Member Functions

 ParamsObserver (CSnapImageParamsEditorComp *parentPtr)
 
- 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.
 
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::IObserver

Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 68 of file CSnapImageParamsEditorComp.h.

Constructor & Destructor Documentation

◆ ParamsObserver()

icamgui::CSnapImageParamsEditorComp::ParamsObserver::ParamsObserver ( CSnapImageParamsEditorComp * parentPtr)

Member Function Documentation

◆ OnUpdate()

void icamgui::CSnapImageParamsEditorComp::ParamsObserver::OnUpdate ( const istd::IChangeable::ChangeSet & changeSet)
overrideprotectedvirtual

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:

© Witold Gantzke and Kirill Lepskiy