CElementSelectionInfoManagerBase.h
Go to the documentation of this file.
1 #ifndef icmpstr_CElementSelectionInfoManagerBase_included
2 #define icmpstr_CElementSelectionInfoManagerBase_included
3 
4 
5 // ACF includes
6 #include "istd/TDelPtr.h"
7 #include "istd/TOptDelPtr.h"
8 #include "istd/CClassInfo.h"
9 
11 
13 #include "icomp/IRegistryElement.h"
14 
18 
19 
20 namespace icmpstr
21 {
22 
23 
25 {
26 public:
28 
30 
32  QStringList GetExportAliases(const QByteArray& attributeName) const;
34  const iser::IObject* GetAttributeObject(const QByteArray& attributeId, const icomp::IRegistry::ElementInfo& elementInfo) const;
35  const icomp::IAttributeStaticInfo* GetAttributeStaticInfo(const QByteArray& attributeId, const icomp::IRegistry::ElementInfo& elementInfo) const;
36 
37  // abstract methods
39  virtual const icmpstr::IRegistryConsistInfo* GetConsistencyInfoPtr() const = 0;
40 
41 protected:
43 
44  // reimplemented (imod::CSingleModelObserverBase)
45  virtual void OnUpdate(int updateFlags, istd::IPolymorphic* updateParamsPtr);
46 
47 protected:
48  typedef QMap<icomp::CComponentAddress, istd::TOptDelPtr<const icomp::IComponentStaticInfo> > AddressToInfoMap;
49 
51 };
52 
53 
54 } // namespace icmpstr
55 
56 
57 #endif // !icmpstr_CElementSelectionInfoManagerBase_included
58 
const icomp::IComponentStaticInfo * GetComponentMetaInfo(const icomp::CComponentAddress &address) const
QMap< icomp::CComponentAddress, istd::TOptDelPtr< const icomp::IComponentStaticInfo > > AddressToInfoMap
virtual const icomp::IComponentEnvironmentManager * GetMetaInfoManagerPtr() const =0
virtual const icmpstr::IRegistryConsistInfo * GetConsistencyInfoPtr() const =0
imod::TSingleModelObserverBase< IElementSelectionInfo > BaseClass
QStringList GetExportAliases(const QByteArray &attributeName) const
const iser::IObject * GetAttributeObject(const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const
icomp::IRegistry * GetRegistry() const
const icomp::IAttributeStaticInfo * GetAttributeStaticInfo(const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const
virtual void OnUpdate(int updateFlags, istd::IPolymorphic *updateParamsPtr)

© 2007-2011 Witold Gantzke and Kirill Lepskiy