CEnvironmentManagerBase.h
Go to the documentation of this file.
1 #ifndef icomp_CEnvironmentManagerBase_included
2 #define icomp_CEnvironmentManagerBase_included
3 
4 
5 // ACF includes
8 
9 
10 namespace icomp
11 {
12 
13 
15  public CPackageStaticInfo,
16  virtual public IComponentEnvironmentManager
17 {
18 public:
19  // reimplemented (icomp::IComponentEnvironmentManager)
20  virtual QString GetConfigFilePath() const;
21 
22  // reimplemented (icomp::IPackagesManager)
23  virtual bool LoadPackages(const QString& configFilePath = QString());
24  virtual int GetPackageType(const QByteArray& packageId) const;
25  virtual QString GetPackagePath(const QByteArray& packageId) const;
26  virtual QString GetRegistryPath(const CComponentAddress& address) const;
27 
28  // reimplemented (icomp::IRegistriesManager)
29  virtual const IRegistry* GetRegistry(const CComponentAddress& address, const IRegistry* contextRegistryPtr = NULL) const;
30 
31  // reimplemented (icomp::IComponentListProvider)
32  virtual ComponentAddresses GetComponentAddresses(int typeFlag = CTF_ALL) const;
33 
34  // reimplemented (icomp::IMetaInfoManager)
35  virtual const IComponentStaticInfo* GetComponentMetaInfo(const CComponentAddress& address) const;
36  virtual const IComponentStaticInfo* GetPackageMetaInfo(const QByteArray& packageId) const;
37 };
38 
39 
40 } // namespace icomp
41 
42 
43 #endif // !icomp_CEnvironmentManagerBase_included
44 
45 
Represents global address of component.
virtual const IComponentStaticInfo * GetPackageMetaInfo(const QByteArray &packageId) const
Get access to static info of a package.
Static info for component package.
virtual int GetPackageType(const QByteArray &packageId) const
Get type of package as defined in PackageType.
Interface representing information stored in component registry.
Definition: IRegistry.h:30
virtual bool LoadPackages(const QString &configFilePath=QString())
Configure environment for specified file path.
virtual ComponentAddresses GetComponentAddresses(int typeFlag=CTF_ALL) const
Get addresses of known components.
QSet< CComponentAddress > ComponentAddresses
#define NULL
Definition: istd.h:64
virtual QString GetPackagePath(const QByteArray &packageId) const
Get directory path of specified component package.
virtual const IComponentStaticInfo * GetComponentMetaInfo(const CComponentAddress &address) const
Get access to static info of some component.
This interface provide static information about component meta info.
virtual const IRegistry * GetRegistry(const CComponentAddress &address, const IRegistry *contextRegistryPtr=NULL) const
Get access to stored registry.
virtual QString GetRegistryPath(const CComponentAddress &address) const
Get registry file path, if it is composed registry.
virtual QString GetConfigFilePath() const
Get file path of real used config file.

© 2007-2017 Witold Gantzke and Kirill Lepskiy