![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <CSelectionParam.h>
Public Member Functions | |
ConstraintsObserver (CSelectionParam &parent) | |
void | OnUpdate (const istd::IChangeable::ChangeSet &changeSet) override |
Called on update of observed model. | |
![]() | |
TSingleModelObserverBase () | |
iprm::IOptionsList * | GetObservedObject () const |
Get instance of observed object. | |
iprm::IOptionsList * | GetObjectPtr () const |
Get instance of observed object. | |
bool | AttachOrSetObject (iprm::IOptionsList *objectPtr) |
Attach to model of object or set object pointer, if no connection is possible. | |
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. | |
![]() | |
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. | |
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. | |
![]() |
Additional Inherited Members | |
![]() | |
typedef CSingleModelObserverBase | BaseClass |
typedef iprm::IOptionsList | ModelType |
![]() | |
typedef imod::IModel | ModelType |
![]() | |
virtual iprm::IOptionsList * | CastFromModel (imod::IModel *modelPtr) const |
![]() | |
void | SetModelPtr (imod::IModel *modelPtr) |
Set internal model pointer to specified value. | |
Definition at line 85 of file CSelectionParam.h.
|
explicit |
|
overridevirtual |
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