ACF $AcfVersion:0$
Public Member Functions | List of all members
iprm::CSelectionParam::ConstraintsObserver Class Reference

#include <CSelectionParam.h>

Inheritance diagram for iprm::CSelectionParam::ConstraintsObserver:
imod::TSingleModelObserverBase< iprm::IOptionsList > imod::CSingleModelObserverBase imod::IObserver istd::IPolymorphic

Public Member Functions

 ConstraintsObserver (CSelectionParam &parent)
 
virtual 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.
 
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override
 Callback invoked when an observable model is about to be attached to this observer.
 
virtual bool OnModelDetached (imod::IModel *modelPtr) override
 Callback invoked when an observable model is about to be detached from this observer.
 
- 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.
 
virtual bool IsModelAttached (const imod::IModel *modelPtr=NULL) const override
 Checks if the specified model is currently attached to this observer.
 
virtual void BeforeUpdate (imod::IModel *modelPtr) override
 Callback invoked before an update of the observer's content occurs.
 
virtual void AfterUpdate (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet) override
 Callback invoked after an update of the observer's content occurs.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

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.
 
- Static Protected Attributes inherited from imod::CSingleModelObserverBase
static const istd::IChangeable::ChangeSet s_undoChanges
 

Detailed Description

Definition at line 79 of file CSelectionParam.h.

Constructor & Destructor Documentation

◆ ConstraintsObserver()

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

Member Function Documentation

◆ OnUpdate()

virtual 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: