ICF 3.1.1.10
Technical documentation of ICF Libraries
IComponentInterfaceExtractor.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
9// ICF includes
10#include <istd/IPolymorphic.h>
11#include <istd/CClassInfo.h>
12
13
14namespace icomp
15{
16
17
18class IComponent;
19
20
24class IComponentInterfaceExtractor: virtual public istd::IPolymorphic
25{
26public:
30 virtual void* GetComponentInterface(
31 const istd::CClassInfo& interfaceType,
32 IComponent& component,
33 const QByteArray& subId) const = 0;
34};
35
36
37} // namespace icomp
38
39
Main component interface.
Definition IComponent.h:35
Provide extracting of some interface from component.
virtual void * GetComponentInterface(const istd::CClassInfo &interfaceType, IComponent &component, const QByteArray &subId) const =0
Extract instance implemented specified interface from some component.
Represents platform independent type info and provide set of static class manipulation functions.
Definition CClassInfo.h:27
Package with interfaces and class used for components concept.

© Witold Gantzke and Kirill Lepskiy