ACF $AcfVersion:0$
CInstantiatorComp.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 ibase
9{
10
11
17{
18public:
20
21 I_BEGIN_COMPONENT(CInstantiatorComp);
22 I_ASSIGN_MULTI_0(m_instancesAttrPtr, "Instances", "List of instances will be created during instantiator is created", false);
23 I_END_COMPONENT;
24
25protected:
26 // reimplemented (icomp::CComponentBase)
27 virtual void OnComponentCreated() override;
28
29private:
30 I_MULTIREF(istd::IPolymorphic, m_instancesAttrPtr);
31};
32
33
34} // namespace ibase
35
36
37
38
This help component simply instantiate a set of dependent components during its instantiation.
icomp::CComponentBase BaseClass
virtual void OnComponentCreated() override
Base class for component implementation.
Base interface for all used interfaces and implementations.
This namespace contains basic implementations of standard primitives on the component level.