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)
 Called on update of observed model. More...
 
- Public Member Functions inherited from imod::TSingleModelObserverBase< iprm::IOptionsList >
 TSingleModelObserverBase ()
 
iprm::IOptionsListGetObservedObject () const
 Get instance of observed object. More...
 
iprm::IOptionsListGetObjectPtr () const
 Get instance of observed object. More...
 
bool AttachOrSetObject (iprm::IOptionsList *objectPtr)
 Attach to model of object or set object pointer, if no connection is possible. More...
 
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask)
 This call back function will be called, if an observable object is about to be attached. More...
 
virtual bool OnModelDetached (imod::IModel *modelPtr)
 This call back function will be called, if an observable object is about to be detached. More...
 
- Public Member Functions inherited from imod::CSingleModelObserverBase
 CSingleModelObserverBase ()
 
virtual ~CSingleModelObserverBase ()
 
imod::IModelGetObservedModel () const
 Get access to observed model. More...
 
imod::IModelGetModelPtr () const
 Get access to observed model. More...
 
void EnsureModelDetached ()
 Make sure this observer is detached. More...
 
void SetObservedIds (const istd::IChangeable::ChangeSet &changeMask)
 Set list of ID's beeing observed. More...
 
virtual bool IsModelAttached (const imod::IModel *modelPtr=NULL) const
 Check if specified model is attached. More...
 
virtual void BeforeUpdate (imod::IModel *modelPtr)
 This function will be called before update of the observer contents occures. More...
 
virtual void AfterUpdate (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)
 This function will be called after update of the observer contents occures. More...
 
- 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. More...
 
- 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

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

Member Function Documentation

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

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:

© 2007-2017 Witold Gantzke and Kirill Lepskiy