ACF $AcfVersion:0$
Public Types | Public Member Functions | List of all members
iqtgui::CSimpleMainWindowGuiComp::CommandsObserver Class Reference

#include <CSimpleMainWindowGuiComp.h>

Inheritance diagram for iqtgui::CSimpleMainWindowGuiComp::CommandsObserver:
imod::CMultiModelDispatcherBase istd::IPolymorphic

Public Types

typedef imod::CMultiModelDispatcherBase BaseClass
 

Public Member Functions

 CommandsObserver (CSimpleMainWindowGuiComp &parent)
 
void OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override
 Called when some model observed by dispatcher will be changed.
 
- Public Member Functions inherited from imod::CMultiModelDispatcherBase
bool RegisterModel (IModel *modelPtr, int modelId=0, const istd::IChangeable::ChangeSet &relevantFlags=istd::IChangeable::GetAllChanges())
 Register the data model to be observed.
 
void UnregisterModel (int modelId=0)
 Unregister the data model object.
 
void UnregisterAllModels ()
 Unregister all observed data objects.
 
template<class Object >
Object * GetObjectAt (int modelId) const
 Get concrete object instance of the obsered model.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Additional Inherited Members

Detailed Description

Definition at line 161 of file CSimpleMainWindowGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 164 of file CSimpleMainWindowGuiComp.h.

Constructor & Destructor Documentation

◆ CommandsObserver()

iqtgui::CSimpleMainWindowGuiComp::CommandsObserver::CommandsObserver ( CSimpleMainWindowGuiComp parent)
explicit

Member Function Documentation

◆ OnModelChanged()

void iqtgui::CSimpleMainWindowGuiComp::CommandsObserver::OnModelChanged ( int  modelId,
const istd::IChangeable::ChangeSet changeSet 
)
overridevirtual

Called when some model observed by dispatcher will be changed.

Implements imod::CMultiModelDispatcherBase.


The documentation for this class was generated from the following file: