IComponentInterfaceExtractor.h
Go to the documentation of this file.
1 #ifndef icomp_IComponentInterfaceExtractor_included
2 #define icomp_IComponentInterfaceExtractor_included
3 
4 
5 // ACF includes
6 #include <istd/IPolymorphic.h>
7 #include <istd/CClassInfo.h>
8 
9 
10 namespace icomp
11 {
12 
13 
14 class IComponent;
15 
16 
21 {
22 public:
26  virtual void* GetComponentInterface(
27  const istd::CClassInfo& interfaceType,
28  IComponent& component,
29  const QByteArray& subId) const = 0;
30 };
31 
32 
33 } // namespace icomp
34 
35 
36 #endif // !icomp_IComponentInterfaceExtractor_included
37 
38 
Main component interface.
Definition: IComponent.h:31
Provide extracting of some interface from component.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
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:22

© 2007-2017 Witold Gantzke and Kirill Lepskiy