ICF 3.0.5.47
Technical documentation of ICF Libraries
iprm::CSelectionParam::ConstraintsObserver Class Reference

#include <CSelectionParam.h>

Inheritance diagram for iprm::CSelectionParam::ConstraintsObserver:
Collaboration diagram for iprm::CSelectionParam::ConstraintsObserver:

Public Member Functions

 ConstraintsObserver (CSelectionParam &parent)
 
void OnUpdate (const istd::IChangeable::ChangeSet &changeSet) override
 Called on update of observed model.
 
- Public Member Functions inherited from imod::TSingleModelObserverBase< iprm::IOptionsList >
 TSingleModelObserverBase ()
 
iprm::IOptionsListGetObservedObject () const
 Get instance of observed object.
 
iprm::IOptionsListGetObjectPtr () 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.
 
- 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.
 
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

Additional Inherited Members

- Public Types inherited from imod::TSingleModelObserverBase< iprm::IOptionsList >
typedef CSingleModelObserverBase BaseClass
 
typedef iprm::IOptionsList ModelType
 
- Public Types inherited from imod::CSingleModelObserverBase
typedef imod::IModel ModelType
 
- Protected Member Functions inherited from imod::TSingleModelObserverBase< iprm::IOptionsList >
virtual iprm::IOptionsListCastFromModel (imod::IModel *modelPtr) const
 
- Protected Member Functions inherited from imod::CSingleModelObserverBase
void SetModelPtr (imod::IModel *modelPtr)
 Set internal model pointer to specified value.
 

Detailed Description

Definition at line 85 of file CSelectionParam.h.

Constructor & Destructor Documentation

◆ ConstraintsObserver()

iprm::CSelectionParam::ConstraintsObserver::ConstraintsObserver ( CSelectionParam & parent)
explicit

Member Function Documentation

◆ OnUpdate()

void iprm::CSelectionParam::ConstraintsObserver::OnUpdate ( const istd::IChangeable::ChangeSet & changeSet)
overridevirtual

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