ICF 3.0.5.47
Technical documentation of ICF Libraries
TMakeComponentWrap.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
11
12
13namespace icomp
14{
15
16
22template < class Base,
23 typename Interface1 = void,
24 typename Interface2 = void,
25 typename Interface3 = void,
26 typename Interface4 = void,
27 typename Interface5 = void,
28 typename Interface6 = void,
29 typename Interface7 = void,
30 typename Interface8 = void,
31 typename Interface9 = void,
32 typename Interface10 = void>
33class TMakeComponentWrap: public CComponentBase, public Base
34{
35public:
37 typedef Base BaseClass2;
38
39 I_BEGIN_COMPONENT(TMakeComponentWrap);
40 I_REGISTER_INTERFACE(Interface1);
41 I_REGISTER_INTERFACE(Interface2);
42 I_REGISTER_INTERFACE(Interface3);
43 I_REGISTER_INTERFACE(Interface4);
44 I_REGISTER_INTERFACE(Interface5);
45 I_REGISTER_INTERFACE(Interface6);
46 I_REGISTER_INTERFACE(Interface7);
47 I_REGISTER_INTERFACE(Interface8);
48 I_REGISTER_INTERFACE(Interface9);
49 I_REGISTER_INTERFACE(Interface10);
50 I_END_COMPONENT;
51};
52
53
54} // namespace icomp
55
56
Base class for component implementation.
Simple wrapper making component from non-component class.
Package with interfaces and class used for components concept.

© Witold Gantzke and Kirill Lepskiy