TMakeComponentWrap.h
Go to the documentation of this file.
1 #ifndef icomp_TMakeComponentWrap_included
2 #define icomp_TMakeComponentWrap_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
8 
9 namespace icomp
10 {
11 
12 
18 template < class Base,
19  typename Interface1 = void,
20  typename Interface2 = void,
21  typename Interface3 = void,
22  typename Interface4 = void,
23  typename Interface5 = void,
24  typename Interface6 = void,
25  typename Interface7 = void,
26  typename Interface8 = void,
27  typename Interface9 = void,
28  typename Interface10 = void>
29 class TMakeComponentWrap: public icomp::CComponentBase, public Base
30 {
31 public:
33  typedef Base BaseClass2;
34 
35  I_BEGIN_COMPONENT(TMakeComponentWrap);
36  I_REGISTER_INTERFACE(Interface1);
37  I_REGISTER_INTERFACE(Interface2);
38  I_REGISTER_INTERFACE(Interface3);
39  I_REGISTER_INTERFACE(Interface4);
40  I_REGISTER_INTERFACE(Interface5);
41  I_REGISTER_INTERFACE(Interface6);
42  I_REGISTER_INTERFACE(Interface7);
43  I_REGISTER_INTERFACE(Interface8);
44  I_REGISTER_INTERFACE(Interface9);
45  I_REGISTER_INTERFACE(Interface10);
46  I_END_COMPONENT;
47 };
48 
49 
50 } // namespace icomp
51 
52 
53 #endif // !icomp_TMakeComponentWrap_included
54 
55 
Base class for component implementation.
Simple wrapper making component from non-component class.
icomp::CComponentBase BaseClass

© 2007-2017 Witold Gantzke and Kirill Lepskiy