ACF $AcfVersion:0$
TInterfaceFactory.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
5// ACF includes
7#include <istd/IFactoryInfo.h>
8
9
10namespace istd
11{
12
13
14template <class InterfaceType>
16{
17public:
18 virtual istd::TUniqueInterfacePtr<InterfaceType> CreateInstance(const QByteArray& typeId = QByteArray()) const = 0;
19};
20
21
22} // namespace istd
23
24
Base interface providing information about factory-producible objects.
virtual istd::TUniqueInterfacePtr< InterfaceType > CreateInstance(const QByteArray &typeId=QByteArray()) const =0
Unique ownership smart pointer for interface types.
Standard library.
Definition IComponent.h:17