CCompositeComponentContext.h
Go to the documentation of this file.
1 #ifndef icomp_CCompositeComponentContext_included
2 #define icomp_CCompositeComponentContext_included
3 
4 
6 
7 
8 namespace icomp
9 {
10 
11 
12 class IRegistry;
13 class IRegistriesManager;
14 class IComponentEnvironmentManager;
15 
16 
18 {
19 public:
21 
32  const IRegistryElement* elementPtr,
33  const IComponentStaticInfo* staticInfoPtr,
34  const IRegistry* registryPtr,
35  const IComponentEnvironmentManager* environmentManagerPtr,
36  const CCompositeComponentContext* parentPtr,
37  const QByteArray& contextId);
38 
39  const IRegistry& GetRegistry() const;
41 
42 private:
43  const IRegistry& m_registry;
44  const IComponentEnvironmentManager& m_environmentManager;
45 };
46 
47 
48 // inline methods
49 
51 {
52  return m_registry;
53 }
54 
55 
57 {
58  return m_environmentManager;
59 }
60 
61 
62 } // namespace icomp
63 
64 
65 #endif // !icomp_CCompositeComponentContext_included
66 
67 
Interface representing information stored in component registry.
Definition: IRegistry.h:30
const IComponentEnvironmentManager & GetEnvironmentManager() const
Represents element of registry describing component parameters.
Base implementation of component session context.
CCompositeComponentContext(const IRegistryElement *elementPtr, const IComponentStaticInfo *staticInfoPtr, const IRegistry *registryPtr, const IComponentEnvironmentManager *environmentManagerPtr, const CCompositeComponentContext *parentPtr, const QByteArray &contextId)
Constructor.
This interface provide static information about component meta info.

© 2007-2017 Witold Gantzke and Kirill Lepskiy