TSyncProcessorCompBase.h
Go to the documentation of this file.
1 #ifndef iproc_TSyncProcessorCompBase_included
2 #define iproc_TSyncProcessorCompBase_included
3 
4 
5 #include "ilog/TLoggerCompWrap.h"
6 
8 
9 #include "icomp/CComponentBase.h"
10 
11 
12 namespace iproc
13 {
14 
15 
19 template <class Base, class Interface = Base>
22  public iproc::TSyncProcessorWrap<Base>
23 {
24 public:
27  typedef Interface InterfaceType;
28 
29  I_BEGIN_BASE_COMPONENT(TSyncProcessorCompBase);
30  I_REGISTER_INTERFACE(Interface);
31  I_REGISTER_INTERFACE(iproc::IProcessor);
32  I_END_COMPONENT;
33 };
34 
35 
36 // global typedefs
37 
39 
40 
41 } // namespace iproc
42 
43 
44 #endif // !iproc_TSyncProcessorCompBase_included
45 
Simple definition macro for a synchronous processor.
ilog::CLoggerComponentBase BaseClass
TSyncProcessorCompBase< IProcessor > CSyncProcessorCompBase
Wrapper of iproc::IProcessor for simple synchrone processor implementations.
iproc::TSyncProcessorWrap< Base > BaseClass2
Interface for all synchrone and assynchrone processors with "push data" model.
Definition: IProcessor.h:24

© 2007-2011 Witold Gantzke and Kirill Lepskiy