ACF $AcfVersion:0$
CCompositeComponentContext.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
6
7
8namespace icomp
9{
10
11
12class IRegistry;
13class IRegistriesManager;
14class IComponentEnvironmentManager;
15
16
18{
19public:
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
42private:
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
66
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.
const IComponentEnvironmentManager & GetEnvironmentManager() const
This interface provide static information about component meta info.
Represents element of registry describing component parameters.
Interface representing information stored in component registry.
Definition IRegistry.h:48
Package with interfaces and class used for components concept.