ICF 3.0.5.47
Technical documentation of ICF Libraries
icmpstr::CElementSelectionInfoManagerBase Class Referenceabstract

Base class for all components depending of meta information in current selected registry context. More...

#include <CElementSelectionInfoManagerBase.h>

Inheritance diagram for icmpstr::CElementSelectionInfoManagerBase:
Collaboration diagram for icmpstr::CElementSelectionInfoManagerBase:

Public Types

typedef imod::TSingleModelObserverBase< IElementSelectionInfoBaseClass
 
- Public Types inherited from imod::TSingleModelObserverBase< IElementSelectionInfo >
typedef CSingleModelObserverBase BaseClass
 
typedef IElementSelectionInfo ModelType
 
- Public Types inherited from imod::CSingleModelObserverBase
typedef imod::IModel ModelType
 

Public Member Functions

 CElementSelectionInfoManagerBase ()
 
icomp::IRegistryGetRegistry () const
 
QStringList GetExportAliases (const QByteArray &attributeName) const
 
const iser::IObjectGetAttributeObject (const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const
 
const icomp::IAttributeStaticInfoGetAttributeStaticInfo (const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const
 
virtual const icomp::IMetaInfoManagerGetMetaInfoManagerPtr () const =0
 
virtual const icmpstr::IRegistryConsistInfoGetConsistencyInfoPtr () const =0
 
- Public Member Functions inherited from imod::TSingleModelObserverBase< IElementSelectionInfo >
 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.
 
- 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

- Protected Member Functions inherited from imod::TSingleModelObserverBase< IElementSelectionInfo >
virtual IElementSelectionInfo * CastFromModel (imod::IModel *modelPtr) const
 
- Protected Member Functions inherited from imod::CSingleModelObserverBase
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.
 

Detailed Description

Base class for all components depending of meta information in current selected registry context.

Definition at line 29 of file CElementSelectionInfoManagerBase.h.

Member Typedef Documentation

◆ BaseClass

Constructor & Destructor Documentation

◆ CElementSelectionInfoManagerBase()

icmpstr::CElementSelectionInfoManagerBase::CElementSelectionInfoManagerBase ( )

Member Function Documentation

◆ GetAttributeObject()

const iser::IObject * icmpstr::CElementSelectionInfoManagerBase::GetAttributeObject ( const QByteArray & attributeId,
const icomp::IRegistry::ElementInfo & elementInfo ) const

◆ GetAttributeStaticInfo()

const icomp::IAttributeStaticInfo * icmpstr::CElementSelectionInfoManagerBase::GetAttributeStaticInfo ( const QByteArray & attributeId,
const icomp::IRegistry::ElementInfo & elementInfo ) const

◆ GetConsistencyInfoPtr()

virtual const icmpstr::IRegistryConsistInfo * icmpstr::CElementSelectionInfoManagerBase::GetConsistencyInfoPtr ( ) const
pure virtual

◆ GetExportAliases()

QStringList icmpstr::CElementSelectionInfoManagerBase::GetExportAliases ( const QByteArray & attributeName) const

◆ GetMetaInfoManagerPtr()

virtual const icomp::IMetaInfoManager * icmpstr::CElementSelectionInfoManagerBase::GetMetaInfoManagerPtr ( ) const
pure virtual

◆ GetRegistry()

icomp::IRegistry * icmpstr::CElementSelectionInfoManagerBase::GetRegistry ( ) const

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

© Witold Gantzke and Kirill Lepskiy