ICF 3.0.5.47
Technical documentation of ICF Libraries
CCompositeComponentContext.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
10
11
12namespace icomp
13{
14
15
16class IRegistry;
17class IRegistriesManager;
18class IComponentEnvironmentManager;
19
20
22{
23public:
25
36 const IRegistryElement* elementPtr,
37 const IComponentStaticInfo* staticInfoPtr,
38 const IRegistry* registryPtr,
39 const IComponentEnvironmentManager* environmentManagerPtr,
40 const CCompositeComponentContext* parentPtr,
41 const QByteArray& contextId);
42
43 const IRegistry& GetRegistry() const;
45
46private:
47 const IRegistry& m_registry;
48 const IComponentEnvironmentManager& m_environmentManager;
49};
50
51
52// inline methods
53
55{
56 return m_registry;
57}
58
59
61{
62 return m_environmentManager;
63}
64
65
66} // namespace icomp
67
68
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:30
Package with interfaces and class used for components concept.

© Witold Gantzke and Kirill Lepskiy