![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Base class for all components depending of meta information in current selected registry context. More...
#include <CElementSelectionInfoManagerBase.h>
Public Types | |
typedef imod::TSingleModelObserverBase< IElementSelectionInfo > | BaseClass |
![]() | |
typedef CSingleModelObserverBase | BaseClass |
typedef IElementSelectionInfo | ModelType |
![]() | |
typedef imod::IModel | ModelType |
Public Member Functions | |
CElementSelectionInfoManagerBase () | |
icomp::IRegistry * | GetRegistry () const |
QStringList | GetExportAliases (const QByteArray &attributeName) const |
const iser::IObject * | GetAttributeObject (const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const |
const icomp::IAttributeStaticInfo * | GetAttributeStaticInfo (const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const |
virtual const icomp::IMetaInfoManager * | GetMetaInfoManagerPtr () const =0 |
virtual const icmpstr::IRegistryConsistInfo * | GetConsistencyInfoPtr () const =0 |
![]() | |
TSingleModelObserverBase () | |
IElementSelectionInfo * | GetObservedObject () const |
Get instance of observed object. | |
IElementSelectionInfo * | GetObjectPtr () const |
Get instance of observed object. | |
bool | AttachOrSetObject (IElementSelectionInfo *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 | |
![]() | |
virtual IElementSelectionInfo * | CastFromModel (imod::IModel *modelPtr) const |
![]() | |
void | SetModelPtr (imod::IModel *modelPtr) |
Set internal model pointer to specified value. | |
virtual void | OnUpdate (const istd::IChangeable::ChangeSet &changeSet) |
Called on update of observed model. | |
Base class for all components depending of meta information in current selected registry context.
Definition at line 29 of file CElementSelectionInfoManagerBase.h.
imod::TSingleModelObserverBase<IElementSelectionInfo> icmpstr::CElementSelectionInfoManagerBase::BaseClass |
Definition at line 33 of file CElementSelectionInfoManagerBase.h.
icmpstr::CElementSelectionInfoManagerBase::CElementSelectionInfoManagerBase | ( | ) |
const iser::IObject * icmpstr::CElementSelectionInfoManagerBase::GetAttributeObject | ( | const QByteArray & | attributeId, |
const icomp::IRegistry::ElementInfo & | elementInfo ) const |
const icomp::IAttributeStaticInfo * icmpstr::CElementSelectionInfoManagerBase::GetAttributeStaticInfo | ( | const QByteArray & | attributeId, |
const icomp::IRegistry::ElementInfo & | elementInfo ) const |
|
pure virtual |
QStringList icmpstr::CElementSelectionInfoManagerBase::GetExportAliases | ( | const QByteArray & | attributeName | ) | const |
|
pure virtual |
icomp::IRegistry * icmpstr::CElementSelectionInfoManagerBase::GetRegistry | ( | ) | const |
© Witold Gantzke and Kirill Lepskiy