![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <CSnapImageParamsEditorComp.h>
Public Member Functions | |
ParamsObserver (CSnapImageParamsEditorComp *parentPtr) | |
![]() | |
CSingleModelObserverBase () | |
virtual | ~CSingleModelObserverBase () |
imod::IModel * | GetObservedModel () const |
Get access to observed model. | |
imod::IModel * | GetModelPtr () 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. | |
![]() |
Protected Member Functions | |
void | OnUpdate (const istd::IChangeable::ChangeSet &changeSet) override |
Called on update of observed model. | |
![]() | |
void | SetModelPtr (imod::IModel *modelPtr) |
Set internal model pointer to specified value. | |
Additional Inherited Members | |
![]() | |
typedef imod::IModel | ModelType |
Definition at line 68 of file CSnapImageParamsEditorComp.h.
icamgui::CSnapImageParamsEditorComp::ParamsObserver::ParamsObserver | ( | CSnapImageParamsEditorComp * | parentPtr | ) |
|
overrideprotectedvirtual |
Called on update of observed model.
This method is designed to be overload by derrived classes.
Reimplemented from imod::CSingleModelObserverBase.
© Witold Gantzke and Kirill Lepskiy